:root {
  color-scheme: light;
  --ink: #171716;
  --ink-soft: #353331;
  --muted: #6b6762;
  --line: #dedbd4;
  --surface: #fbfaf6;
  --surface-soft: #efede7;
  --blue: #68b8e4;
  --blue-dark: #2d86b7;
  --blue-soft: #dff1fa;
  --craft: #bfc8bb;
  --shadow: 0 18px 45px rgba(23, 23, 22, 0.14);
  --radius: 8px;
  --title-font: "Great Vibes", "Segoe Script", cursive;
  --logo-pattern: url("assets/images/logo-pattern-mm.png?v=20260519-2");
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

.section-dark {
  color: var(--surface);
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: var(--blue);
}

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

h1,
h2,
h3 {
  font-family: var(--title-font);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 5.6rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.5rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px 36px;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(222, 219, 212, 0.95);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 3px;
  background: #1f1f1f;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--blue-soft);
  outline: none;
}

.header-call {
  justify-self: end;
  padding: 11px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 156px 0 74px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 54% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 23, 22, 0.94) 0%, rgba(23, 23, 22, 0.76) 42%, rgba(23, 23, 22, 0.24) 100%),
    linear-gradient(135deg, transparent 0 78%, rgba(104, 184, 228, 0.82) 78% 86%, transparent 86%),
    linear-gradient(0deg, rgba(23, 23, 22, 0.74) 0%, rgba(23, 23, 22, 0) 46%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: #eee9df;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.15;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: var(--ink);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(45, 134, 183, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #84c9ec;
}

.btn-ghost {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

.trust-strip span {
  padding: 9px 12px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-weight: 750;
}

.intro {
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 56px;
  align-items: start;
}

.intro-grid p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.highlights {
  padding-top: 0;
  background: var(--surface);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlight-grid article,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.highlight-grid article {
  padding: 28px;
}

.mini-icon,
.service-icon,
.contact-list span {
  display: inline-grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.mini-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
}

.mini-icon svg,
.service-icon svg,
.contact-list svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.highlight-grid p,
.service-card p,
.section-heading p,
.about-copy p,
.contact-copy p {
  color: var(--ink-soft);
}

.paint-brands {
  padding-top: 0;
  background: var(--surface);
  overflow: hidden;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--surface) 0, rgba(251, 250, 246, 0) 10%, rgba(251, 250, 246, 0) 90%, var(--surface) 100%),
    #fffefa;
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 20px 18px;
  animation: logo-scroll 34s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.brand-logo-card {
  display: inline-grid;
  place-items: center;
  width: 205px;
  height: 88px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23, 23, 22, 0.08);
}

.brand-logo-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 58px;
  object-fit: contain;
}

.brand-logo-card--tollens img {
  max-width: 84%;
  max-height: 36px;
}

.brand-logo-card--seigneurie {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.12);
}

.brand-logo-card--seigneurie img {
  max-width: 90%;
  max-height: 48px;
}

.brand-logo-card--sikkens img {
  max-width: 72%;
  max-height: 54px;
}

.brand-logo-card--zolpan img {
  max-width: 84%;
  max-height: 38px;
}

.brand-logo-card--dulux img {
  max-width: 68%;
  max-height: 62px;
}

.brand-logo-card--v33 img {
  max-width: 42%;
  max-height: 62px;
}

.brand-logo-card--ripolin img {
  max-width: 76%;
  max-height: 52px;
}

.brand-logo-card--guittet img {
  max-width: 76%;
  max-height: 42px;
  transform: scale(1.65);
}

@keyframes logo-scroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.about {
  background: var(--surface-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 58%;
  height: 58%;
  border: 8px solid var(--surface-soft);
  background: var(--blue);
  border-radius: var(--radius);
  z-index: 0;
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.values div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.values strong {
  color: var(--ink);
}

.values span {
  color: var(--ink-soft);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  padding: 28px;
  background: var(--surface);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card::before {
  z-index: 0;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: saturate(0.9) contrast(0.96);
}

.service-card::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.94), rgba(251, 250, 246, 0.82)),
    linear-gradient(135deg, transparent 0 80%, rgba(104, 184, 228, 0.34) 80%);
}

.service-demoussage,
.service-renovation,
.service-ravalement,
.service-metallerie,
.service-maconnerie,
.service-ratissage {
  --service-bg: url("assets/images/hero-chantier-1200.jpg");
}

