/* ====== Configuration globale ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

img {
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* ====== HEADER ====== */
header {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

header h1 {
    font-size: 1.4rem;
}

nav a {
    color: white;
    margin-left: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00b4d8;
}

/* ====== SECTION HERO ====== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('/images/background.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 1rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.btn {
    background: #00b4d8;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #0077b6;
}

/* ====== FOOTER ====== */
footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Animation d’apparition */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html {
  scroll-behavior: smooth;
}
