@font-face {
  font-family: "Holiday";
  src: url("./fonts/HolidayFree.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Palette demandée */
  --coral: #f26b76;
  --coral-soft: #d99a9f;
  --ink: #1c2124;
  --navy: #252f31;
  /* Déclinaison pour dégradés (entre slate et clair) */
  --navy-soft: #323b3e;
  --paper: #f7f3f4;
  --white: #ffffff;
  --line: #e3d4d6;
  --muted: #5c6366;
  --rgb-ink: 28, 33, 36;
  --rgb-navy: 37, 47, 49;
  --rgb-accent: 242, 107, 118;
  --rgb-dust: 217, 154, 159;
  --shadow: 0 18px 50px rgba(var(--rgb-ink), 0.14);
  --radius-lg: 1.15rem;
  --radius-md: 0.95rem;
  --space-inline: max(1rem, env(safe-area-inset-left, 0px));
  --space-inline-end: max(1rem, env(safe-area-inset-right, 0px));
  --section-y: clamp(2.75rem, 8vw, 5rem);
  --touch-min: 2.75rem;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-logo: "Holiday", Georgia, "Times New Roman", serif;
  --font-logo-sub: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.service-cover-img,
.gallery-photo,
.gallery--3x2 .gallery-photo {
  max-width: none;
}

.muted {
  color: var(--muted);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--space-inline);
  padding-right: var(--space-inline-end);
  width: 100%;
  box-sizing: border-box;
}

.topbar {
  background: linear-gradient(90deg, rgba(28, 33, 36, 0.98), rgba(37, 47, 49, 0.98));
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.topbar-inner p {
  margin: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  row-gap: 0.25rem;
  justify-content: flex-end;
  text-align: right;
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-image {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #ebe6e8;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text small {
  font-family: var(--font-logo-sub);
  margin-top: 0.25rem;
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  padding: 0.7rem 1rem;
  min-height: var(--touch-min);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(120deg, var(--coral), var(--coral-soft));
  box-shadow: 0 10px 22px rgba(var(--rgb-accent), 0.25);
  border: 1px solid rgba(var(--rgb-accent), 0.35);
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--rgb-accent), 0.32);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  margin: -0.25rem -0.35rem -0.25rem 0;
  padding: 0.25rem 0.35rem;
  border-radius: 0.5rem;
  align-items: center;
  justify-content: center;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 900px);
  padding: clamp(3.5rem, 10vw, 6rem) 0 max(2.5rem, env(safe-area-inset-bottom, 0px));
  background-color: var(--navy);
  background-image:
    linear-gradient(
      105deg,
      rgba(var(--rgb-ink), 0.93) 0%,
      rgba(var(--rgb-ink), 0.82) 28%,
      rgba(var(--rgb-ink), 0.58) 55%,
      rgba(var(--rgb-ink), 0.4) 100%
    ),
    var(--hero-bg, url("./images/hero/hero-chantier.png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: end;
}

.hero-content {
  padding-bottom: 0.25rem;
}

.badge--on-dark {
  background: transparent;
  color: #f0f4f7;
  border-color: rgba(255, 255, 255, 0.45);
  font-weight: 800;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.hero .hero-content h1 {
  color: #ffffff;
  max-width: min(22ch, 100%);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.55);
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead--on-dark {
  color: #ffffff;
  font-weight: 500;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-proof--on-dark {
  color: #ffffff;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 1px 4px rgba(0, 0, 0, 0.65);
}

.hero-proof--on-dark strong {
  color: #ffffff;
  font-weight: 800;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.75);
}

.badge {
  display: inline-block;
  background: rgba(var(--rgb-navy), 0.08);
  
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.17;
  font-family: var(--font-sans);
}

h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
}

h1 {
  margin: 0.9rem 0 1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-proof {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.15rem;
  min-height: var(--touch-min);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: var(--white);
  padding: 0.7rem 1rem;
  font-weight: 900;
  background: linear-gradient(120deg, var(--coral), var(--coral-soft));
  border: 1px solid rgba(var(--rgb-accent), 0.35);
  box-shadow: 0 10px 22px rgba(var(--rgb-accent), 0.25);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--rgb-accent), 0.32);
}

.btn-light {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.btn-light:hover {
  border-color: var(--coral-soft);
  background: var(--white);
}

.btn-contrast {
  width: 100%;
  padding: 0.7rem 1rem;
  text-align: center;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(120deg, var(--coral), var(--coral-soft));
  border-color: rgba(var(--rgb-accent), 0.35);
  box-shadow: 0 10px 22px rgba(var(--rgb-accent), 0.25);
  white-space: nowrap;
}

.btn-contrast:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--rgb-accent), 0.32);
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
  box-shadow: 0 10px 22px rgba(var(--rgb-accent), 0.18);
}

