:root {
  --yellow: #ffc400;
  --yellow-dark: #d9a300;
  --black: #101112;
  --black-soft: #181a1d;
  --text: #191b1f;
  --muted: #5f646d;
  --bg: #ffffff;
  --soft: #f7f8fa;
  --border: #e2e5ea;
  --shadow: 0 14px 34px rgba(16, 17, 18, 0.13);
  --font: "Inter", sans-serif;
  --display: "Barlow Condensed", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 0 clamp(18px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(16, 17, 18, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand strong {
  color: var(--yellow-dark);
}

.brand small {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--black);
  background: var(--yellow);
  border: 6px solid var(--black);
  border-radius: 999px;
  font-size: 1.55rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 30px);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a {
  padding: 34px 0;
}

.main-nav .active {
  color: var(--yellow-dark);
  border-bottom: 4px solid var(--yellow);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav .nav-cta {
  padding: 0 28px;
  color: var(--black);
  background: var(--yellow);
  border: 0;
}

.button-yellow,
.button-light {
  color: var(--black);
  background: var(--yellow);
}

.button-dark {
  color: var(--black);
  border: 2px solid var(--black);
}

.button-outline {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  min-height: 560px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(16, 17, 18, 0.97) 0%, rgba(16, 17, 18, 0.92) 42%, rgba(16, 17, 18, 0.2) 68%),
    url("assets/hero-conduite.png") center right / cover no-repeat;
}

.hero-inner {
  display: grid;
  align-content: center;
  min-height: 560px;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.95;
}

.hero h1 span,
.section-side span,
.pricing-intro span,
.about span {
  color: var(--yellow);
}

.hero p {
  max-width: 540px;
  margin-bottom: 32px;
  font-size: 1.13rem;
  font-weight: 600;
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-points {
  margin-top: 54px;
}

.hero-points article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  max-width: 270px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-points i {
  color: var(--yellow);
  font-size: 3rem;
}

.hero-points h3,
.hero-points p {
  margin-bottom: 4px;
}

.section {
  padding: clamp(66px, 8vw, 104px) 0;
}

.permits-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.section-side span,
.pricing-intro span,
.about span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}

.section-side h2,
.pricing-intro h2,
.about h2,
.reviews h2,
.steps aside h2 {
  margin-bottom: 24px;
  color: var(--black);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 0.96;
}

.section-side h2::after,
.pricing-intro h2::after,
.about h2::after,
.reviews h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 20px;
  background: var(--yellow);
  content: "";
}

.permit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.permit-cards article {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 230px;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(16, 17, 18, 0.08);
}

.permit-cards i,
.about-features i {
  color: var(--yellow-dark);
  font-size: 2.7rem;
}

.permit-cards p,
.about-features p,
.steps article p {
  color: var(--muted);
}

.permit-cards a {
  font-weight: 800;
}

.center {
  grid-column: 2;
  text-align: center;
}

.pricing {
  padding: clamp(66px, 8vw, 100px) 0;
  color: #fff;
  background: var(--black);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  gap: 18px;
  align-items: center;
}

.pricing-intro h2,
.price-card.dark h3,
.price-card.dark strong {
  color: #fff;
}

.pricing-intro ul,
.price-card ul {
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.pricing-intro li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 800;
}

.pricing-intro i {
  color: var(--yellow);
  font-size: 1.8rem;
}

.price-card {
  position: relative;
  min-height: 390px;
  padding: 34px 28px;
  border-radius: 4px;
}

.price-card.dark {
  border: 1px solid rgba(255, 196, 0, 0.7);
}

.price-card.featured {
  color: var(--black);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card.featured > span {
  position: absolute;
  top: -18px;
  left: 50%;
  padding: 7px 18px;
  background: var(--yellow);
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.price-card h3 {
  color: var(--yellow);
  font-size: 1.6rem;
}

.price-card li {
  margin-bottom: 10px;
}

.price-card li::before {
  color: var(--yellow);
  content: "• ";
}

.price-card strong {
  display: block;
  margin: 30px 0 20px;
  font-size: 2.6rem;
}

.price-card small {
  font-size: 0.8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.about img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

.reviews {
  padding: clamp(58px, 7vw, 86px) 0;
  color: #fff;
  background: var(--black);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  gap: 26px;
  align-items: center;
}

.reviews h2 {
  color: #fff;
}

.reviews article {
  min-height: 168px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.reviews strong {
  color: var(--yellow);
}

.steps {
  padding: clamp(52px, 7vw, 80px) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr;
  gap: 36px;
  align-items: center;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps-list > p {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}

.steps article {
  position: relative;
  text-align: center;
}

.steps article span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 800;
}

.steps article i {
  font-size: 3.2rem;
}

.steps aside {
  padding: 34px;
  background: var(--yellow);
  border-radius: 6px;
}

.button-light {
  background: #fff;
}

.site-footer {
  padding: 54px 0 24px;
  color: #fff;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 5vw, 72px);
}

.footer-brand {
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  border-color: #fff;
}

.footer-grid nav,
.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid h3 {
  color: #fff;
}

.footer-grid i {
  margin-right: 10px;
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1120px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .main-nav a {
    padding: 8px 0;
  }

  .permits-grid,
  .pricing-grid,
  .about-grid,
  .reviews-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .permit-cards,
  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .center {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    background:
      linear-gradient(105deg, rgba(16, 17, 18, 0.97), rgba(16, 17, 18, 0.76)),
      url("assets/hero-conduite.png") center right / cover no-repeat;
  }

  .hero,
  .hero-inner {
    min-height: 640px;
  }

  .permits-grid,
  .pricing-grid,
  .about-grid,
  .reviews-grid,
  .steps-grid,
  .footer-grid,
  .permit-cards,
  .about-features,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
