:root {
  --navy: #08244a;
  --navy-dark: #03172f;
  --blue: #0f57b7;
  --orange: #ff5b14;
  --text: #10254b;
  --muted: #52637d;
  --soft: #f3f7fb;
  --border: #dbe4ef;
  --white: #ffffff;
  --shadow: 0 8px 22px rgba(8, 36, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 500;
}

h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}

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

.rp-container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.rp-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

.rp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1.5rem;
}

.rp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 500;
}

.rp-logo i {
  color: var(--blue);
  font-size: 1.7rem;
}

.rp-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.rp-nav a:not(.rp-btn):hover {
  color: var(--orange);
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 500;
  line-height: 1.2;
}

.rp-btn-primary {
  color: var(--white);
  background: var(--orange);
}

.rp-btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.86);
}

.rp-hero {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(3, 23, 47, 0.98) 0%, rgba(3, 23, 47, 0.86) 43%, rgba(3, 23, 47, 0.25) 100%),
    url("assets/hero-plomberie.png");
  background-position: center right;
  background-size: cover;
}

.rp-hero-content {
  padding: 5rem 0;
}

.rp-badge {
  display: inline-flex;
  margin-bottom: 1.4rem;
  padding: 0.42rem 0.75rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.9rem;
}

.rp-hero h1 {
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 7vw, 4.3rem);
}

.rp-hero p {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #eef5ff;
  font-size: 1.28rem;
  font-weight: 500;
}

.rp-actions,
.rp-trust,
.rp-contact-grid,
.rp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rp-actions {
  margin-bottom: 2rem;
}

.rp-trust {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--white);
  font-weight: 500;
}

.rp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rp-trust i {
  font-size: 1.35rem;
}

.rp-section {
  padding: 4rem 0;
}

.rp-section-soft {
  background: var(--soft);
}

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

.rp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.rp-service-card {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.3rem;
  align-items: center;
  padding: 1.5rem;
}

.rp-service-card i {
  color: var(--blue);
  font-size: 4rem;
}

.rp-service-card p,
.rp-service-card h3 {
  margin-bottom: 0;
}

.rp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.rp-steps article {
  position: relative;
}

.rp-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: -1rem;
  width: 2rem;
  border-top: 2px dashed var(--blue);
}

.rp-steps span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 500;
}

.rp-steps p {
  margin-bottom: 0;
}

.rp-about-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.rp-about img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.rp-about h2 {
  text-align: left;
}

.rp-signature {
  margin-bottom: 0;
  color: var(--text);
  font-style: italic;
}

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

.rp-testimonials article {
  padding: 1.5rem;
  text-align: center;
}

.rp-stars {
  margin-bottom: 0.75rem;
  color: #ffc400;
  letter-spacing: 0.1rem;
}

blockquote {
  margin: 0 0 1.2rem;
  color: var(--text);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
}

.rp-centered,
.rp-small {
  text-align: center;
}

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

.rp-city-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 500;
}

.rp-city-grid i {
  color: var(--blue);
}

.rp-small {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.rp-contact,
.rp-footer {
  color: var(--white);
  background: var(--navy);
}

.rp-contact {
  padding: 3rem 0;
}

.rp-contact h2 {
  color: var(--white);
}

.rp-contact-grid {
  justify-content: center;
}

.rp-contact-card {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: center;
  width: min(100%, 480px);
  padding: 1.5rem;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
}

.rp-phone-card {
  border-color: var(--orange);
}

.rp-contact-card i {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
  font-size: 2rem;
}

.rp-phone-card i {
  color: var(--white);
  background: var(--orange);
}

.rp-contact-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--white);
  font-size: 1.65rem;
}

.rp-contact-card p {
  margin-bottom: 0;
  color: #eef5ff;
}

.rp-contact-trust {
  justify-content: center;
  margin-top: 1.5rem;
}

.rp-footer {
  padding: 2rem 0;
  background: var(--navy-dark);
}

.rp-footer-inner {
  align-items: flex-end;
  justify-content: space-between;
}

.rp-footer p,
.rp-footer small,
.rp-footer a {
  color: #eef5ff;
}

.rp-footer p {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.rp-footer a {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .rp-header {
    position: static;
  }

  .rp-header-inner,
  .rp-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .rp-nav {
    width: 100%;
    gap: 0.9rem;
    padding-bottom: 1rem;
  }

  .rp-nav .rp-btn {
    width: 100%;
  }

  .rp-hero {
    min-height: auto;
    background-position: center;
  }

  .rp-service-grid,
  .rp-steps,
  .rp-about-grid,
  .rp-testimonials,
  .rp-city-grid {
    grid-template-columns: 1fr;
  }

  .rp-steps article::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .rp-hero-content,
  .rp-section {
    padding: 3rem 0;
  }

  .rp-actions .rp-btn,
  .rp-contact-card {
    width: 100%;
  }

  .rp-service-card,
  .rp-contact-card {
    grid-template-columns: 1fr;
  }
}