.hero-card {
  background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 100%);
  color: #e8ecee;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
}

.hero-card--banner {
  background: linear-gradient(
    160deg,
    rgba(var(--rgb-ink), 0.94) 0%,
    rgba(var(--rgb-navy), 0.95) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  max-width: 420px;
  margin-left: auto;
}

.hero-card h2 {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1rem;
}

.hero-card li {
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-mini-cta {
  margin-top: 1.1rem;
}

.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: linear-gradient(180deg, #efe8ea 0%, var(--paper) 100%);
}

.section-intro {
  color: var(--muted);
  margin: 0 0 1.8rem;
}

.why {
  background-color: var(--white);
}

#partenaires {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(var(--rgb-navy), 0.92), rgba(var(--rgb-navy), 0.82)),
    url("./images/partenaires/partenaires-background.png") center / cover no-repeat;
  color: var(--white);
}

#partenaires > .container {
  position: relative;
  z-index: 1;
}

#partenaires::before,
#partenaires::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(1.5rem, 10vw, 1rem);
  pointer-events: none;
}

#partenaires::before {
  top: 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.78) 40%,
    rgba(255, 255, 255, 0) 100%
  );
}

#partenaires::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.78) 34%,
    rgba(255, 255, 255, 0) 100%
  );
}

#partenaires h2,
#partenaires .section-intro,
#partenaires .partners-seo {
  color: var(--white);
}

#partenaires .section-intro,
#partenaires .partners-seo {
  opacity: 0.92;
}

#partenaires .partners-seo strong {
  color: var(--white);
}

#avis {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.9)),
    url("./images/avis/avis-background.png") center / cover no-repeat;
}

#avis > .container {
  position: relative;
  z-index: 1;
}

#avis::before,
#avis::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(3.5rem, 9vw, 6.5rem);
  pointer-events: none;
}

#avis::before {
  top: 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 38%,
    rgba(255, 255, 255, 0) 100%
  );
}

#avis::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 38%,
    rgba(255, 255, 255, 0) 100%
  );
}

.partners-seo,
.contact-seo {
  margin: -0.85rem 0 1.5rem;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink);
}

.contact-seo {
  margin: 0 0 1.15rem;
}

.partners-seo strong,
.contact-seo strong {
  color: var(--ink);
  font-weight: 700;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.review-card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(var(--rgb-ink), 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}

.review-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink);
}

.review-card blockquote p {
  margin: 0;
}

.review-stars {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #d4a012;
  line-height: 1;
}

.review-stars[aria-hidden="true"] {
  user-select: none;
}

.review-meta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
}

.review-meta cite {
  font-style: normal;
  font-weight: 800;
  color: var(--navy);
}

.review-meta .review-source {
  font-weight: 600;
}

.review-meta .review-date {
  font-weight: 500;
}

.reviews-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(var(--rgb-navy), 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
}

.reviews-empty code {
  font-size: 0.88em;
}

.reviews-cta-wrap {
  margin: 0;
  text-align: center;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

#services.is-gallery-open .section-intro,
#services.is-gallery-open .service-grid {
  display: none;
}

#services.is-gallery-transitioning .section-intro,
#services.is-gallery-transitioning .service-grid {
  pointer-events: none;
  animation: servicesPushRight 0.32s ease forwards;
}

#services.is-gallery-closing .section-intro,
#services.is-gallery-closing .service-grid {
  pointer-events: none;
  animation: servicesReturnFromRight 0.32s ease both;
}

@keyframes servicesPushRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(3rem);
  }
}

