:root {
  color-scheme: dark;
  --ink: #0b0d0f;
  --ink-soft: #14181c;
  --panel: #1a1f24;
  --paper: #f5f6f7;
  --paper-strong: #ffffff;
  --text: #16191d;
  --muted: #6d737a;
  --line: #d8dce0;
  --orange: #ff8a1f;
  --orange-bright: #ff9f43;
  --blue: #4ab4f8;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #111;
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange), #ef6c00);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.09);
  color: #111;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name {
  color: #fff;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-name strong {
  color: var(--orange-bright);
  font-weight: 750;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #fff;
}

.header-call {
  display: grid;
  align-content: center;
  min-height: 88px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1.25;
}

.header-call span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.header-call strong {
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("souftech-renov-chantier.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 8, 10, 0.97) 0%, rgba(7, 9, 11, 0.87) 38%, rgba(7, 9, 11, 0.28) 70%, rgba(7, 9, 11, 0.2) 100%),
    linear-gradient(0deg, rgba(6, 8, 10, 0.44) 0%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 780px;
  align-items: center;
  padding-top: 105px;
  padding-bottom: 54px;
}

.hero-copy {
  width: min(760px, 70%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #5c6268;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow span {
  width: 30px;
  height: 3px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}

h1 em {
  color: var(--orange-bright);
  font-style: normal;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: #111;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-bright);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  font-weight: 650;
}

.hero-help {
  max-width: 590px;
  margin: 18px 0 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.hero-services {
  display: inline-block;
  color: #fff;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-proof span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.section-pad {
  padding: 112px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 100px;
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 780;
  letter-spacing: -0.06em;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p {
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  border-bottom: 2px solid var(--orange);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.text-link span {
  color: var(--orange);
  font-size: 20px;
}

.services {
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

.section-heading,
.projects-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 58px;
}

.section-heading > div,
.projects-top > div {
  max-width: 760px;
}

.section-heading > p,
.projects-top > p {
  max-width: 370px;
  margin-bottom: 6px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 32px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: color 220ms ease, background 220ms ease;
}

.service-card:hover {
  background: var(--ink-soft);
  color: #fff;
}

.service-card-featured {
  background: var(--orange);
}

.service-card-featured:hover {
  background: #ef7810;
  color: var(--text);
}

.service-number {
  display: block;
  margin-bottom: 70px;
  color: #94999e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card-featured .service-number {
  color: rgba(17, 17, 17, 0.55);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.66);
}

.service-card-featured p,
.service-card-featured:hover p {
  color: rgba(17, 17, 17, 0.7);
}

.service-line {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 5px;
  background: var(--orange);
  transform: translateX(72px);
  transition: transform 220ms ease;
}

.service-card:hover .service-line {
  transform: translateX(0);
}

.service-card-featured .service-line {
  background: #111;
}

.projects {
  background: var(--ink);
  color: #fff;
}

.section-kicker-light {
  color: var(--orange-bright);
}

.projects-top > p {
  color: rgba(255, 255, 255, 0.5);
}

.project-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-city {
  color: var(--orange-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-item h3 {
  margin-bottom: 8px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.project-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.54);
}

.project-tag {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.process {
  background: #e9ecef;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.process-title {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid #c7ccd1;
}

.process-steps li:last-child {
  border-bottom: 1px solid #c7ccd1;
}

.process-steps > li > span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.process-steps h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(120deg, rgba(255, 138, 31, 0.13), transparent 45%),
    var(--ink-soft);
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 90px;
  align-items: center;
}

.contact-copy p:last-child {
  max-width: 580px;
  margin-top: 26px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
}

.contact-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: padding 180ms ease, color 180ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  padding-right: 8px;
  color: var(--orange-bright);
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.contact-actions strong {
  font-size: 16px;
  overflow-wrap: anywhere;
  text-align: right;
}

.contact-actions .contact-main {
  margin-top: -1px;
  padding-inline: 18px;
  background: var(--orange);
  color: #111;
}

.contact-actions .contact-main:hover,
.contact-actions .contact-main:focus-visible {
  padding-right: 26px;
  color: #111;
}

.contact-actions .contact-main span {
  color: rgba(17, 17, 17, 0.64);
}

.site-footer {
  padding: 64px 0 26px;
  background: #080a0c;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.4fr;
  gap: 70px;
  padding-bottom: 58px;
}

.footer-brand p {
  margin: 16px 0 0 54px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-main address,
.footer-nav {
  display: grid;
  gap: 5px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 14px;
  font-style: normal;
}

.footer-nav {
  align-content: start;
}

.footer-nav a:hover,
.footer-main address a:hover {
  color: var(--orange-bright);
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.footer-bottom > p {
  margin-bottom: 0;
}

.legal {
  max-width: 640px;
  text-align: right;
}

.legal summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.legal-content {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.legal-content p {
  margin-bottom: 6px;
}

.mobile-contact {
  display: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hero-copy {
    width: 82%;
  }

  .intro-grid,
  .process-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-title {
    position: static;
  }

  .project-item {
    grid-template-columns: 140px 1fr;
  }

  .project-tag {
    grid-column: 2;
    width: max-content;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    position: absolute;
  }

  .header-inner {
    min-height: 76px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .header-call {
    min-height: 76px;
    padding-left: 10px;
  }

  .header-call span {
    display: none;
  }

  .header-call strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .hero,
  .hero-inner {
    min-height: 740px;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 8, 10, 0.97) 0%, rgba(6, 8, 10, 0.77) 72%, rgba(6, 8, 10, 0.45) 100%),
      linear-gradient(0deg, rgba(6, 8, 10, 0.65) 0%, transparent 50%);
  }

  .hero-inner {
    align-items: flex-end;
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 1.06;
  }

  .hero-lead {
    max-width: 94%;
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
  }

  .hero-proof {
    display: grid;
    gap: 6px;
    margin-top: 24px;
  }

  .section-pad {
    padding: 76px 0;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .intro-copy {
    font-size: 16px;
  }

  .section-heading,
  .projects-top {
    display: grid;
    gap: 22px;
    margin-bottom: 36px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 255px;
    padding: 26px;
  }

  .service-number {
    margin-bottom: 46px;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 28px 0;
  }

  .project-tag {
    grid-column: 1;
  }

  .process-steps li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .contact-actions a {
    display: grid;
    gap: 4px;
  }

  .contact-actions strong {
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    display: grid;
  }

  .legal {
    text-align: left;
  }

  .mobile-contact {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--orange);
    color: #111;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.2);
  }

  .mobile-contact a {
    display: grid;
    min-height: 66px;
    place-items: center;
    padding: 10px;
  }

  .mobile-contact .mobile-call {
    background: var(--ink-soft);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Photos du chantier : avant et après */
.bathroom-project { margin-bottom: 64px; }
.bathroom-heading { max-width: 800px; margin-bottom: 28px; }
.bathroom-heading .project-tag { display: inline-block; color: var(--orange-bright); font-size: .875rem; }
.bathroom-heading h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 20px 0 16px; letter-spacing: -.04em; }
.bathroom-heading p { color: #b9bec4; }
.bathroom-comparison, .bathroom-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bathroom-project figure { margin: 0; min-width: 0; }
.bathroom-project img { display: block; width: 100%; height: auto; background: var(--panel); }
.bathroom-comparison img { aspect-ratio: 3 / 4; object-fit: cover; }
.bathroom-project figcaption { padding: 12px 0; font-size: .9375rem; color: #d4d7db; }
.bathroom-comparison figcaption { color: var(--orange-bright); font-weight: 750; }
.bathroom-details { border-top: 1px solid #32373c; border-bottom: 1px solid #32373c; margin-top: 20px; }
.bathroom-details summary { padding: 20px 0; cursor: pointer; font-weight: 700; font-size: 1rem; }
.bathroom-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 20px; }
.bathroom-gallery img { aspect-ratio: 3 / 4; object-fit: cover; }
.bathroom-video-title { font-size: 1.5rem; margin: 36px 0 20px; }
.bathroom-videos { max-width: 820px; }
.bathroom-videos video { display: block; width: 100%; max-height: 620px; aspect-ratio: 9 / 16; background: #14181c; object-fit: contain; }
@media (max-width: 640px) {
 .bathroom-comparison { gap: 12px; }
 .bathroom-comparison figcaption { font-size: .875rem; }
 .bathroom-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
 .bathroom-videos { grid-template-columns: 1fr; gap: 20px; }
}
