* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     margin: 0;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
      background:
        radial-gradient(rgba(255,0,0,0.2) 1px, transparent 1px),
        linear-gradient(135deg, #0a0a0a, #1a0000, #8b0000);
   font-size: 1rem;
   
    color: white;
   text-align: center;
    line-height: 1.6;
}

/* CONTENEUR */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    background: #111;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
     width:300px;
    text-align: center;
}

/* NAV */
.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

.nav a:hover {
    background: #00aaff;
    color: black;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.2rem;
}

.hero p {
    margin-top: 10px;
    color: #ccc;
}

/* GRILLE */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}


/* CARDS */
.card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

.card h2 {
    margin-bottom: 10px;
    color: #00aaff;
}

.card ul {
    padding-left: 20px;
}

.center {
    text-align: center;
}

/* FOOTER */
footer{
    border: 2px solid black;
    text-align: left;
    padding: 10px;
   
    color: white;
    width: 100%;
    bottom: 0;
    margin:0;
}

.toplogo{
    width:300px;
    text-align: center;
}
.button{
    background:black;
    color: white;
    width:300px; 
    height: 50px
}
footer {
    background-color: black;
    color: white; /* pour que le texte soit visible */
}