@keyframes servicesReturnFromRight {
  from {
    opacity: 0;
    transform: translateX(3rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(var(--rgb-ink), 0.06);
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(220px, 320px) 1fr;
}

.service-media {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(var(--rgb-navy), 0.1);
}

.service-media--photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: inherit;
  text-align: left;
}

.service-media--photo:focus {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.service-media--photo:focus:not(:focus-visible) {
  outline: none;
}

.service-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-media--photo:hover .service-cover-img {
  transform: scale(1.05);
}

.service-media-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0.75rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(var(--rgb-ink), 0.82));
  pointer-events: none;
}

.service-body {
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-body h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

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

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: var(--touch-min);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--rgb-accent), 0.35);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(120deg, var(--coral), var(--coral-soft));
  box-shadow: 0 10px 22px rgba(var(--rgb-accent), 0.25);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.service-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--rgb-accent), 0.32);
}

.card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(var(--rgb-ink), 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
}

.card-link:hover {
  text-decoration: underline;
}



.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.why-card {
  border: 1px solid rgba(var(--rgb-navy), 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  background:
    radial-gradient(circle at 30% 12%, rgba(var(--rgb-accent), 0.14), transparent 58%),
    linear-gradient(140deg, rgba(var(--rgb-navy), 0.04), rgba(var(--rgb-navy), 0.015));
}

.why-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.why-point {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 12%, rgba(var(--rgb-accent), 0.14), transparent 58%),
    linear-gradient(140deg, rgba(var(--rgb-navy), 0.04), rgba(var(--rgb-navy), 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem 1rem;
  box-shadow: 0 8px 18px rgba(var(--rgb-ink), 0.05);
}

.why-point::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.64)),
    var(--why-point-bg, none) center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.why-point--preparation {
  --why-point-bg: url("./images/methode/preparation.png");
  background: rgba(255, 255, 255, 0.92);
}

.why-point--finition {
  --why-point-bg: url("./images/methode/finition.png");
  background: rgba(255, 255, 255, 0.92);
}

.why-point--proprete {
  --why-point-bg: url("./images/methode/proprete.png");
  background: rgba(255, 255, 255, 0.92);
}

.why-point--transparence {
  --why-point-bg: url("./images/methode/transparence.png");
  background: rgba(255, 255, 255, 0.92);
}

.why-point--preparation::before,
.why-point--finition::before,
.why-point--proprete::before,
.why-point--transparence::before {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    var(--why-point-bg, none) center / cover no-repeat;
}

.why-point--preparation h3,
.why-point--preparation p,
.why-point--finition h3,
.why-point--finition p,
.why-point--proprete h3,
.why-point--proprete p,
.why-point--transparence h3,
.why-point--transparence p {
  position: relative;
  z-index: 1;
}

