/* ============================
   HOME PAGE NEPTUNE
   ============================ */

/* HERO */
.home-hero {
    text-align: center;
	margin-bottom: 10px;
    animation: fadeIn 0.8s ease;
}

.hero-separator {
  width: 60px; /* longueur de la barre */
  height: 3px; /* épaisseur */
  margin: 12px auto 0 auto; /* centrage sous le titre */
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(77,163,255,0.45);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Mode sombre : glow renforcé */
body.theme-dark .hero-separator {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(77,163,255,0.65);
}

.hero-title {
    font-size: 2.4em;
    margin: 0;
    color: var(--text); /* couleur normale */
}

.hero-title .hero-accent {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(77,163,255,0.45);
}

.hero-subtitle {
    margin: 20px auto;
	text-align: center;
}

.hero-subtitle p {
	max-width: 900px;
	margin: 0 auto;
	opacity: 0.85;
	color: var(--text);
	font-size: 1.1em;
	text-align: justify;
	text-justify: inter-word;
}

.hero-subtitle .hero-accent {
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(77,163,255,0.35);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 20px;
}


.card-desc {
	color: var(--text);
	font-weight: 400;
	text-align: justify;
	text-justify: inter-word;
}

.card-access {
    margin-top: 10px;
    font-size: 0.85em;
    font-weight: 500;
    color: var(--accent);
    opacity: 0.85;
    text-align: center;
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.card-link:hover {
    color: var(--accent-soft);
}

.btn-primary,
.btn-secondary {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-soft);
    color: #000;
}

.btn-secondary {
    background: rgba(77,163,255,0.15);
    border: 1px solid rgba(77,163,255,0.35);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(77,163,255,0.25);
}

/* GRID */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 20px 0;
    margin-bottom: 1.5rem;
}

.home-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: 0.25s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

body.theme-dark .home-card {
    background: rgba(10,25,45,0.45);
}

.home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 26px rgba(77,163,255,0.35);
}

.home-card img {
    width: 96px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(77,163,255,0.55));
}

/* STATS */
.home-stats {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 30px;
	margin: 30px auto;
	padding: 24px 40px;
	border-radius: 14px;
	backdrop-filter: blur(12px);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Thème clair */
body.theme-light .home-stats {
	background: rgba(255,255,255,0.08);
	box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

/* Thème sombre */
body.theme-dark .home-stats {
	background: linear-gradient(135deg, #0a1a2a, #081423);
	box-shadow: 0 4px 22px rgba(77,163,255,0.35);
}

/* Élément individuel */
.stat {
	display: flex;
	align-items: center;
	gap: 16px;
	text-align: left;
}

.stat-icon {
	font-size: 1.8em;
	color: var(--accent);
	filter: drop-shadow(0 0 6px rgba(77,163,255,0.45));
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--accent); /* cercle bleu Neptune */
	box-shadow: 0 0 12px rgba(77,163,255,0.45);
}

/* Le SVG lui-même */
.stat-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff; /* icône blanche */
}

.stat-content span {
	font-size: 1.6em;
	font-weight: 600;
	color: var(--accent);
	text-shadow: 0 0 10px rgba(77,163,255,0.45);
}




.stat-content p {
	margin: 0;
	opacity: 0.85;
	color: var(--text);
}

/* Hover */
.home-stats:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 26px rgba(77,163,255,0.35);
}

/* Mode sombre : glow renforcé */
body.theme-dark .stat-icon {
    background: var(--accent);
    box-shadow: 0 0 16px rgba(77,163,255,0.65);
}

/* Mode clair : glow plus doux */
body.theme-light .stat-icon {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0,80,200,0.25);
}

.stats-update {
  text-align: center;
  font-size: 0.8em;
  color: var(--text);
  opacity: 0.75;
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.3px;
}

.stats-update::before {
  content: "⟳ ";
  color: var(--text);
  opacity: 0.6;
}

/* PARAGRAPHES */
.home-paragraph {
    margin: 20px 0;
    text-align: center;
}

.home-paragraph h3 {
    color: var(--text);
}

.home-paragraph p {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.85;
	text-align: justify;
	text-justify: inter-word;
}

.home-paragraph .home-accent {
    color: var(--accent);
	font-weight: 600;
    text-shadow: 0 0 12px rgba(77,163,255,0.45);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   RESPONSIVE MOBILE
   ============================ */
@media (max-width: 900px) {
  .home-container {
    padding: 20px 20px;
    max-width: 90%;
    margin: 0px auto;
  }

  .home-grid {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
    margin: 0px auto;
  }

  .home-card {
    width: 80%;
    margin: 0px auto;
	margin-bottom: 12px;
  }

  .home-card img {
    width: 80px;
    margin-bottom: 12px;
  }

  .home-card h3 {
    font-size: 1.1em;
  }

  .home-card p {
    font-size: 0.9em;
    line-height: 1.4em;
  }

  .home-stats {
	display: flex;
    flex-direction: column;
	align-items: center;
	justify-content: center;
    gap: 20px;
    padding: 20px;
  }
  .stat {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 320px;
  }

  .stat span {
    font-size: 1.6em;
  }

  .stat p {
    font-size: 0.9em;
    margin: 0;
  }
}

/* Ultra compact pour très petits écrans */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8em;
  }

  .hero-subtitle {
    font-size: 0.95em;
  }
}