/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f0f1a;
  color: #ffffff;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #1a1a2e;
  border-bottom: 2px solid #ff003c;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff003c;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #ff003c;
  color: #fff;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 10%;
  background: linear-gradient(to right, #0f0f1a, #1a1a2e);
  border-bottom: 2px solid #ff003c;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff003c;
  text-shadow: 0 0 15px #ff003c;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ccc;
}

.btn {
  background-color: #ff003c;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  text-decoration: none;
}

.btn:hover {
  background-color: #ff3366;
  transform: scale(1.05);
}

/* Features section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 60px 10%;
  background: #11111c;
}

.feature {
  background: #1a1a2e;
  border-left: 4px solid #ff003c;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #ff003c88;
}

.feature h2 {
  margin-bottom: 10px;
  color: #ff003c;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 10%;
  background-color: #1a1a2e;
  border-top: 2px solid #ff003c;
  font-size: 0.9rem;
}

footer a {
  color: #ff003c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Icônes dans les menus */
.icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Menu avec dropdown */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  position: relative;
}

.menu li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1a2e;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  min-width: 180px;
  z-index: 999;
}

.dropdown-menu li {
  padding: 5px 20px;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background-color: #ff003c;
  border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .menu {
    flex-direction: column;
    gap: 10px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
  }
}
.services-cards {
  padding: 80px 10%;
  background-color: #11111c;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ff003c;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.card {
  background-color: #1a1a2e;
  padding: 30px 20px;
  border-radius: 10px;
  border-top: 3px solid #ff003c;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
}

.card-icon {
  width: 60px;
  margin-bottom: 20px;
}

.card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.card p {
  color: #cccccc;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.btn.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Bouton Panel stylisé */
nav a, .btn-panel {
  line-height: 1;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  height: 100%;
}

.btn-panel {
  padding: 10px 18px;
  border-radius: 25px;
  background-color: transparent;
  border: 2px solid #ff003c;
  color: #ff003c;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 0 transparent;
}

.btn-panel:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px #ff003c, 0 0 20px #ff003c inset;
  background-color: rgba(255, 0, 60, 0.05);
  color: #fff;
}

/* Harmonise l’icône dans le bouton */
.btn-panel .icon {
  width: 18px;
  height: 18px;
  filter: brightness(1.2);
}

html {
  scroll-behavior: smooth;
}

.notification-fixed {
  position: fixed;
  top: 100px;
  left: 20px;
  background-color: #1a1a2e;
  color: #fff;
  padding: 14px 18px;
  border-left: 4px solid #ff003c;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  max-width: 300px;
  animation: fadeInLeft 0.6s ease;
}

.notification-fixed .notif-text {
  flex: 1;
  font-size: 0.9rem;
}

.notification-fixed .notif-close {
  cursor: pointer;
  font-size: 1.2rem;
  padding-left: 8px;
  color: #ff003c;
  transition: color 0.3s;
}

.notification-fixed .notif-close:hover {
  color: #ff3366;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