.why-point--preparation h3,
.why-point--finition h3,
.why-point--proprete h3,
.why-point--transparence h3 {
  color: var(--ink-panel);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.why-point--preparation p,
.why-point--finition p,
.why-point--proprete p,
.why-point--transparence p {
  color: var(--ink);
  font-weight: 600;
}

.why-point h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.why-point p {
  margin: 0;
  color: var(--muted);
}

.contact-coords {
  margin-top: 1.2rem;
  border: 1px solid rgba(var(--rgb-navy), 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.9);
}

.contact-coords h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.contact-coords ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.cta-band {
  margin-top: 1.4rem;
  padding: 1.2rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--rgb-navy), 0.12);
  background:
    radial-gradient(circle at 20% 10%, rgba(var(--rgb-accent), 0.16), transparent 48%),
    linear-gradient(140deg, rgba(var(--rgb-navy), 0.04), rgba(var(--rgb-navy), 0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band p {
  margin: 0;
}

.cta-band-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery--full {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.gallery--3x2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

.gallery--3x2 .gallery-photo,
.gallery--3x2 .gallery-placeholder-3x2 {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery--3x2 .gallery-item figcaption {
  font-size: 0.88rem;
  margin-top: 0.45rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.gallery-below-grid {
  position: relative;
  margin-top: 1.75rem;
  padding: 1.35rem 1.2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--paper) 0%, #ffffff 45%);
  box-shadow: 0 10px 28px rgba(var(--rgb-ink), 0.07);
  scroll-margin-top: calc(8rem + env(safe-area-inset-top, 0px));
}

.gallery-below-grid:not([hidden]) {
  animation: galleryPushIn 0.34s ease both;
}

.gallery-below-grid.is-closing {
  pointer-events: none;
  animation: galleryPushOut 0.32s ease both;
}

@keyframes galleryPushIn {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes galleryPushOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-2rem);
  }
}

.gallery-panel-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(var(--rgb-navy), 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(var(--rgb-ink), 0.08);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.gallery-panel-close:hover {
  background: var(--coral);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.05);
}

.gallery-panel-close:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.gallery-below-grid .gallery-photo {
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox-scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(var(--rgb-ink), 0.88);
  cursor: pointer;
  appearance: none;
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1120px, 96vw);
  max-height: min(92dvh, 920px);
  padding-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(28, 33, 36, 0.92);
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: var(--coral);
  transform: scale(1.05);
}

.gallery-lightbox-close:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.gallery-lightbox-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(78dvh, 800px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-caption {
  margin: 0;
  max-width: 56ch;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-lightbox-caption:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  #services.is-gallery-transitioning .section-intro,
  #services.is-gallery-transitioning .service-grid,
  #services.is-gallery-closing .section-intro,
  #services.is-gallery-closing .service-grid,
  .gallery-below-grid:not([hidden]),
  .gallery-below-grid.is-closing {
    animation: none;
  }

  .gallery-panel-close:hover,
  .gallery-lightbox-close:hover {
    transform: none;
  }
}

.gallery-service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  align-items: center;
  margin: 0 0 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(var(--rgb-navy), 0.1);
}

.gallery-service-tab {
  border: 0;
  background: none;
  padding: 0.45rem 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 0.2s ease;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

.gallery-service-tab:hover {
  color: var(--navy);
}

.gallery-service-tab.is-active {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
}

.gallery-below-kicker {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gallery-below-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.gallery-placeholder-3x2 {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.inline-code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 0.35rem;
  background: rgba(var(--rgb-navy), 0.07);
  color: var(--navy);
}

.gallery-item {
  margin: 0;
}

.gallery-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--rgb-navy), 0.12);
  box-shadow: 0 8px 18px rgba(var(--rgb-ink), 0.08);
  display: block;
}

.placeholder {
  height: 240px;
  background:
    linear-gradient(145deg, rgba(var(--rgb-navy), 0.96), rgba(var(--rgb-ink), 0.92)),
    linear-gradient(145deg, var(--navy), var(--navy-soft));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.gallery-item figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.about {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

#apropos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.70)),
    url("./images/apropos/apropos-background.png") right center / min(58rem, 82vw) auto no-repeat,
    #ffffff;
}

#apropos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 40%, rgba(var(--rgb-accent), 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(var(--rgb-dust), 0.08));
  pointer-events: none;
}

#apropos > .container {
  position: relative;
  z-index: 1;
}

.zones {
  margin-top: 1.35rem;
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--rgb-navy), 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.zones h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.zones-list {
  margin: 0;
  padding-left: 0;
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  list-style: none;
}

.zones-dept {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(var(--rgb-navy), 0.1);
  color: var(--ink-panel);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.zones-dept:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}



.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
  min-height: 210px;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.partner-card p {
  margin: 0;
  color: var(--ink-panel);
}

.partner-logo {
  width: min(260px, 90%);
  height: 72px;
  object-fit: contain;
  display: block;
}

.checks-wrap {
  align-self: center;
}

.checks-hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checks-item {
  margin: 0;
  padding: 0.85rem 1rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff 0%, rgba(var(--rgb-dust), 0.06) 100%);
  box-shadow: 0 4px 14px rgba(var(--rgb-ink), 0.04);
  cursor: default;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}

