* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(139, 30, 30, 0.15);
  z-index: 1000;
}

/* LOGO */
.logo {
  color: #8B1E1E;
  font-size: 22px;
  font-weight: bold;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* NAV */
nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #8B1E1E;
  transition: 0.3s;
}

/* ===== AFTER WAOUH PREMIUM ===== */
nav a {
  position: relative;
}

/* ligne invisible de base */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #8B1E1E,
    #A52A2A,
    #8B1E1E,
    transparent
  );
  border-radius: 50px;
  opacity: 0;
  transition: all 0.45s ease;
  box-shadow: 0 0 12px rgba(139, 30, 30, 0.35);
}

/* hover waouh */
nav a:hover::after {
  width: 70%;
  opacity: 1;
}

/* active waouh (page actuelle) */
nav a.active::after {
  width: 70%;
  opacity: 1;
  box-shadow: 0 0 18px rgba(139, 30, 30, 0.6);
}

nav a:hover {
  color: #8B1E1E;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}*




nav a.active {
  color: #8B1E1E;
}

/* BURGER */
.burger {
  display: none;
  color: #8B1E1E;
  font-size: 25px;
  cursor: pointer;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  background: url("imageshero.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;

  overflow: hidden;
  padding: 100px 20px 40px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 900px;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

.hero h1 {
  font-size: 60px;
}

.hero p {
  font-size: 18px;
}

/* ================= SEARCH ================= */

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: white;
  padding: 10px;
  border-radius: 50px;
  max-width: 850px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  justify-content: center;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 10px;
  flex: 1;
  min-width: 150px;
}

.search-bar button {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;

  background: #8B1E1E;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.search-bar button:hover {
  background: #A52A2A;
}

/* ================= FEATURES ================= */

.features {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 20px;

  margin-top: 35px;
  width: 100%;
  max-width: 900px;
  z-index: 2;
}

/* 🔥 CERCLES CORRIGÉS */
.circle {
  flex: 1;
  max-width: 130px;
  min-width: 90px;

  aspect-ratio: 1/1;
  border-radius: 50%;

  /* ✅ PLEIN MARRON */
  background: #8B1E1E;
  border: 1px solid #8B1E1E;

  /* ✅ TEXTE BLANC */
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transition: 0.4s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.circle i {
  font-size: 22px;
  margin-bottom: 8px;
  color: white; /* 🔥 icône blanche */
}

.circle span {
  font-size: 13px;
}

/* hover IDENTIQUE */
.circle:hover {
  background: #8B1E1E;
  color: white;
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(139,30,30,0.5);
}

/* ripple inchangé */
.circle .ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: scale(0);
}

.circle:active .ripple {
  animation: rippleEffect 0.6s linear;
}

/* ================= ANIMATIONS ================= */

@keyframes rippleEffect {
  to {
    transform: scale(15);
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {transform: translateY(40px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}

/* ================= RESPONSIVE ================= */

@media(max-width:1280px){

  .burger {
    display:block;
  }

  nav {
    position: fixed;
    right: -100%;
    top: 80px;
    width: 260px;
    height: 100vh;
    background: white;
    transition: 0.3s;
  }

  nav.active {
    right:0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .features {
    flex-wrap: wrap;
    justify-content: center;
  }

  .circle {
    width: 110px;
    height: 110px;
  }
}

@media(max-width:600px){

  .search-bar {
    flex-direction: column;
    border-radius: 20px;
  }

  .circle {
    width: 95px;
    height: 95px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .features {
    gap: 15px;
  }
}

@media(max-width:600px){
  .features{
    align-items: flex-start;
  }

  .circle{
    margin-bottom: 10px;
  }
}
.circle{
  flex-shrink: 0;
}