.service-peinture,
.service-papier-peint,
.service-toile-verre,
.service-airless {
  --service-bg: url("assets/images/interieur-renovation-1200.jpg");
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #b9cfd9;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
}

.service-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--blue-dark);
  outline: none;
}

.gallery {
  background: var(--surface-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.gallery figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 23, 22, 0.12);
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(23, 23, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.gallery-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.before-after::after {
  content: "";
  position: absolute;
  inset: 0 50% 0 auto;
  width: 2px;
  background: rgba(255, 255, 255, 0.88);
}

.local-seo {
  background: var(--surface);
}

.local-seo-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.local-seo-grid > div:first-child {
  max-width: 620px;
}

.local-seo-list {
  display: grid;
  gap: 14px;
}

.local-seo-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(23, 23, 22, 0.08);
}

.local-seo-list h3 {
  margin-bottom: 8px;
}

.local-seo-list p {
  margin: 0;
  color: var(--ink-soft);
}

.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.service-area-tags li {
  padding: 8px 11px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(45, 134, 183, 0.18);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 850;
}

.local-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.local-faq article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.local-faq h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.local-faq p {
  margin: 0;
  color: var(--ink-soft);
}

.projects-page {
  background: var(--surface-soft);
}

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

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active {
  color: var(--ink);
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.project-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(23, 23, 22, 0.1);
}

.project-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 270px;
  background: var(--ink);
}

.project-photos img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.project-photos img:only-child {
  grid-column: 1 / -1;
}

.project-photos img:first-child:nth-last-child(2),
.project-photos img:first-child:nth-last-child(2) + img {
  grid-column: span 1;
}

.project-photos img:first-child:nth-last-child(2) {
  grid-column: span 2;
}

.project-content {
  padding: 26px;
}

.project-content span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-weight: 900;
}

.project-content h2 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.project-content p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.empty-state {
  padding: 28px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.project-photos .empty-state {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  margin: 0;
  color: #eee9df;
  background: transparent;
  border: 0;
}

.quote-band {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 23, 22, 0.98), rgba(41, 40, 38, 0.96)),
    var(--ink);
}

.quote-band::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(34vw, 360px);
  height: 100%;
  background: linear-gradient(135deg, var(--blue) 0 38%, transparent 38%);
  opacity: 0.95;
}

.quote-grid {
  position: relative;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.quote-grid h2 {
  margin-bottom: 0;
  font-size: 2.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--ink);
  min-width: 0;
}

.contact-list span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.contact-list strong {
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid #d5d1c8;
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(104, 184, 228, 0.24);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  padding: 58px 0 24px;
  color: #e6e0d6;
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.8fr));
  gap: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(251, 250, 246, 0.16);
}

.footer-logo {
  color: var(--surface);
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #cfc8bc;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--surface);
  font-size: 1rem;
}

.footer-column a,
.footer-column span {
  color: #cfc8bc;
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--blue);
  outline: none;
}

.footer-contact a:last-child {
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
}

.footer-contact .footer-admin-link {
  justify-self: start;
  margin-top: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
}

.footer-contact .footer-admin-link:hover,
.footer-contact .footer-admin-link:focus-visible {
  color: var(--ink);
  background: #84c9ec;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  color: #cfc8bc;
  font-size: 0.94rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--blue);
  font-weight: 800;
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--blue);
  border: 1px solid rgba(23, 23, 22, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(23, 23, 22, 0.22);
  font-weight: 950;
}

.floating-call svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.floating-call:hover,
.floating-call:focus-visible {
  background: #84c9ec;
  outline: none;
}

.legal-page {
  background: var(--surface-soft);
}

.legal-hero {
  padding: 150px 0 76px;
  background:
    linear-gradient(135deg, rgba(23, 23, 22, 0.98), rgba(41, 40, 38, 0.96)),
    var(--ink);
}

.legal-hero h1 {
  margin-bottom: 18px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #eee9df;
  font-size: 1.1rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 23, 22, 0.08);
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.legal-card p {
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-update {
  font-weight: 800;
}

.admin-page {
  background: var(--surface-soft);
}

.admin-shell {
  padding-top: 132px;
}

.admin-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
}

.admin-header h1 {
  margin-bottom: 10px;
  font-size: 3rem;
}

.admin-header p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-actions .btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.admin-panel,
.login-panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-panel {
  max-width: 520px;
  margin: 0 auto;
}

