/* === Durand Plomberie — Style Sheet === */

:root {
  --color-primary: #14365c;
  --color-on-primary: #ffffff;
  --color-heading: #14365c;
  --color-accent-text: #b4570b;
  --color-text: #1e2933;
  --color-text-light: #5a6773;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f6f9;
  --color-border: #dde4ec;
  --color-nav-bg: #14365c;
  --color-nav-text: #ffffff;
  --color-button: #f5b301;
  --color-button-text: #1b1300;
  --radius: 6px;
  --font-heading: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-heading);
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
a {
  color: inherit;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
section {
  padding: 4.5rem 0;
}
.section-alt {
  background: var(--color-bg-alt);
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 0.5rem;
}
.lead {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 40rem;
}

/* --- Navigation --- */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
}
.nav-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.9;
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* --- Hero --- */
.hero {
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 6rem 0 5rem;
}
.hero h1 {
  color: var(--color-on-primary);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: 1.2rem;
  max-width: 34rem;
  opacity: 0.92;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.button {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  background: var(--color-button);
  color: var(--color-button-text);
}
.button-ghost {
  background: transparent;
  color: var(--color-on-primary);
  border: 2px solid currentColor;
}

/* --- Cards & lists --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.card p {
  color: var(--color-text-light);
}
.price-list {
  list-style: none;
  margin-top: 2rem;
  max-width: 38rem;
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.price-list .item-name {
  font-weight: 600;
}
.price-list .item-detail {
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.price-list .item-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-heading);
  white-space: nowrap;
}
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.tag-list li {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-weight: 500;
}

/* --- Hours --- */
.hours-table {
  width: 100%;
  max-width: 30rem;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
}
.hours-table th {
  font-weight: 600;
  width: 40%;
}
.hours-table .closed {
  color: var(--color-text-light);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.contact-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* --- Footer --- */
footer {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  section {
    padding: 3.25rem 0;
  }
  .hero {
    padding: 4rem 0 3.5rem;
  }
}
