/* ============================================
   Moi, MENA dans les médias — Accueil
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Beth+Ellen&family=Kalam:wght@300;400;700&family=Loved+by+the+King&family=Ma+Shan+Zheng&family=Rock+Salt&family=Special+Elite&display=swap');
:root {
  /* Palette */
  --paper: #f3eadf;
  --paper-deep: #ece0d1;
  --ink: #191712;
  --ink-soft: #4a463f;

  --purple: #6448be;
  --purple-deep: #4f37a0;
  --purple-line: #7a5fd0;

  --pink: #d6467e;
  --teal: #1e9e86;
  --orange: #e37a34;

  --navy: #26467c;
  --navy-deep: #1a3260;
  --navy-line: rgba(255, 255, 255, 0.28);

  /* Type */
  --font-display: 'Space Grotesk', 'Arial Black', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-cursive: 'Kalam', cursive;
  --font-cursive2: 'Loved by the King', cursive;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-hand: 'Caveat', cursive;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-full: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover { background: var(--purple-deep); }

.btn-small { padding: 11px 22px; font-size: 12px; }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-outline--light {
  border-color: var(--navy-line);
  color: #fff;
}
.btn-outline--light:hover { background: #fff; color: var(--navy-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid rgba(25, 23, 18, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 0.86;
  margin-right: auto;
}
.logo-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mena{
  font-family: "Kalam", cursive;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin-top: 3px;
  margin-left: 7%;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-top: 6px;
}

.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.main-nav a:hover { border-color: var(--purple); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 0;
  overflow: hidden;
  background-image: url("/assets/image_hero2.png");
  background-repeat: no-repeat;
  background-position-x: 80%;
  background-size:51%
}

.hero-inner {
  display: grid;
grid-template-columns: 0.6fr 1.2fr;
  align-items: center;
  gap: 24px;
}

.hero-text h1 {
  margin: 0 0 22px;
  font-family: "Special Elite", system-ui;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.hero-line { display: block; }
.hero-line--ink { color: var(--ink); }
.hero-line--purple {
  color: var(--purple);
  position: relative;
}

.hero-desc {
  max-width: 380px;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 30px;
}

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: auto;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section--faisons { padding-top: 30px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--ink);
  margin: 0 0 44px;
}
.section-title--center {
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.squiggle {
  width: 170px;
  height: 14px;
  color: var(--purple);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-head .section-title { margin: 0; }

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 18px;
}
.feature-icon svg { width: 30px; height: 30px; }

.feature-icon--purple { background: linear-gradient(145deg, var(--purple), var(--purple-deep)); }
.feature-icon--pink { background: linear-gradient(145deg, #e2568c, var(--pink)); }
.feature-icon--teal { background: linear-gradient(145deg, #24b399, var(--teal)); }
.feature-icon--orange { background: linear-gradient(145deg, #ee8b4c, var(--orange)); }

.feature h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}
.feature p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Productions grid ---------- */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.prod-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
}
.prod-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card:hover img { transform: scale(1.04); }

.prod-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.86) 100%);
}

.prod-play {
  position: absolute;
  top: 44%;
  right: 18px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.prod-play svg { width: 18px; height: 18px; }

.prod-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}
.prod-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.prod-title {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
}

/* ---------- MENA definition (cold section) ---------- */

.section--mena {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-top: 96px;
  padding-bottom: 0;
  margin-top: 40px;
}

.jagged-edge {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(
    0% 100%, 3% 30%, 6% 90%, 9% 10%, 12% 70%, 15% 20%, 18% 100%,
    21% 40%, 24% 85%, 27% 0%, 30% 60%, 33% 100%, 36% 30%, 39% 80%,
    42% 15%, 45% 65%, 48% 100%, 51% 25%, 54% 90%, 57% 10%, 60% 55%,
    63% 100%, 66% 35%, 69% 80%, 72% 5%, 75% 70%, 78% 20%, 81% 100%,
    84% 45%, 87% 90%, 90% 15%, 93% 60%, 96% 100%, 100% 30%, 100% 100%
  );
}

.mena-inner {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: center;

}

.mena-text {
  padding-bottom: 96px;
  max-width: 460px;
}
.mena-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.mena-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 0 0 30px;
}

.mena-visual {
  align-self: flex-end;
  line-height: 0;
  filter:invert(1)
}
.mena-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 8px 40px 20px;
    border-bottom: 1px solid rgba(25,23,18,0.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(25,23,18,0.06); }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { order: 1; }
  .hero-visual { order: 2; max-width: 420px; margin: 0 auto; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }

  .mena-inner { grid-template-columns: 1fr; }
  .mena-visual { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
