/* ===========================================================
   Caborde Architectes — design issu de Figma
   =========================================================== */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-scrim: rgba(0, 0, 0, 0.4);
  --color-pill-bg: rgba(0, 0, 0, 0.01);
  --font-display: "Bebas Neue", sans-serif;
  --font-text: "Inter", sans-serif;

  --hero-width: 50%;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* -----------------------------------------------------------
   Page layout
   ----------------------------------------------------------- */

.page {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* -----------------------------------------------------------
   HERO (left column / top block on mobile)
   ----------------------------------------------------------- */

.hero {
  position: relative;
  width: var(--hero-width);
  min-height: 100vh;
  background: var(--color-black);
  overflow: hidden;
  flex-shrink: 0;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

/* flat dark scrim over the photos, matches the Figma mask overlay */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--color-scrim);
  pointer-events: none;
}

/* soft radial vignette centered on the logo/title area */
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 53%,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 8%;
  gap: clamp(1.5rem, 4vh, 3rem);
  text-align: center;
}

.hero__logo {
  width: clamp(90px, 18vw, 198px);
  height: auto;
}

.hero__title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.375rem);
  line-height: 1.1;
  letter-spacing: 3px;
  color: var(--color-white);
  text-transform: none;
}

.hero__title p {
  margin: 0.35em 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.9375rem);
  line-height: 1.1;
  letter-spacing: 3px;
  color: var(--color-white);
}

.hero__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--color-pill-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  text-decoration: none;
  color: var(--color-white);
}

.hero__mail-icon {
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

.hero__contact span {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  white-space: nowrap;
}

/* -----------------------------------------------------------
   CONTENT (right column / bottom block on mobile)
   ----------------------------------------------------------- */

.content {
  width: calc(100% - var(--hero-width));
  display: flex;
  align-items: center;
  background: var(--color-white);
}

.content__inner {
  width: 80%;
  max-width: 640px;
  margin: 0 auto;
  padding: 8vh 100px;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 7vh, 4.5rem);
  box-sizing: content-box;
}

.content__intro {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.text-strong {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.1vw + 0.6rem, 1.125rem);
  line-height: 1.5;
  color: var(--color-black);
}

.text-regular {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(0.875rem, 0.9vw + 0.5rem, 1rem);
  line-height: 1.5;
  color: var(--color-black);
}

.content__partners {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.partner__name {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.125rem);
  line-height: 1.5;
  color: var(--color-black);
}

.partner__link {
  margin: 0;
}

.partner__link a {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.125rem);
  line-height: 1.5;
  text-decoration: none;
}

.partner__link a:hover {
  text-decoration: underline;
}

.credits{
  font-size: 0.7rem !important;
  color: #999 !important;
  position: absolute;
  bottom: 25px;
  right:25px;
  text-align: right;
}
.credits .partner__name{
  font-size: 0.7rem !important;
  color: #999 !important;
}

/* -----------------------------------------------------------
   Responsive: stacked layout on mobile
   ----------------------------------------------------------- */

@media (max-width: 1150px) {
  .page {
    flex-direction: column;
    min-height: 0;
  }
  
  .credits{
    position: relative;
    bottom: auto;
    right: auto;
    padding-top: 40px;
    text-align: left;
  }

  .hero {
    width: 100%;
    min-height: 0;
    aspect-ratio: 380 / 428;
  }

  .hero__content {
    padding: 8% 8%;
    gap: clamp(1rem, 4vh, 2rem);
  }

  .hero__contact {
    padding: 10px 20px;
  }

  .content {
    width: 100%;
  }

  .content__inner {
    max-width: 560px;
    padding: 3rem 6% 4rem;
    gap: 2.5rem;
  }
}

@media (max-width: 420px) {
  .hero__title h1 {
    letter-spacing: 2px;
  }
  .hero__title p {
    letter-spacing: 2px;
  }
}
