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

body {
  font-family: 'Lato', sans-serif;
  background-color: #F8F5EE;
  color: #4B6651;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------ HEADER ------------------ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #F8F5EE;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(75, 102, 81, 0.1);
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav {
  display: flex;
  gap: 20px;
}

header nav a {
  text-decoration: none;
  color: #4B6651;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #3a5140;
}

header .socials {
  display: flex;
  gap: 15px;
}

header .socials svg {
  width: 20px;
  height: 20px;
  transition: fill 0.3s;
}

header .socials svg:hover {
  fill: #3a5140;
}

/* ------------------ HERO ------------------ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/hero-candlelight.jpg') center/cover no-repeat;
  animation: zoomHero 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  color: white;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #4B6651;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background: #3a5140;
  transform: translateY(-3px);
}

@keyframes zoomHero {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* ------------------ SECTIONS GÉNÉRALES ------------------ */
section {
  padding: 80px 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: #4B6651;
}

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

.card {
  background: white;
  border: 1px solid rgba(75, 102, 81, 0.15);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* ------------------ RÉALISATIONS ------------------ */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.realisation-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.realisation-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.realisation-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.realisation-card:hover .overlay {
  opacity: 1;
}

/* ------------------ TRUSTED ------------------ */
.trusted-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.trusted-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: #4B6651;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ------------------ CONTACT ------------------ */
.contact-form {
  display: grid;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid rgba(75, 102, 81, 0.3);
  border-radius: 8px;
}

.contact-form button {
  padding: 12px;
  background: #4B6651;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: #3a5140;
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #F8F5EE;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(75, 102, 81, 0.1);
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

footer .socials svg {
  width: 20px;
  height: 20px;
  transition: fill 0.3s;
}

footer .socials svg:hover {
  fill: #3a5140;
}

/* ------------------ TOAST (notification) ------------------ */
.toast {
  visibility: hidden;
  min-width: 260px;
  max-width: 90vw;
  background: #4B6651;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 12px 16px;
  position: fixed;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 10000;
  opacity: 0;
  transition: opacity .35s ease, top .35s ease;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  top: 36px;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  header nav {
    display: none;
  }
}
