@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --navy: #061b3b;
  --navy-2: #0a2d5c;
  --blue: #1859eb;
  --blue-light: #75a1ff;
  --gold: #e6a600;
  --ink: #071b36;
  --muted: #5d6c7e;
  --line: #dce5ef;
  --surface: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(6, 27, 59, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f8fafc;
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  color: var(--ink);
  background: transparent;
  isolation: isolate;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("maison-eclairee.webp") center 38% / cover no-repeat;
  opacity: 0.42;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.58) 48%, rgba(238, 244, 252, 0.42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(247, 249, 252, 0.3));
}

a {
  color: inherit;
}

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.topbar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(6, 27, 59, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 138px;
  height: 76px;
  object-fit: cover;
  object-position: 50% 47%;
}

.contact-card {
  min-width: 330px;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid rgba(6, 27, 59, 0.12);
  border-left: 4px solid var(--gold);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(6, 27, 59, 0.08);
}

.contact-title {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-details {
  display: grid;
  gap: 0.2rem;
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy);
  text-decoration: none;
}

.contact-details a:hover strong {
  color: var(--blue);
}

.contact-details strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  transition: color 160ms ease;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-size: 0.64rem;
  font-weight: 800;
}

.hero {
  min-height: 680px;
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.4rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow span {
  width: 2.2rem;
  height: 3px;
  background: var(--gold);
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.intro {
  max-width: 640px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.7;
}

.actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(6, 27, 59, 0.18);
}

.button-primary:hover {
  background: var(--navy-2);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
}

.service-line {
  margin-top: 3.2rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--navy-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-line span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.logo-card {
  width: min(330px, 78%);
  aspect-ratio: 0.94;
  padding: 1.4rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
}

.logo-card::before {
  content: "";
  width: 72px;
  height: 6px;
  position: absolute;
  top: -3px;
  left: 1.4rem;
  background: var(--gold);
}

.logo-card img {
  width: 100%;
  height: auto;
  align-self: center;
}

.card-label,
.card-location {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.card-location {
  align-self: flex-end;
  color: var(--navy);
}

.commitments {
  margin: 0 calc(clamp(1.25rem, 5vw, 5rem) * -1);
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
  color: white;
  background: var(--navy);
}

.section-kicker {
  color: var(--blue-light);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.commitment-grid article {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.commitment-grid span {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.commitment-grid h2 {
  margin: 0.8rem 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.commitment-grid p {
  max-width: 330px;
  margin: 0;
  color: #bdc9d9;
}

footer {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

footer span {
  color: var(--gold);
}

footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.4rem;
}

footer a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .hero-visual {
    min-height: 440px;
  }

  .commitment-grid {
    gap: 2rem;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 0 1.1rem;
  }

  .topbar {
    min-height: 90px;
  }

  .brand img {
    width: 116px;
    height: 62px;
  }

  .contact-card {
    min-width: 0;
    padding: 0.55rem 0.7rem;
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact-title {
    display: none;
  }

  .contact-details {
    gap: 0.05rem;
  }

  .contact-details strong {
    font-size: 0.72rem;
  }

  .contact-icon {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 3.2rem 0 4rem;
    gap: 3rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-line span:not(:last-child)::after {
    display: none;
  }

  .hero-visual {
    min-height: 430px;
  }

  .logo-card {
    width: min(350px, 94vw);
  }

  .commitments {
    margin: 0 -1.1rem;
    padding: 4rem 1.1rem;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer div {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