.admin-panel {
  margin-bottom: 22px;
}

.admin-panel h2,
.login-panel h1 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

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

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form textarea {
  min-height: 120px;
}

.admin-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-card h3 {
  margin-bottom: 0;
}

.admin-photo-grid,
.site-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-image-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-photo,
.site-image-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-photo img,
.site-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ink);
}

.admin-note,
.admin-message {
  padding: 12px 14px;
  border-radius: var(--radius);
}

.admin-note {
  color: var(--ink-soft);
  background: var(--blue-soft);
}

.admin-message {
  color: var(--ink);
  background: #d9f4df;
  border: 1px solid #a8dfb6;
  font-weight: 800;
}

.admin-error {
  color: #7f1d1d;
  background: #fde2e2;
  border-color: #f2aaaa;
}

.admin-danger {
  color: #fff;
  background: #9f1d1d;
  box-shadow: none;
}

.admin-danger:hover,
.admin-danger:focus-visible {
  background: #7f1d1d;
}

.admin-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-inline input[type="checkbox"] {
  width: auto;
}

body,
.intro,
.highlights,
.paint-brands,
.contact,
.local-seo,
.projects-page,
.legal-page,
.admin-page {
  background-color: var(--surface);
  background-image: var(--logo-pattern);
  background-repeat: repeat;
  background-size: 210px 210px;
  background-position: 28px 24px;
}

.about,
.gallery {
  background-color: var(--surface-soft);
  background-image: var(--logo-pattern);
  background-repeat: repeat;
  background-size: 230px 230px;
  background-position: 42px 34px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 16px;
    padding-inline: 20px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--ink);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.18s ease;
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition:
      transform 0.18s ease,
      opacity 0.18s ease;
  }

  .nav-toggle[aria-expanded="true"] {
    background: var(--blue);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 88px;
    right: 20px;
    left: auto;
    z-index: 30;
    display: grid;
    width: min(360px, calc(100% - 40px));
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    border-radius: var(--radius);
  }

  .header-call {
    display: none;
  }

  .intro-grid,
  .about-grid,
  .contact-grid,
  .local-seo-grid,
  .local-faq,
  .quote-grid,
  .footer-top,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .highlight-grid,
  .services-grid,
  .projects-grid,
  .admin-grid,
  .site-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery figure {
    min-height: 300px;
  }

  .quote-grid .btn {
    justify-self: start;
  }

  .quote-grid h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .quote-grid h2 {
    font-size: 2.25rem;
  }

  .container,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

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

  .brand small {
    display: none;
  }

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

  .hero {
    min-height: 88svh;
    padding-top: 130px;
  }

  .site-nav {
    top: 84px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(23, 23, 22, 0.96), rgba(23, 23, 22, 0.76)),
      linear-gradient(135deg, transparent 0 80%, rgba(104, 184, 228, 0.76) 80% 88%, transparent 88%),
      linear-gradient(0deg, rgba(23, 23, 22, 0.74), rgba(23, 23, 22, 0));
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions,
  .trust-strip {
    display: grid;
  }

  .hero-actions .btn,
  .trust-strip span {
    width: 100%;
  }

  .highlight-grid,
  .services-grid,
  .projects-grid,
  .admin-grid,
  .site-image-grid,
  .admin-photo-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .logo-track {
    gap: 12px;
    padding-block: 14px;
  }

  .brand-logo-card {
    width: 165px;
    height: 72px;
    padding: 8px 10px;
  }

  .brand-logo-card img {
    max-height: 46px;
  }

  .brand-logo-card--tollens img,
  .brand-logo-card--zolpan img {
    max-height: 30px;
  }

  .brand-logo-card--seigneurie img {
    max-height: 40px;
  }

  .brand-logo-card--sikkens img,
  .brand-logo-card--ripolin img {
    max-height: 42px;
  }

  .brand-logo-card--dulux img,
  .brand-logo-card--v33 img {
    max-height: 50px;
  }

  .brand-logo-card--guittet img {
    max-height: 34px;
    transform: scale(1.55);
  }

  .project-photos {
    min-height: 220px;
  }

  .project-photos img {
    min-height: 220px;
  }

  .admin-header {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-header h1 {
    font-size: 2.35rem;
  }

  .about-media::after {
    right: -10px;
    bottom: -10px;
    border-width: 6px;
  }

  .values div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-call {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 10px 12px;
  }
}
