/* === STYLE GLOBAL - Pompes Funèbres Dernier Hommage === */
/* Palette : Violet Foncé #3A1F52 | Parme #C8A2C8 | Blanc Cassé #F8F8F8 */

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background-color: #F8F8F8;
  color: #2b2b2b;
  line-height: 1.6;
}

header {
  background-color: #3A1F52;
  color: white;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header img {
  height: 70px;
}

.header-right {
  text-align: right;
  font-size: 0.9rem;
}

nav {
  background-color: #4c2a69;
  padding: 10px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 12px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #C8A2C8;
}

.banner {
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  position: relative;
}

.banner::after {
  content: "La dignité pour tous";
  position: absolute;
  bottom: 15px;
  right: 25px;
  background: rgba(58,31,82,0.8);
  padding: 5px 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: #fff;
}

main {
  padding: 40px 10%;
}

section {
  margin-bottom: 50px;
}

h1, h2, h3 {
  color: #3A1F52;
  font-family: "Playfair Display", serif;
}

a {
  color: #3A1F52;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 20px 0;
}

input, select, textarea, button {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button {
  background-color: #3A1F52;
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #C8A2C8;
}

footer {
  background-color: #3A1F52;
  color: white;
  text-align: center;
  padding: 25px 10%;
  font-size: 0.9rem;
  line-height: 1.5;
}

footer a {
  color: #C8A2C8;
  text-decoration: none;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.dashboard-grid img {
  width: 100%;
  border-radius: 8px;
}

/* Cookie Banner */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(58,31,82,0.95);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  z-index: 9999;
}

#cookie-banner button {
  background: #C8A2C8;
  color: #3A1F52;
  margin: 5px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  padding: 8px 15px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  header, .header-right {
    text-align: center;
  }
  .banner {
    font-size: 1.5rem;
    height: 260px;
  }
  main {
    padding: 20px 5%;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
  }
}
