:root {
  --ink: #171717;
  --muted: #5f6368;
  --line: #dedbd4;
  --paper: #fbfaf7;
  --white: #ffffff;
  --gold: #c9a43d;
  --green: #245c4f;
  --brick: #854d3b;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 48px);
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.top-bar a,
.site-footer a {
  text-decoration: none;
}

.top-bar a:hover,
nav a:hover,
nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--gold);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
}

.logo {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

nav a {
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2)),
    url("assets/epoxy-detail-marbre.jpg") center/cover;
  color: var(--white);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.04;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.hero p,
.page-hero p {
  max-width: 680px;
  font-size: 1.15rem;
}

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

.intro,
.content-section,
.gallery {
  padding: 70px 0;
}

.intro {
  max-width: 860px;
  text-align: center;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
  padding-top: 70px;
  padding-bottom: 70px;
}

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

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

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

.service-choice article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-choice p {
  min-height: 52px;
}

.card,
.project-card,
.cta-panel,
.cta-inline {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
}

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

.card a {
  color: var(--green);
  font-weight: 800;
}

.band {
  padding: 72px 0;
  background: #ece8df;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.check-list {
  padding-left: 1.2rem;
}

.check-list li {
  margin-bottom: 10px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

.btn.secondary {
  background: var(--white);
}

.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.cta-panel {
  max-width: 760px;
  margin: 70px auto;
  padding: clamp(24px, 5vw, 42px);
}

form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

label {
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  font: inherit;
}

.form-btn {
  margin-top: 10px;
}

.page-hero {
  padding: 88px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28)),
    var(--hero-image) center/cover;
}

.page-hero.kitchen {
  --hero-image: url("assets/comptoir-etabli-garage-epoxy.jpg");
  background-position: center 72%;
}

.page-hero.pricing {
  --hero-image: url("assets/epoxy-detail-marbre.jpg");
}

.page-hero.projects {
  --hero-image: url("assets/comptoir-etabli-garage-epoxy.jpg");
  background-position: center 72%;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--ink);
  color: var(--white);
}

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

.price-highlight {
  margin: 18px 0;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1.1;
}

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

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.project-card h2 {
  font-size: 1.25rem;
}

.cta-inline {
  margin: 0 auto 70px;
  padding: 32px;
  text-align: center;
}

.warranty-section {
  padding: 70px 0 0;
}

.warranty-card {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.warranty-card .eyebrow {
  color: var(--gold);
}

.warranty-card p {
  max-width: 850px;
}

.faq-section {
  padding: 70px 0 0;
}

.faq-section h2 {
  text-align: center;
}

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

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.faq-item p {
  margin: 0;
}

.site-footer {
  padding: 48px clamp(18px, 4vw, 48px) 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 6px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
}

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

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--gold);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-bottom {
  width: min(1120px, 100%);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

@media (max-width: 820px) {
  .top-bar,
  .nav-wrap {
    justify-content: center;
  }

  .nav-wrap,
  .split {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    display: grid;
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  .hero {
    min-height: 66vh;
  }

  .hero-content {
    margin: 0 auto;
  }

  .grid-3,
  .grid-2,
  .service-choice,
  .faq-grid,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .top-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  nav {
    gap: 8px 14px;
    font-size: 0.94rem;
  }

  .actions {
    display: grid;
  }
}
