/* =====================
   RESET & VARIABLES
===================== */
:root {
  --bg-main: #bbbdc3;        /* fond plus doux */
  --bg-dark: #0a192f;
  --bg-dark-2: #112240;
  --accent: #64ffda;

  --text-main: #1f2933;     /* texte plus sombre mais non agressif */
  --text-light: #b8c1ec;

  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.12);
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

/* =====================
   HEADER & NAV
===================== */
header {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
  padding: 18px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* =====================
   HERO
===================== */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, var(--bg-dark-2), #020c1b);
  color: #fff;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: auto;
  color: var(--text-light);
}

/* =====================
   BUTTON
===================== */
.btn {
  display: inline-block;
  margin-top: 30px;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* =====================
   CONTENT
===================== */
.content {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

/* =====================
   GRID & CARDS
===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #f8fafc; /* au lieu de blanc pur */
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* =====================
   FORMS
===================== */
form {
  max-width: 600px;
  margin: auto;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(100,255,218,0.25);
}

button {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* =====================
   FOOTER
===================== */
footer {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  margin-top: 80px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  header {
    padding: 16px 20px;
  }

  nav {
    flex-direction: column;
    gap: 14px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero {
    padding: 80px 15px;
  }

  .content {
    padding: 60px 15px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
#logo {

  width: 40px;
  height: auto;
}