/* Base typographique */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Satoshi:wght@700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #d5c9ff;
  color: #1a1a1a;
  line-height: 1.6;
}

main {
  padding: 0; /* déplacer ici pour ne pas affecter le header ou l’image */
}

.article-cover {
  margin: 0;
  padding: 0;
}

.full-width-image {
  width: 100vw;
  height: auto;
  display: block;
  margin: 0;
}


.logo {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logo span { color: #ff8fd3; /* Bubble Neon */ }

.lang-nav a {
  margin-right: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.home-wrapper { text-align: center; max-width: 500px; margin: 2rem auto; }
.home-heading {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.8rem;
  color: #3b4eff; /* Electro Cobalt */
}
.intro { margin-bottom: 2rem; }

.cta {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background: #ff8fd3;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.cta:hover { background: #3b4eff; color: #fff; }

.site-footer { margin-top: 3rem; text-align: center; font-size: 0.8rem; color: #555; }

.embed-wrapper {
  margin: 2rem 0;
  text-align: center;
}
.embed-wrapper iframe,
.embed-wrapper embed {
  max-width: 100%;
  height: auto;
}


.story-link {
  text-align: center;
  margin: 1rem 0 2rem;
}
.btn-story {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.btn-story:hover {
  background-color: #444;
}

.site-header {
  width: 100vw;
  background-color: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.site-logo {
  height: 40px;
  display: block;
}

.burger {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Navigation */
.site-nav {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .site-nav {
    flex-direction: column;
    display: none;
    width: 100%;
  }

  .site-nav.nav-visible {
    display: flex;
  }

  .site-nav a {
    padding: 0.5rem 0;
  }
}


/* Grille responsive */
ul.home-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.article-item {
  margin: 0;
  padding: 0;
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.image-wrapper {
  position: relative;
  overflow: hidden;

}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.article-title-overlay {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: auto;
}

.article-title-overlay h3 {
  display: inline-block;
  margin: 0;
  padding: 0.1rem 0.5rem;
  background-color: #d5c9ff;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0px;
}


.excerpt {
  margin: 0.5rem 0 0.3rem;
  font-size: 0.95rem;
  color: #333;
}

time {
  font-size: 0.8rem;
  color: #666;
}
