:root {
  --ink: #061b36;
  --muted: #647085;
  --paper: #f4f7fb;
  --panel: #fffdfa;
  --line: #dbe4ef;
  --accent: #0479e8;
  --accent-dark: #035fb5;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  transition: background 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  padding: 10px 12px;
  background: rgba(244, 247, 251, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: 0 16px 45px rgba(6, 27, 54, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.brand-image {
  overflow: hidden;
  width: 86px;
  height: 58px;
  justify-content: center;
  padding: 4px;
  /* background: rgba(255, 255, 255, 0.94); */
  border-radius: 8px;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header.is-scrolled .brand,
.site-footer .brand {
  color: var(--ink);
}

.brand-mark {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.brand-name {
  font-size: 0.93rem;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.site-nav a,
.nav-dropdown-button {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  color: #10243d;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a:hover,
.nav-dropdown.is-open .nav-dropdown-button,
.nav-dropdown-button:hover,
.site-nav a.is-active,
.nav-dropdown-button.is-active {
  background: #e6eef8;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(6, 27, 54, 0.14);
  transform: translateX(-50%);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
  gap: 2px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.9);
  transform: scale(1.03);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 27, 54, 0.82), rgba(6, 27, 54, 0.24) 58%, rgba(6, 27, 54, 0.45)),
    linear-gradient(0deg, rgba(6, 27, 54, 0.56), rgba(6, 27, 54, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34vh 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #cde7ff;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 7vw, 110px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 20px;
}

.feature-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  aspect-ratio: 1.2 / 1;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  padding: 42px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(6, 27, 54, 0.08);
}

.feature-text p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card,
.value-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-card {
  display: block;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(4, 121, 232, 0.34);
  box-shadow: 0 18px 50px rgba(6, 27, 54, 0.08);
  transform: translateY(-2px);
}

.service-card span {
  display: block;
  margin-bottom: 70px;
  color: var(--accent);
  font-weight: 900;
}

.service-card h3,
.value-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

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

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 0;
}

.value-card.dark {
  color: #fff;
  background: var(--ink);
}

.value-card.dark .section-kicker {
  color: #cde7ff;
}

.gallery {
  padding-top: 0;
}

.gallery-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.carousel {
  display: grid;
  grid-auto-columns: minmax(340px, 62%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-behavior: auto;
  scrollbar-width: thin;
}

.carousel-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.carousel-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
}

.carousel-card div {
  padding: 22px;
}

.carousel-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.contact-strip {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 20px auto 96px;
  padding: clamp(32px, 6vw, 70px);
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(6, 27, 54, 0.86);
  backdrop-filter: blur(10px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.contact-strip h2 {
  max-width: 680px;
}

.site-footer {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  grid-template-columns: 1fr auto auto;
  gap: 70px;
  align-items: start;
  margin: 0 auto 28px;
  padding: 54px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-image {
  width: 132px;
  height: 92px;
  background: #fff;
}

.site-footer div,
.site-footer address {
  display: grid;
  gap: 9px;
  font-size: 0.78rem;
  font-style: normal;
  text-transform: uppercase;
}

.site-footer address {
  text-transform: none;
}

@media (max-width: 860px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    padding: 10px 12px;
    background: rgba(244, 247, 251, 0.92);
    border-radius: 999px;
    backdrop-filter: blur(18px);
  }

  .site-header .brand {
    color: var(--ink);
  }

  .brand-mark {
    font-size: 2.4rem;
  }

  .brand-name {
    font-size: 0.76rem;
  }

  .brand-image {
    width: 72px;
    height: 48px;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 28px));
    padding: 10px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    border: 0;
    box-shadow: none;
    transform: none;
    background: #f3f7fc;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .nav-dropdown-button {
    width: 100%;
    padding: 14px 16px;
    text-align: left;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 210px;
  }

  .intro,
  .feature-band,
  .service-grid,
  .values,
  .contact-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-strip,
  .site-footer {
    display: grid;
  }

  .feature-text {
    padding: 28px;
  }

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

  .carousel {
    grid-auto-columns: minmax(280px, 86%);
  }

  .carousel-card img {
    height: 360px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    padding: 32px;
  }
}

.blank-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 40px;
  background: var(--paper);
}

body.service-template {
  background: #efeeec;
}

body.service-template .site-header {
  top: 46px;
}

.service-hero {
  min-height: 690px;
}

.service-hero .hero-image {
  object-position: center 52%;
  filter: grayscale(0.2) saturate(0.86);
  transform: none;
}

.service-hero .hero-overlay {
  background: rgba(0, 0, 0, 0.36);
}

.service-hero-content {
  display: grid;
  min-height: 690px;
  align-content: center;
  justify-items: center;
  padding: 126px 0 54px;
  text-align: center;
}

.service-hero-content h1 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(4rem, 8.8vw, 7.4rem);
  font-weight: 300;
  line-height: 1;
}

.service-hero-content .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.service-intro {
  width: min(calc(100% - 44px), 1210px);
  margin: 28px auto 0;
}

.service-intro-card {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 88px;
  align-items: center;
  min-height: 760px;
  padding: 104px 152px;
  border-radius: 8px;
  background: #fff;
}

.service-intro-card h2 {
  max-width: 390px;
  margin-bottom: 48px;
  color: #050505;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.05;
}

.service-dash {
  display: block;
  width: 30px;
  height: 8px;
  margin-bottom: 44px;
  border-radius: 999px;
  background: #cb6409;
}

.service-intro-card p {
  max-width: 388px;
  margin-bottom: 0;
  color: #1e1e1e;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.25;
}

.service-intro-card p + p {
  margin-top: 16px;
}

.service-intro-card img {
  width: 100%;
  height: 452px;
  object-fit: cover;
  border-radius: 8px;
}

.service-carousel-section {
  width: min(calc(100% - 44px), 1210px);
  margin: 0 auto;
  padding: 138px 0 92px;
}

.service-carousel-inner h2,
.service-realisations h2 {
  margin-bottom: 40px;
  color: #050505;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.compact-carousel {
  grid-auto-columns: minmax(280px, 30.6%);
  gap: 10px;
  padding-bottom: 12px;
}

.compact-carousel .carousel-card {
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.compact-carousel .carousel-card img {
  height: 300px;
  border-radius: 8px;
  cursor: default;
}

.compact-carousel .carousel-card div {
  display: none;
}

.service-carousel-copy {
  width: min(470px, 100%);
  margin: 26px auto 0;
  color: #101010;
}

.service-carousel-copy h3 {
  margin-bottom: 18px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.service-carousel-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.expertise-section {
  width: 100%;
  overflow: hidden;
  padding: 0 0 90px;
  background: #fff;
}

.expertise-section > h2 {
  width: min(calc(100% - 44px), 1210px);
  margin: 0 auto 40px;
  color: #050505;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
  white-space: normal;
  transform: none;
}

.expertise-panel {
  display: grid;
  width: min(calc(100% - 74px), 1130px);
  gap: 18px;
  margin: 0 auto;
  padding: 108px min(14vw, 320px) 118px;
  border-radius: 8px;
  color: #fff;
  background: #271c0f;
}

.expertise-accordion {
  display: grid;
  gap: 16px;
}

.expertise-item {
  display: grid;
  gap: 0;
}

.expertise-tab {
  position: relative;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 7px 44px 7px 22px;
  color: #2b2218;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.expertise-tab:hover {
  color: #fff;
  background: #a84e05;
  transform: translateX(4px);
}

.expertise-tab::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: #cb6409;
  font-weight: 800;
  transform: translateY(-50%);
}

.expertise-item.is-active .expertise-tab {
  color: #fff;
  background: #c95f07;
  font-weight: 800;
}

.expertise-item.is-active .expertise-tab:hover {
  background: #d66a0a;
}

.expertise-item.is-active .expertise-tab::after {
  content: "-";
  color: #fff;
}

.expertise-copy {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.82);
  transition: grid-template-rows 220ms ease, padding 220ms ease;
}

.expertise-copy p {
  overflow: hidden;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.expertise-item.is-active .expertise-copy {
  grid-template-rows: 1fr;
  padding-top: 14px;
  padding-bottom: 18px;
}

.service-realisations {
  width: min(calc(100% - 44px), 1210px);
  margin: 0 auto;
  padding: 82px 0 70px;
}

.service-realisation-grid {
  display: grid;
  grid-template-columns: 1fr 1.9fr 1fr;
  gap: 10px;
}

.service-realisation-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.service-realisation-grid img:nth-child(4),
.service-realisation-grid img:nth-child(5),
.service-realisation-grid img:nth-child(6) {
  height: 268px;
}

/* Contact : panneau et carte de la maquette. */
body.contact-template {
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5.55vw, 114px);
  width: 82%;
  max-width: 1680px;
  margin: max(120px, 6.667vw) auto 10.6vw;
  padding: clamp(48px, 5vw, 102px);
  border-radius: clamp(24px, 1.67vw, 34px);
  color: #fff;
  background: #171a1c;
}

.contact-hero { min-width: 0; }

.contact-page .section-kicker {
  margin: 0 0 clamp(24px, 1.67vw, 34px);
  font-size: clamp(12px, .94vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .14em;
  color: #2465b5;
}

.contact-hero .section-kicker {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #8db6e6;
}

.contact-hero .section-kicker::before {
  content: "";
  width: clamp(30px, 2.22vw, 45px);
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.contact-hero h1 {
  margin: 0 0 clamp(24px, 1.7vw, 35px);
  color: #fff;
  font-size: clamp(44px, 4.17vw, 85px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.contact-hero > p:last-child {
  margin: 0;
  color: #b9bec3;
  font-size: clamp(18px, 1.3vw, 27px);
  line-height: 1.6;
  letter-spacing: -.025em;
}

.contact-layout { min-width: 0; }

.contact-action {
  padding: clamp(30px, 2.5vw, 51px);
  border-radius: clamp(18px, 1.25vw, 26px);
  background: #fff;
  color: #171a1c;
}

.contact-action .section-kicker { margin-bottom: clamp(20px, 1.45vw, 30px); }

.contact-action h2 {
  margin: 0 0 clamp(22px, 1.45vw, 30px);
  font-size: clamp(25px, 1.875vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.contact-action p:not(.section-kicker) {
  margin: 0 0 clamp(20px, 1.45vw, 30px);
  color: #656a72;
  font-size: clamp(15px, 1.04vw, 22px);
  line-height: 1.6;
  letter-spacing: -.02em;
}

.contact-checklist {
  display: grid;
  gap: clamp(12px, .78vw, 16px);
  margin: 0 0 clamp(28px, 2.1vw, 43px);
  padding: 0;
  list-style: none;
  font-size: clamp(15px, 1.04vw, 22px);
  line-height: 1.4;
  letter-spacing: -.025em;
  color: #35393d;
}

.contact-checklist li { display: flex; align-items: baseline; gap: 12px; }
.contact-checklist li::before { content: "✓"; flex: none; color: #2465b5; font-weight: 700; }

.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.contact-action .button {
  min-height: clamp(48px, 3.33vw, 68px);
  padding: 12px clamp(24px, 1.95vw, 40px);
  background: #2461ad;
  font-size: clamp(15px, 1.04vw, 22px);
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}
.contact-action .button:hover { background: #194e91; }
.contact-email { font-size: clamp(15px, 1.04vw, 22px); text-decoration: underline; text-underline-offset: 2px; }
.contact-actions a:focus-visible { outline: 3px solid #8db6e6; outline-offset: 5px; }

.about-page {
  background: var(--paper);
}

.about-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
}

.about-hero-image,
.about-hero-overlay {
  position: absolute;
  inset: 0;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 27, 54, 0.86), rgba(6, 27, 54, 0.34) 62%),
    linear-gradient(0deg, rgba(6, 27, 54, 0.42), rgba(6, 27, 54, 0.08));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 210px 0 90px;
}

.about-hero-content h1 {
  max-width: 880px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.04;
}

.about-hero-content p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.about-stats {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -58px auto 0;
  position: relative;
  z-index: 2;
}

.about-stats div,
.about-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(6, 27, 54, 0.08);
}

.about-stats div {
  padding: 28px;
}

.about-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.about-stats span {
  color: var(--muted);
  font-weight: 800;
}

.about-intro .button {
  justify-self: start;
}

.about-section-title {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.05;
}

.about-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(28px, 5vw, 64px);
}

.about-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.about-list li {
  padding-left: 6px;
}

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

.about-step-grid,
.about-columns {
  display: grid;
  gap: 14px;
}

.about-step-grid {
  grid-template-columns: repeat(5, 1fr);
}

.about-step-grid div,
.about-columns p {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.about-step-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 900;
}

.about-step-grid h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.1;
}

.about-step-grid p,
.about-columns p {
  color: var(--muted);
}

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

@media (max-width: 860px) {
  .service-intro-card {
    grid-template-columns: 1fr;
  }

  .service-intro-card img {
    height: 320px;
  }

  .compact-carousel {
    grid-auto-columns: minmax(260px, 82%);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding-top: 120px;
  }

  .about-hero {
    min-height: 680px;
  }

  .about-hero-content {
    padding-top: 170px;
  }

  .about-stats,
  .about-panel,
  .about-domains .service-grid,
  .about-step-grid,
  .about-columns {
    grid-template-columns: 1fr;
  }

  .about-stats {
    margin-top: -34px;
  }
}

@media (max-width: 700px) {
  body.service-template .site-header {
    top: 14px;
  }

  .service-hero {
    min-height: 520px;
  }

  .service-hero-content {
    min-height: 520px;
    padding: 150px 0 56px;
  }

  .service-hero-content h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .service-intro,
  .service-carousel-section,
  .service-realisations {
    width: min(calc(100% - 28px), 520px);
  }

  .service-intro {
    margin-top: 14px;
  }

  .service-intro-card {
    gap: 34px;
    min-height: 0;
    padding: 34px 24px 28px;
  }

  .service-intro-card h2 {
    max-width: none;
    margin-bottom: 28px;
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    line-height: 1.02;
  }

  .service-dash {
    margin-bottom: 26px;
  }

  .service-intro-card p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.32;
  }

  .service-intro-card img {
    height: 260px;
  }

  .service-carousel-section {
    padding: 58px 0 58px;
  }

  .compact-carousel {
    grid-auto-columns: minmax(240px, 82%);
  }

  .compact-carousel .carousel-card img {
    height: 220px;
  }

  .service-carousel-copy {
    margin-right: 0;
    margin-left: 0;
  }

  .expertise-section {
    padding-bottom: 58px;
  }

  .expertise-section > h2 {
    width: min(calc(100% - 28px), 520px);
  }

  .expertise-panel {
    width: min(calc(100% - 28px), 520px);
    padding: 34px 20px;
  }

  .expertise-tab {
    min-height: 42px;
    padding: 10px 42px 10px 18px;
    font-size: 0.86rem;
    line-height: 1.15;
  }

  .expertise-tab:hover {
    transform: none;
  }

  .expertise-copy {
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-realisations {
    padding: 58px 0 52px;
  }

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

  .service-realisation-grid img,
  .service-realisation-grid img:nth-child(4),
  .service-realisation-grid img:nth-child(5),
  .service-realisation-grid img:nth-child(6) {
    height: 170px;
  }
}

@media (max-width: 560px) {
  .about-hero {
    min-height: 640px;
  }

  .about-hero-content {
    padding-top: 150px;
  }

  .about-hero-content p:not(.eyebrow) {
    font-size: 1rem;
  }

  .about-stats,
  .about-panel {
    width: min(calc(100% - 28px), 520px);
  }

  .about-stats div,
  .about-step-grid div,
  .about-columns p {
    padding: 22px;
  }

  .about-panel {
    padding: 26px;
  }
}

@media (max-width: 430px) {
  .service-intro-card {
    padding: 30px 18px 24px;
  }

  .service-intro-card h2 {
    font-size: 1.8rem;
  }

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

  .service-realisation-grid img,
  .service-realisation-grid img:nth-child(4),
  .service-realisation-grid img:nth-child(5),
  .service-realisation-grid img:nth-child(6) {
    height: 220px;
  }
}

/* Plus de présence pour les éléments du menu principal */
.site-nav > a,
.site-nav > .nav-dropdown > .nav-dropdown-button {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-nav > a:hover,
.site-nav > .nav-dropdown > .nav-dropdown-button:hover {
  background: #e6eef8;
  box-shadow: inset 0 -2px 0 #10243d;
}

.about-page .about-kicker-emphasis {
  font-size: 0.85rem;
}

/* Enchaînement en chevrons des cinq étapes de Notre méthode */
.about-steps .about-step-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.about-steps .about-step-grid > div {
  min-width: 0;
  padding: 28px 32px;
  border: 0;
  border-radius: 0;
  background: #dceafa;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}

.about-steps .about-step-grid > div:first-child {
  padding-left: 24px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #cbdff6;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.about-steps .about-step-grid > div:nth-child(2) { background: #d3e5f8; }
.about-steps .about-step-grid > div:nth-child(4) { background: #e4eefb; }
.about-steps .about-step-grid > div:last-child { background: #edf4fc; }

@media (max-width: 860px) {
  .about-steps .about-step-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-steps .about-step-grid > div {
    padding: 36px 24px 42px;
    clip-path: polygon(0 0, 50% 18px, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px));
  }

  .about-steps .about-step-grid > div:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px));
  }
}

/* Cartes Engagements en quinconce */
.about-columns.about-columns-staggered {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 48px;
}

.about-columns-staggered > p {
  min-width: 0;
}

.about-columns-staggered > p:nth-child(even) {
  transform: translateY(48px);
}

.about-columns-staggered > p > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .about-columns.about-columns-staggered {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
  }

  .about-columns-staggered > p:nth-child(even) {
    transform: none;
  }
}

/* Bloc RSE intégré à la section Engagements de l'accueil */
.values > .engagements-rse {
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 0;
}

.engagements-rse .section-kicker {
  color: #cde7ff;
}

/* Garanties sous le bloc RSE dans la section Engagements */
.values > .engagements-guarantees {
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 0;
}

/* Tirets de la page Terrasses : bleu de la charte */
.terraces-page .service-dash {
  background: var(--accent);
}

@media (max-width: 1000px) {
  .contact-page {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    max-width: 720px;
    gap: 40px;
    margin: 130px auto 60px;
    padding: 40px;
  }
  .contact-hero h1 { max-width: 560px; font-size: clamp(44px, 7vw, 64px); }
}

@media (max-width: 560px) {
  .contact-page { width: calc(100% - 28px); padding: 30px 20px; gap: 30px; border-radius: 24px; }
  .contact-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .contact-hero > p:last-child { font-size: 18px; }
  .contact-action { padding: 28px 22px; }
  .contact-action h2 { font-size: 26px; }
  .contact-actions { gap: 20px; }
  .contact-action .button { width: 100%; }
  .contact-email { overflow-wrap: anywhere; }
}

/* Titre d’accueil sur une ligne lorsque la largeur le permet. */
@media (min-width: 861px) {
  .hero-content .home-hero-title {
    max-width: none;
    font-size: calc(clamp(28px, 3.5vw, 49px) + 5pt);
    white-space: nowrap;
  }
}

/* Logo dans un carré aux coins arrondis. */
.site-header .brand-image {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.site-header .brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 860px) {
  .site-header .brand-image {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }
}

/* Même taille que « Notre savoir-faire » sur la page À propos. */
#realisations > .section-heading .section-kicker,
#services > .section-heading .section-kicker {
  font-size: 13.6px;
}

/* Libellés de l’accueil alignés sur Services et Réalisations. */
.section-kicker.home-kicker-emphasis {
  font-size: 13.6px;
}

/* Titres RSE, RGE, Garanties et Contact de l’accueil. */
h2.home-title-small,
h3.home-title-small {
  font-size: 21.6px;
}

/* Diagnostic : composition et cartes de la référence. */
.diagnostic-section {
  width: min(calc(100% - 40px), var(--max));
  padding: 72px 0;
  color: #171a1c;
}
.diagnostic-heading {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  align-items: end;
  gap: 100px;
  margin-bottom: 60px;
}
.diagnostic-heading .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #2461a5;
  font-size: 13.6px;
  letter-spacing: .14em;
}
.diagnostic-heading .section-kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}
.diagnostic-heading h2 {
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.diagnostic-intro {
  margin: 0;
  color: #595b5d;
  font-size: 18px;
  line-height: 1.6;
}
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.diagnostic-card {
  min-width: 0;
  padding: 30px;
  border-radius: 18px;
  background: #f4f1eb;
}
.diagnostic-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.diagnostic-number span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #2461a5;
  font-size: 15px;
  font-weight: 800;
}
.diagnostic-number::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dedbd5;
}
.diagnostic-card h3 {
  margin: 0 0 14px;
  font-size: 21.6px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.diagnostic-card p {
  margin: 0;
  color: #595b5d;
  font-size: 16px;
  line-height: 1.6;
}
.diagnostic-card-dark { background: #171a1e; color: #fff; }
.diagnostic-card-dark p { color: #bfc0c2; }
.diagnostic-card-dark .diagnostic-number span { background: #272c32; color: #92b9e8; }
.diagnostic-card-dark .diagnostic-number::after { background: #343940; }
@media (max-width: 1000px) {
  .diagnostic-heading { gap: 36px; }
  .diagnostic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .diagnostic-section { padding: 48px 0; }
  .diagnostic-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .diagnostic-card { padding: 28px; }
}

/* Présentation des terrasses et techniques de pose. */
.terrace-presentation {
  width: min(calc(100% - 44px), 1210px);
  margin: 28px auto 0;
  padding: 72px 0;
  color: #171a1c;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.terrace-presentation-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 88px;
}
.terrace-presentation-copy .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #2465b5;
  font-size: 13.6px;
  letter-spacing: .14em;
}
.terrace-presentation-copy .section-kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}
.terrace-presentation-copy h2 {
  margin-bottom: 26px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.terrace-presentation-copy > p:not(.section-kicker) {
  margin-bottom: 32px;
  color: #656a72;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -.025em;
}
.terrace-presentation-copy .button {
  min-height: 48px;
  padding: 12px 28px;
  background: #171a1c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}
.terrace-presentation-copy .button:hover { background: #30363b; }
.terrace-presentation-copy .button:focus-visible { outline: 3px solid #2465b5; outline-offset: 4px; }
.terrace-presentation-image {
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}
.terrace-techniques { margin-top: 88px; }
.terrace-techniques > h2 { margin-bottom: 12px; font-size: 21.6px; font-weight: 700; line-height: 1.25; }
.terrace-techniques > p { margin-bottom: 32px; color: #656a72; font-size: 16px; line-height: 1.6; }
.terrace-technique-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.terrace-technique-card { padding: 36px; border-radius: 16px; background: #f4f1eb; }
.terrace-technique-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 22px; border-radius: 12px; background: #fff; color: #2465b5; }
.terrace-technique-icon svg { width: 28px; height: 28px; }
.terrace-technique-card h3 { margin-bottom: 20px; font-size: 21.6px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.terrace-technique-card p { margin-bottom: 18px; color: #656a72; font-size: 16px; line-height: 1.65; }
.terrace-technique-card ul { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid #e1ddd5; list-style: none; }
.terrace-technique-card li { display: flex; gap: 12px; color: #35393d; font-size: 15px; line-height: 1.5; }
.terrace-technique-card li::before { content: "✓"; flex: none; color: #2465b5; font-weight: 700; }
@media (max-width: 1000px) {
  .terrace-presentation-top { gap: 36px; }
  .terrace-technique-card { padding: 28px; }
}
@media (max-width: 700px) {
  .terrace-presentation { width: calc(100% - 28px); padding: 40px 0; margin-top: 14px; }
  .terrace-presentation-top, .terrace-technique-grid { grid-template-columns: 1fr; }
  .terrace-presentation-copy h2 { font-size: 29.6px; }
  .terrace-presentation-image { aspect-ratio: 1.14; }
  .terrace-techniques { margin-top: 48px; }
}

/* Pourquoi choisir sa terrasse : photo et six critères. */
.terrace-benefits {
  width: min(calc(100% - 44px), 1210px);
  margin: 0 auto;
  padding: 72px 0 96px;
  color: #171a1c;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.terrace-benefits-heading { margin-bottom: 60px; }
.terrace-benefits-heading .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #2465b5;
  font-size: 13.6px;
  letter-spacing: .14em;
}
.terrace-benefits-heading .section-kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}
.terrace-benefits-heading h2 {
  max-width: 600px;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.terrace-benefits-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #656a72;
  font-size: 18px;
  line-height: 1.6;
}
.terrace-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, .675fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}
.terrace-benefits-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 16px;
}
.terrace-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.terrace-benefit-card {
  min-width: 0;
  padding: 28px;
  background: #f4f1eb;
  border-radius: 16px;
}
.terrace-benefit-number {
  display: block;
  margin-bottom: 12px;
  color: #2465b5;
  font-size: 13.6px;
  font-weight: 700;
  letter-spacing: .06em;
}
.terrace-benefit-card h3 {
  margin: 0 0 12px;
  font-size: 21.6px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.terrace-benefit-card p {
  margin: 0;
  color: #656a72;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 1000px) {
  .terrace-benefits-layout { gap: 24px; }
  .terrace-benefit-card { padding: 22px; }
}
@media (max-width: 700px) {
  .terrace-benefits { width: calc(100% - 28px); padding: 40px 0 56px; }
  .terrace-benefits-heading { margin-bottom: 32px; }
  .terrace-benefits-layout { grid-template-columns: 1fr; }
  .terrace-benefits-image { height: 360px; }
}
@media (max-width: 480px) {
  .terrace-benefits-grid { grid-template-columns: 1fr; }
}

/* Accordéons Terrasses : bleu de la charte au survol et à la sélection. */
.terraces-page .expertise-tab::after,
.waterproof-page .expertise-tab::after{
  color: var(--accent);
}
.terraces-page .expertise-tab:hover,
.waterproof-page .expertise-tab:hover{
  color: #fff;
  background: var(--accent-dark);
}
.terraces-page .expertise-item.is-active .expertise-tab,
.waterproof-page .expertise-item.is-active .expertise-tab{
  color: #fff;
  background: var(--accent);
}
.terraces-page .expertise-item.is-active .expertise-tab:hover,
.waterproof-page .expertise-item.is-active .expertise-tab:hover{
  background: var(--accent-dark);
}
.terraces-page .expertise-tab:hover::after,
.waterproof-page .expertise-tab:hover::after,
.terraces-page .expertise-item.is-active .expertise-tab::after,
.waterproof-page .expertise-item.is-active .expertise-tab::after{
  color: #fff;
}

/* Espace adapté au logo carré dans la capsule du menu. */
.site-header.is-scrolled {
  padding-left: 24px;
}
@media (max-width: 860px) {
  .site-header,
  .site-header.is-scrolled {
    padding-left: 20px;
  }
}

/* RSE : engagements environnementaux et sécurité. */
.values > .rse-panel {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  padding: 40px;
  border-radius: 18px;
  color: #061b36;
  background: linear-gradient(120deg, #fff 30%, #f1faff);
}
.rse-copy { position: relative; z-index: 1; width: 65%; }
.rse-panel .section-kicker { display: flex; align-items: center; gap: 12px; color: #061b36; }
.rse-panel .section-kicker::after { content: ""; width: 54px; height: 5px; background: #19bddb; }
.rse-panel h2 { margin-bottom: 18px; font-weight: 750; line-height: 1.2; }
.rse-panel h2 span { color: #0876b5; }
.rse-intro { max-width: 580px; margin-bottom: 26px; font-size: 16px; line-height: 1.55; }
.rse-intro::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 24px; background: #19bddb; }
.rse-commitments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rse-commitment { display: flex; align-items: start; gap: 12px; min-width: 0; }
.rse-commitment + .rse-commitment { padding-left: 14px; border-left: 1px solid #dde5ea; }
.rse-icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #059d19; background: #d9f9e7; }
.rse-icon svg { width: 30px; height: 30px; }
.rse-commitment h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.rse-commitment p { margin: 0; font-size: 14px; line-height: 1.4; }
.rse-visual { position: absolute; inset: 0 0 0 auto; width: 36%; background: url("../assets/images/realisations/rse-reference.jpg") right center / auto 100% no-repeat; }
@media (max-width: 1000px) {
  .rse-copy { width: 60%; }
  .rse-commitments { grid-template-columns: 1fr; gap: 18px; }
  .rse-commitment + .rse-commitment { padding-left: 0; border: 0; }
  .rse-visual { width: 36%; }
}
@media (max-width: 600px) {
  .values > .rse-panel { padding: 28px 24px 0; }
  .rse-copy { width: 100%; }
  .rse-visual { position: relative; width: calc(100% + 48px); height: 280px; margin: 24px -24px 0; background-size: auto 100%; }
}

/* Qualification RGE : composition claire et engagements illustrés. */
.values > .rge-panel {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 6px;
  padding: 40px;
  border-radius: 18px;
  color: #082448;
  background: linear-gradient(115deg, #fff, #f1faff);
}
.rge-copy { position: relative; z-index: 1; width: 61%; }
.rge-panel .section-kicker { display: flex; align-items: center; gap: 12px; color: #1655ad; }
.rge-panel .section-kicker::after { content: ""; width: 54px; height: 4px; background: #03a3db; }
.rge-panel h2 { margin-bottom: 18px; font-weight: 750; line-height: 1.2; }
.rge-panel h2 span { color: #0096cf; }
.rge-intro { margin: 0; font-size: 16px; line-height: 1.55; }
.rge-intro::after { content: ""; display: block; width: 78px; height: 4px; margin-top: 22px; background: #03a3db; }
.rge-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 39%;
  height: 290px;
  background: url("../assets/images/realisations/qualification-rge-reference.jpg") right top / auto 100% no-repeat;
}
.rge-commitments { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 940px; margin-top: 36px; }
.rge-commitment { display: flex; align-items: start; gap: 16px; min-width: 0; }
.rge-commitment + .rge-commitment { padding-left: 24px; border-left: 1px solid #d4eaf6; }
.rge-icon { display: grid; flex: none; width: 62px; height: 62px; place-items: center; border-radius: 50%; color: #008dcc; background: #e0f4fc; }
.rge-icon svg { width: 36px; height: 38px; }
.rge-commitment h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.rge-commitment p { margin: 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 1000px) {
  .rge-commitments { gap: 16px; }
  .rge-commitment { flex-direction: column; }
  .rge-commitment + .rge-commitment { padding-left: 16px; }
}
@media (max-width: 600px) {
  .values > .rge-panel { padding: 28px 24px; }
  .rge-copy { width: 100%; }
  .rge-visual { position: relative; width: 100%; height: 230px; margin-top: 18px; background-position: right top; }
  .rge-commitments { grid-template-columns: 1fr; margin-top: 24px; gap: 24px; }
  .rge-commitment { flex-direction: row; }
  .rge-commitment + .rge-commitment { padding: 0; border: 0; }
}

/* Garanties : titre et informations d’assurance en deux colonnes. */
.values > .guarantees-panel {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 6px;
  padding: 40px;
  border-radius: 18px;
  background: #fdfcf9;
  color: #07355b;
}
.guarantees-panel::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -100px;
  width: 150px;
  height: 320px;
  transform: rotate(45deg);
  background: linear-gradient(90deg, #e6f6fb 0 45%, transparent 45% 55%, #eef9fc 55%);
  pointer-events: none;
}
.guarantees-heading, .guarantees-content { position: relative; z-index: 1; }
.guarantees-heading { padding-right: 32px; border-right: 1px solid #d0e1e9; }
.guarantees-panel .section-kicker { display: flex; align-items: center; gap: 18px; color: #12ace5; }
.guarantees-panel .section-kicker::after { content: ""; width: 54px; height: 3px; background: #19b7e9; }
.guarantees-heading h2 { margin: 22px 0 0; font-weight: 750; line-height: 1.3; }
.guarantees-heading h2 span { color: #16b4ed; }
.guarantees-heading h2::after { content: ""; display: block; width: 80px; height: 3px; margin-top: 26px; background: #19b7e9; }
.guarantees-intro { display: flex; align-items: start; gap: 24px; margin-bottom: 24px; }
.guarantees-shield { flex: none; width: 46px; height: 50px; color: #21b6ec; }
.guarantees-intro p { margin: 0; font-size: 16px; line-height: 1.6; }
.guarantees-details { margin: 0; padding: 0; list-style: none; }
.guarantees-details li { display: flex; align-items: center; gap: 20px; padding: 18px 0; }
.guarantees-details li + li { border-top: 1px solid #d0e1e9; }
.guarantees-icon { display: grid; flex: none; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #dcf4fc; color: #075785; }
.guarantees-icon svg { width: 28px; height: 30px; }
.guarantees-details p { margin: 0; padding-left: 20px; border-left: 1px solid #d0e1e9; font-size: 15px; line-height: 1.6; color: #075785; }
@media (max-width: 700px) {
  .values > .guarantees-panel { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
  .guarantees-heading { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid #d0e1e9; }
  .guarantees-intro { gap: 16px; }
  .guarantees-details li { gap: 14px; }
  .guarantees-details p { padding-left: 14px; }
}

/* Logo RGE cadré indépendamment des textes de la référence. */
.rge-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 26px 24px;
  background: none;
  isolation: isolate;
}
.rge-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(125deg, transparent 40%, #e7f5fd 40% 53%, transparent 53%), linear-gradient(145deg, transparent 62%, #d7effc 62%);
}
.rge-logo {
  display: block;
  width: 190px;
  height: auto;
  max-width: 100%;
  overflow: hidden;
}
@media (max-width: 600px) {
  .rge-visual { justify-content: center; padding: 12px; height: 250px; }
}

/* Fond du logo fondu dans la carte, sans rectangle clair visible. */
.rge-visual { isolation: auto; }
.rge-visual::before { z-index: 0; }
.rge-logo {
  position: relative;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* Présentation Étanchéité et isolation. */
.waterproof-presentation .terrace-presentation-top { grid-template-columns: 1fr 1.12fr; gap: 72px; }
.waterproof-presentation .terrace-presentation-image { aspect-ratio: 4 / 3; }
.waterproof-audiences { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.waterproof-audiences li { padding: 10px 18px; border-radius: 999px; background: #f4f1eb; font-size: 15px; line-height: 1.4; }
.waterproof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 80px; }
.waterproof-card { padding: 32px; border-radius: 16px; background: #f4f1eb; }
.waterproof-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 18px; border-radius: 12px; background: #fff; color: #2465b5; }
.waterproof-icon svg { width: 26px; height: 26px; }
.waterproof-card h3 { margin: 0 0 18px; font-size: 21.6px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.waterproof-card p { margin: 0; color: #656a72; font-size: 16px; line-height: 1.65; }
.waterproof-card p + p { margin-top: 18px; }
.waterproof-card-dark { background: #171a1c; color: #fff; }
.waterproof-card-dark p { color: #b9bec3; }
.waterproof-card-dark .waterproof-icon { background: #262c32; color: #8db6e6; }
.waterproof-surfaces { margin-top: 80px; }
.waterproof-surfaces h2 { margin-bottom: 12px; font-size: 21.6px; line-height: 1.25; font-weight: 700; }
.waterproof-surfaces > p { margin-bottom: 24px; color: #656a72; font-size: 16px; line-height: 1.6; }
.waterproof-surfaces ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.waterproof-surfaces li { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid #e1dbd1; border-radius: 12px; font-size: 15px; line-height: 1.4; }
.waterproof-surfaces li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2465b5; }
@media (max-width: 1000px) {
  .waterproof-presentation .terrace-presentation-top { gap: 36px; }
  .waterproof-card { padding: 24px; }
}
@media (max-width: 700px) {
  .waterproof-presentation .terrace-presentation-top, .waterproof-grid { grid-template-columns: 1fr; }
  .waterproof-grid, .waterproof-surfaces { margin-top: 48px; }
}

/* Enjeux de l’étanchéité : six cartes et visuel de la référence. */
.waterproof-benefits-heading { max-width: 760px; }
.waterproof-benefits .terrace-benefits-heading h2 { max-width: 700px; }
.waterproof-benefits .terrace-benefits-heading > p:last-child { max-width: 760px; }
.waterproof-benefits-photo { display: block; overflow: hidden; align-self: stretch; }
.waterproof-benefit-dark { background: #171a1c; color: #fff; }
.waterproof-benefit-dark p { color: #b9bec3; }
.waterproof-benefit-dark .terrace-benefit-number { color: #8db6e6; }

/* Décalage léger de la carte Contact vers le bas. */
.contact-page {
  margin-top: max(210px, 10vw);
}
@media (max-width: 1000px) {
  .contact-page { margin-top: 190px; }
}
