:root {
  --sand: #e8ded2;
  --sand-light: #f8f4ef;
  --taupe: #b09b84;
  --taupe-dark: #8f7b67;
  --ink: #181513;
  --white: #ffffff;

  --shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  --radius: 28px;

  --topbar-height: 85px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--sand-light);
  color: var(--ink);
  line-height: 1.6;
  padding-top: var(--topbar-height);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================= */
/* GLOBAL */
/* ========================= */

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

section {
  padding: 110px 0;
  scroll-margin-top: var(--topbar-height);
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--taupe-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

h1,
h2 {
  font-family: Georgia, serif;
}

h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1;
  margin-bottom: 20px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 70px;
}

.section-heading p {
  max-width: 420px;
  font-size: 1.12rem;
  font-weight: 300;
  letter-spacing: 0.2px;
  line-height: 1.9;
  color: rgba(24,21,19,0.72);
  margin-top: 18px;
}

.section-heading p strong {
  color: var(--ink);
  font-weight: 500;
}

.section-heading > div:last-child {
  display: flex;
  justify-content: flex-start;
}

/* ========================= */
/* TOPBAR */
/* ========================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  height: var(--topbar-height);
  background: rgba(228, 220, 209, 0.92);
  backdrop-filter: blur(12px);
}

.topbar.scrolled {
  background: rgba(228,220,209,0.97);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

.brand img {
  width: 90px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  position: relative;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--taupe-dark);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--taupe);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 0;
}

.menu a.active::after {
  width: 100%;
}

.cta-small {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--taupe);
  background: var(--taupe);
  color: white;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s,
    border-color 0.3s;
}

.cta-small:hover {
  background: #8f7b67;
  border-color: #8f7b67;
  color: white;
  transform: translateY(-2px);
}

.cta-small::after {
  display: none;
}

.cta-small::after,
.cta-small:hover::after,
.cta-small.active::after {
  display: none;
}
/* ========================= */
/* HERO */
/* ========================= */

.hero {
  min-height: calc(100vh - var(--topbar-height));

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.25)
    ),
    url("../images/banner.png") center/cover no-repeat;

  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    rgba(248,244,239,0),
    rgba(248,244,239,0.70)
  );
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  position: relative;
  z-index: 2;
  color: white;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  max-width: 700px;
  margin-bottom: 28px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
}

.hero h1,
.hero p,
.eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.hero p {
  max-width: 650px;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.88);
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  transition: 0.3s;
  text-transform: none;
}

.btn-primary {
  background: white;
  color: black;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  color: white;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
}

/* ========================= */
/* SERVICES */
/* ========================= */

.services {
  background: var(--sand);
  margin-top: -1px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(176,155,132,0.08);
  
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.08);
}

.service-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.service-title i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 16px;
  color: var(--taupe-dark);
  transform: translateY(-1px);
}

.service-title h3 {
  margin: 0;
  line-height: 1.2;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card p {
  color: rgba(24,21,19,0.78);
  line-height: 1.8;
}

/* ========================= */
/* TARIFS */
/* ========================= */

.pricing {
  background: var(--sand-light);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-card.featured {
  background: var(--taupe);
  color: white;
  transform: translateY(-12px);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.price-card ul {
  list-style: none;
}

.price-card li {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 14px 0;

  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.price-card li:last-child {
  border-bottom: none;
}

.price-card span {
  color: rgba(24,21,19,0.72);
}

.price-card strong {
  white-space: nowrap;
}

.featured span {
  color: rgba(255,255,255,0.85);
}

.featured li {
  border-color: rgba(255,255,255,0.15);
}

/* ========================= */
/* GALERIE */
/* ========================= */

.gallery {
  background: var(--sand);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-strip img {
  width: 100%;
  height: 430px;
  object-fit: cover;

  border-radius: var(--radius);
  box-shadow: var(--shadow);

  transition: 0.4s;
}

.photo-strip img:hover {
  transform: scale(1.02);
}

/* ========================= */
/* CONTACT */
/* ========================= */

.contact-preview {
  background: linear-gradient(
    135deg,
    var(--sand-light),
    white
  );
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;

  overflow: hidden;
  border-radius: 36px;

  background: white;
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-content {
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 42px;
}

.contact-list a,
.contact-list > span {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
}

.contact-content h2 {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

.contact-list i {
  width: 18px;
  min-width: 18px;

  text-align: center;
  font-size: 15px;

  color: var(--taupe-dark);
}

.contact-list a:hover {
  color: var(--taupe-dark);
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  background: var(--ink);
  padding: 30px 0;
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  flex-wrap: wrap;
}

.footer a {
  transition: 0.3s;
}

.footer a:hover {
  color: white;
}

.back-top {
  display: flex;
  align-items: center;
  gap: 10px;

  transition: 0.3s;
}

.back-top i {
  font-size: 13px;
  transition: transform 0.3s;
}

.back-top:hover i {
  transform: translateY(-3px);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 980px) {

  .section-heading,
  .service-grid,
  .price-grid,
  .photo-strip,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .price-card.featured {
    transform: none;
  }

  .photo-strip img {
    height: 320px;
  }

  .contact-content {
    padding: 42px 28px;
  }
  
  .cta-small {
    display: none;
  }
}

@media (max-width: 768px) {

  .topbar {
    height: auto;
    padding: 18px 0;
  }

  .nav {
    flex-direction: column;
    gap: 20px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  section {
    padding: 85px 0;
  }
}

@media (max-width: 520px) {

  .hero h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .service-card,
  .price-card {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }
}