@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Bebas+Neue&display=swap');

/* RESET GLOBAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000000;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER FIXE */

.nav {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* LOGO NIAWAL DKR */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.brand-niawal {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-dkr {
  font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.brand .brand-niawal {
  font-size: 24px;
}

.brand .brand-dkr {
  font-size: 21px;
}

/* MENU DÉROULANT AVEC CINTRE */

.menu-dropdown {
  position: relative;
}

.hanger-button {
  width: 66px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
}

.hanger-button::-webkit-details-marker {
  display: none;
}

.hanger-icon {
  width: 62px;
  height: 46px;
  transition: transform 0.45s ease;
  transform-origin: 50% 42%;
}

.hanger-button:hover .hanger-icon {
  transform: rotate(10deg);
}

.hanger-hook,
.hanger-shoulders,
.hanger-bottom {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  z-index: 120;
}

.menu-panel a {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-panel a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.menu-dropdown:not([open]) .menu-panel {
  display: none;
}

.menu-dropdown[open] .hanger-icon {
  transform: rotate(10deg);
}

/* BOUTON LANGUE */

.lang-switch {
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 10px;
  border-radius: 999px;
}

.menu-panel .lang-switch {
  align-self: flex-start;
}

/* PAGE D’ACCUEIL */

.hero {
  min-height: 100vh;
  padding: 180px 40px 90px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
    #000000;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(36px, 5.8vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  color: rgba(255, 255, 255, 0.78);
}

/* CINTRES-LIENS INSTAGRAM / WHATSAPP */

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 50px;
}

.hanger-links {
  align-items: flex-start;
}

.hanger-link {
  position: relative;
  width: 450px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 72px 18px;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hanger-link:hover {
  transform: translateY(-3px);
}

.hanger-link-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hanger-link-hook,
.hanger-link-shoulder,
.hanger-link-bottom {
  fill: none;
  stroke: #ffffff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hanger-link span {
  position: relative;
  z-index: 2;
  max-width: 280px;
  transform: translateY(28px);
}

/* BOUTONS CLASSIQUES POUR AUTRES PAGES SI BESOIN */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.button-secondary {
  background: transparent;
  color: #ffffff;
}

/* LOGO INLINE DANS LE TEXTE */

.brand-inline {
  white-space: nowrap;
}

.brand-inline .brand-niawal {
  font-size: 0.95em;
}

.brand-inline .brand-dkr {
  font-size: 0.82em;
}

/* LOGO DANS LE FOOTER */

.brand-footer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  margin: 0 6px;
}

.brand-footer .brand-niawal {
  font-size: 18px;
}

.brand-footer .brand-dkr {
  font-size: 14px;
  margin-top: 1px;
}

/* FOOTER */

.footer {
  padding: 48px 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

/* PAGES INTERNES : NIAWAL, C’EST VOUS / YOU ARE NIAWAL */

.page-header {
  min-height: 72vh;
  padding: 180px 40px 80px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 30%),
    #000000;
}

.page-intro {
  max-width: 980px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.page-intro h1 {
  margin: 0 0 28px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(46px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.page-intro p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  color: rgba(255, 255, 255, 0.78);
}

/* MOSAÏQUE */

.mosaic-section {
  padding: 40px 40px 100px;
}

.mosaic-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.mosaic-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.mosaic-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.45s ease, filter 0.45s ease, opacity 0.45s ease;
}

.mosaic-tile:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.mosaic-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #000000;
}

.mosaic-placeholder span {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.mosaic-tile.wide {
  grid-column: span 2;
}

.mosaic-tile.tall {
  grid-row: span 2;
}

/* APPEL À CONTRIBUTION */

.callout-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 110px;
  text-align: center;
}

.callout-section h2 {
  margin: 0 0 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.callout-section p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.callout-section .hero-links {
  justify-content: center;
}

/* TABLETTE ET MOBILE */

@media (max-width: 900px) {
  .nav {
    padding: 16px 22px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    min-height: 100vh;
    padding: 150px 24px 70px;
    text-align: center;
  }

  .page-header {
    min-height: auto;
    padding: 150px 24px 64px;
    text-align: center;
  }

  .hero-content,
  .page-intro {
    max-width: 100%;
  }

  .hero p,
  .page-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-links {
    justify-content: center;
  }

  .hanger-links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .hanger-link {
    width: min(450px, 100%);
    height: 168px;
  }

  .menu-panel {
    right: 0;
    left: auto;
    transform: none;
    min-width: 260px;
    text-align: left;
  }

  .menu-panel a:hover {
    transform: none;
  }

  .mosaic-section {
    padding: 32px 24px 72px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    gap: 10px;
  }

  .callout-section {
    padding: 0 24px 80px;
  }

  .callout-section .hero-links {
    justify-content: center;
  }
}

/* PETITS ÉCRANS */

@media (max-width: 520px) {
  .nav {
    padding: 14px 18px;
  }

  .brand .brand-niawal,
  .brand-niawal {
    font-size: 22px;
  }

  .brand .brand-dkr,
  .brand-dkr {
    font-size: 16px;
  }

  .hanger-button {
    width: 58px;
    height: 48px;
  }

  .hanger-icon {
    width: 54px;
    height: 42px;
  }

  .menu-panel {
    right: 0;
    min-width: min(280px, calc(100vw - 36px));
  }

  .hero {
    padding: 140px 18px 62px;
  }

  .page-header {
    padding: 140px 18px 52px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.55;
  }

  .page-intro h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .page-intro p {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hanger-link {
  width: min(350px, 100%);
  height: 150px;
  padding: 48px 56px 22px;
  font-size: 10.5px;
  line-height: 1.25;
}

.hanger-link span {
  max-width: 190px;
  transform: translateY(18px);
}

  .button {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  .mosaic-section {
    padding: 24px 18px 64px;
  }

  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .mosaic-tile.wide,
  .mosaic-tile.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .callout-section {
    padding: 0 18px 72px;
  }

  .callout-section p {
    font-size: 17px;
    line-height: 1.55;
  }

  .footer {
    padding: 36px 24px;
  }

  .footer p {
    font-size: 13px;
    line-height: 1.6;
  }
}