:root {
  --cream: #fbf6eb;
  --cream-2: #f3eadc;
  --green: #1f3f26;
  --green-2: #2f5a36;
  --green-3: #6f815f;
  --brown: #b67b45;
  --text: #18251b;
  --muted: #657060;
  --line: rgba(31, 63, 38, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(52, 42, 25, 0.10);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1220px;
  --font: Inter, Avenir, Helvetica, Arial, sans-serif;
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* BOUTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--green);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 63, 38, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--white);
}

/* HEADER */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 28px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 150px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-weight: 750;
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.mobile-menu {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
  font-size: 22px;
}

/* HERO FULL WIDTH */

.locations-hero {
  position: relative;
  padding: 0;
  margin: 0;
}

.hero-card {
  position: relative;
  min-height: 690px;
  width: 100%;
  overflow: hidden;
  background: var(--cream-2);
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251, 246, 235, 0.98) 0%,
    rgba(251, 246, 235, 0.86) 28%,
    rgba(251, 246, 235, 0.34) 54%,
    rgba(251, 246, 235, 0) 100%
  );
  z-index: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(111, 129, 95, 0.15);
  filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: 110px;
  margin-left: clamp(60px, 8vw, 150px);
}

.hero-content h1 {
  color: var(--green);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
  margin-bottom: 24px;
}

.hero-content p {
  max-width: 560px;
  color: #26352a;
  font-size: 20px;
  font-weight: 620;
  margin-bottom: 34px;
}

.hero-features {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #18331e, #24512d);
  color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(31, 63, 38, 0.16);
}

.hero-feature {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-feature:last-child {
  border-right: 0;
}

.hero-feature span {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-feature p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
}

/* CONTENU */

.locations-content {
  padding: 54px 0 22px;
}

.locations-layout {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 18px;
  align-items: stretch;
}

.search-panel {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid #eadfce;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(70, 54, 34, 0.06);
}

.search-panel h2 {
  color: #253026;
  font-size: 18px;
  font-weight: 850;
  margin-bottom: 22px;
}

.search-form {
  display: grid;
  gap: 22px;
}

.search-field {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(31, 63, 38, 0.12);
  box-shadow: 0 10px 24px rgba(70, 54, 34, 0.05);
}

.search-field span {
  opacity: 0.7;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-weight: 650;
}

.search-field input::placeholder {
  color: rgba(101, 112, 96, 0.78);
}

.search-btn {
  width: 100%;
  border-radius: 10px;
}

.type-button {
  width: 100%;
  min-height: 48px;
  margin-top: 28px;
  border: 0;
  border-radius: 10px;
  background: rgba(244, 235, 218, 0.75);
  color: #253026;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.type-button span {
  color: var(--green);
  font-size: 20px;
}

.locations-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.place-card {
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 34px rgba(70, 54, 34, 0.06);
}

.place-image {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-badge {
  position: absolute;
  right: 14px;
  top: 28px;
  padding: 8px 14px;
  color: var(--white);
  background: #e22632;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  font-family: Georgia, serif;
}

.place-badge small {
  display: block;
  margin-top: 6px;
  font-family: var(--font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.place-content {
  padding: 20px 22px 18px;
}

.place-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.place-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 50%;
  background: #638b4f;
  color: var(--white);
  font-size: 24px;
}

.place-heading h2 {
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 4px;
}

.place-heading p {
  color: #29342b;
  font-size: 13px;
  font-weight: 650;
}

.place-infos {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0 18px;
  border-top: 1px solid rgba(31, 63, 38, 0.08);
}

.place-infos div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.place-infos span {
  color: var(--green);
  font-size: 15px;
}

.place-infos p {
  color: #253026;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.distance {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(244, 235, 218, 0.72);
  color: #a35d32;
  font-size: 14px;
  white-space: nowrap;
}

.place-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  padding-top: 4px;
}

.place-link span {
  font-size: 24px;
  font-weight: 500;
}

/* SUGGESTION */

.suggest-section {
  padding: 0 0 54px;
}

.suggest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 18px 28px;
  border-radius: 16px;
  border: 1px solid #eadfce;
  background:
    radial-gradient(circle at 10% 50%, rgba(111, 129, 95, 0.10), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(244, 235, 218, 0.76));
  box-shadow: 0 14px 34px rgba(70, 54, 34, 0.06);
}

.suggest-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.suggest-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 50%;
  border: 1px solid rgba(31, 63, 38, 0.16);
  background: rgba(255, 255, 255, 0.48);
  font-size: 24px;
}

.suggest-card h2 {
  color: #253026;
  font-size: 17px;
  font-weight: 900;
}

.suggest-card p {
  color: #253026;
  font-size: 16px;
  font-weight: 850;
}

/* FOOTER */

.footer {
  background:
    radial-gradient(circle at 10% 20%, rgba(111, 129, 95, 0.35), transparent 28%),
    linear-gradient(135deg, #18331e, #244a2b);
  color: var(--white);
  padding: 46px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1fr;
  gap: 54px;
  padding-bottom: 32px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-img {
  width: 130px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 190px;
  font-weight: 650;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 48px;
}

.footer h3 {
  font-size: 17px;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* RESPONSIVE TABLETTE */

@media (max-width: 1050px) {
  .site-header {
    position: relative;
    background: var(--cream);
    padding: 18px 0;
  }

  .nav-links,
  .site-header .nav-cta {
    display: none;
  }

  .mobile-menu {
    display: grid;
    place-items: center;
  }

  .hero-card {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 70px;
    margin-left: 0;
  }

  .hero-card::before {
    background: linear-gradient(
      90deg,
      rgba(251, 246, 235, 0.98) 0%,
      rgba(251, 246, 235, 0.88) 55%,
      rgba(251, 246, 235, 0.55) 100%
    );
  }

  .locations-layout {
    grid-template-columns: 1fr;
  }

  .locations-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .logo-img {
    width: 120px;
  }

  .footer-brand .logo-img {
    width: 110px;
  }

  .hero-card {
    min-height: auto;
    padding: 56px 0 70px;
  }

  .hero-bg {
    opacity: 0.32;
  }

  .hero-card::before {
    background: rgba(251, 246, 235, 0.9);
  }

  .hero-content {
    padding-top: 0;
    margin-left: 0;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-features {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-feature {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .hero-feature:nth-child(2n) {
    border-right: 0;
  }

  .locations-content {
    padding-top: 34px;
  }

  .locations-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .place-image {
    height: 190px;
  }

  .place-infos {
    grid-template-columns: 1fr;
  }

  .place-infos div {
    justify-content: flex-start;
  }

  .distance {
    width: fit-content;
  }

  .suggest-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .suggest-card .btn {
    width: 100%;
  }

  .footer-col {
    border-left: 0;
    padding-left: 0;
  }
}

.socials img {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}