:root {
  --navy: #0d1b2e;
  --white: #ffffff;
  --off-white: #f7f6f2;
  --gold: #c9a84c;
  --gold-dark: #a8873a;
  --text: #2c3a50;
  --muted: #6b7a8d;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(13, 27, 46, 0.12);
  --ease: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--gold);
}

/* navbar */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  transition:
    background var(--ease),
    box-shadow var(--ease);
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3em;
  letter-spacing: 0.08em;
}

.logo-main {
  color: var(--white);
}
.logo-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1em;
  position: relative;
  transition: color var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--ease),
    opacity var(--ease);
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*  hero */

.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-line {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 15px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 420px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition:
    background var(--ease),
    transform var(--ease);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.hero-image {
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/*  services  */

.services {
  padding: 100px 0;
  background: var(--off-white);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
}

.section-title.left {
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 27, 46, 0.18);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

/* à propos  */

.apropos {
  padding: 100px 0;
  background: var(--white);
}

.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.apropos-image {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.apropos-desc {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.stats-row {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/*  cta  */

.cta-section {
  padding: 72px 0;
  background: var(--off-white);
}

.cta-box {
  background: var(--white);
  border-radius: 12px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.cta-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* footer */

.footer {
  background: var(--navy);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.87rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.65;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.footer-nav a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  font-size: 1em;
  transition: color var(--ease);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
}

.footer-bottom .sep {
  margin: 0 8px;
  opacity: 0.4;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--ease);
}

.footer-bottom a:hover {
  opacity: 0.75;
}

/*  animations  */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2).fade-in {
  transition-delay: 0.1s;
}
.service-card:nth-child(3).fade-in {
  transition-delay: 0.2s;
}

/*  responsive  */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image {
    height: 280px;
  }
  .hero-line {
    margin: 0 auto 24px;
  }
  .hero-sub {
    margin: 0 auto 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .apropos-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 28px 24px 36px;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 190;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .services {
    padding: 64px 0;
  }
  .apropos {
    padding: 64px 0;
  }
  .stats-row {
    gap: 32px;
  }
}