.checks-item:hover,
.checks-item:focus-within {
  border-color: rgba(var(--rgb-accent), 0.45);
  box-shadow:
    0 8px 22px rgba(var(--rgb-ink), 0.07),
    0 0 0 1px rgba(var(--rgb-accent), 0.12);
  transform: translateY(-2px);
  background: linear-gradient(165deg, #ffffff 0%, rgba(var(--rgb-accent), 0.07) 100%);
}

.checks-item:focus {
  outline: none;
}

.checks-item:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.checks-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.checks-mark {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(145deg, var(--coral), var(--coral-soft));
  box-shadow: 0 2px 8px rgba(var(--rgb-accent), 0.35);
}

.checks-title {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.checks-detail {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    margin-top 0.28s ease,
    padding-top 0.28s ease;
}

.checks-item:hover .checks-detail,
.checks-item:focus-within .checks-detail {
  max-height: 12rem;
  opacity: 1;
  margin-top: 0.55rem;
  padding-top: 0.05rem;
}

@media (prefers-reduced-motion: reduce) {
  .checks-item,
  .checks-detail {
    transition: none;
  }

  .checks-item:hover,
  .checks-item:focus-within {
    transform: none;
  }

  .checks-item:hover .checks-detail,
  .checks-item:focus-within .checks-detail {
    max-height: none;
    opacity: 1;
    margin-top: 0.55rem;
    padding-top: 0.05rem;
  }
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 2rem;
}

#contact {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(255, 255, 255, 0.78) 100%),
    url("./images/hero/contact-background.png") center / cover no-repeat;
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--rgb-accent), 0.11), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(var(--rgb-dust), 0.12));
  pointer-events: none;
}

#contact::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(4rem, 12vw, 8rem);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 26%,
    rgba(255, 255, 255, 0.55) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.contact-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem;
  display: grid;
  gap: 0.65rem;
  box-shadow: 0 10px 24px rgba(var(--rgb-ink), 0.05);
  backdrop-filter: blur(8px);
}

label {
  font-weight: 700;
  font-size: 0.93rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background-color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(var(--rgb-accent), 0.26);
  border-color: var(--coral);
}

.input-file {
  padding: 0.55rem 0.65rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.form-hint {
  margin: -0.25rem 0 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-conditional {
  display: grid;
  gap: 0.65rem;
}

.form-message {
  min-height: 1.1rem;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.form-message[data-state="success"] {
  color: #166534;
}

.form-message[data-state="error"] {
  color: #b91c1c;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 960px) {
  .hero-inner,
  .cards,
  .service-grid,
  .about,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: stretch;
  }

  .gallery--3x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .hero {
    padding-top: 4.5rem;
    min-height: min(92vh, 820px);
  }

  .hero-card--banner {
    max-width: none;
    margin-left: 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .why-points {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 0.65rem 0.85rem;
    min-width: min(220px, calc(100vw - 2rem));
    max-width: calc(100vw - var(--space-inline) - var(--space-inline-end));
    box-shadow: var(--shadow);
    display: none;
    z-index: 110;
    align-items: stretch;
  }

  .nav a {
    padding: 0.65rem 0.35rem;
    border-radius: 0.45rem;
  }

  .nav a::after {
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .logo-image {
    width: 52px;
    height: 52px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.55rem 0;
    gap: 0.35rem;
  }

  .topbar-links {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
  }

  .zones-list {
    grid-template-columns: 1fr;
  }

  .gallery--3x2 {
    grid-template-columns: 1fr;
  }

  .gallery--3x2 .gallery-photo,
  .gallery--3x2 .gallery-placeholder-3x2 {
    height: 220px;
  }
}

main > section[id] {
  scroll-margin-top: calc(8rem + env(safe-area-inset-top, 0px));
}

@media (max-width: 640px) {
  input:not([type="file"]):not([type="hidden"]),
  textarea,
  select {
    font-size: 1rem;
    min-height: 2.75rem;
  }

  .input-file {
    min-height: auto;
    padding: 0.65rem 0.75rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-card h2 {
    font-size: 1.35rem;
  }

  .partner-card {
    min-height: auto;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-y: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero {
    min-height: min(100vh, 780px);
    min-height: min(100svh, 780px);
    padding-top: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-inner {
    align-items: stretch;
  }

  .hero .hero-content h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
  }

  h1 {
    max-width: none;
  }

  .topbar-inner {
    font-size: 0.85rem;
  }

  .section-intro {
    font-size: 0.98rem;
  }

  .gallery-below-grid {
    padding: 1rem 0.9rem 1.15rem;
  }

  .gallery-service-nav {
    gap: 0.35rem 0.85rem;
  }

  .cta-band-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cta-band-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }

  .hero-inner {
    gap: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-contrast:hover,
  .btn-light:hover,
  .header-cta:hover,
  .service-link:hover,
  .partner-card:hover,
  .service-media--photo:hover .service-cover-img {
    transform: none;
  }
}
