/* Police - chemin corrigé (CSS est dans assets/css/) */
@font-face {
  font-family: 'SalonDuChocolat';
  src: url('../fonts/Salon-du-Chocolats.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Base */
html { scroll-behavior: smooth; }

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: url('../images/fond.png') no-repeat center center fixed;
  background-size: cover;
  color: #6B4F3A;
}

main {
  padding: 20px 16px 0 16px;
}

/* Navbar stable en 3 zones */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8D9E0;
  box-shadow: 0 2px 8px rgba(233,183,199,0.15);
  padding: 10px 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-left, .navbar-center, .navbar-right {
  display: flex;
  align-items: center;
}

.navbar-left { flex: 1; }
.navbar-center { flex: 1; justify-content: center; }
.navbar-right { flex: 1; justify-content: flex-end; }

.logo {
  height: 60px;
  width: auto;
}

.titre-chocolat {
  font-family: 'SalonDuChocolat', cursive, sans-serif;
  font-size: 2.2em;
  text-align: center;
  color: #6B4F3A;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #f8d9e0;
  white-space: nowrap;
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-menu li a {
  text-decoration: none;
  color: #6B4F3A;
  font-weight: 600;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  background: #F8D9E0;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-block;
}

.nav-menu li a:hover {
  color: #E9B7C7;
  background: #FDF6F3;
  transform: translateY(-1px);
}

.nav-menu li a:focus {
  outline: 2px solid rgba(169,124,80,0.45);
  outline-offset: 2px;
}

/* Accroche */
.accroche-principale {
  text-align: center;
  font-size: 1.25em;
  color: #a97c50;
  font-weight: bold;
  margin: 20px auto 14px auto;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 12px 22px;
  box-shadow: 0 2px 12px rgba(233,183,199,0.55);
  max-width: 720px;
}

/* Badges */
.badge {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(233,183,199,0.6);
  color: #6B4F3A;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95em;
  box-shadow: 0 2px 10px rgba(233,183,199,0.35);
}

/* Section */
.section {
  background: rgba(255,255,255,0.92);
  margin: 24px auto 80px auto;
  padding: 30px;
  max-width: 800px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(233,183,199,0.18), 0 1.5px 8px rgba(107,79,58,0.08);
  backdrop-filter: blur(2px);
}

.section h1, .section h2 {
  color: #a97c50;
}

/* Services */
.services-title {
  text-align: center;
  font-size: 2em;
  color: #a97c50;
  font-family: 'SalonDuChocolat', cursive, sans-serif;
  margin-bottom: 32px;
}

.services-list {
  list-style: disc;
  margin-left: 20px;
  color: #6B4F3A;
}

.services-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 0;
}

.service-item {
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(248,217,224,0.9);
  padding: 24px 18px 16px 18px;
  text-align: center;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-item:hover {
  box-shadow: 0 6px 24px rgba(233,183,199,0.95);
  transform: translateY(-2px);
}

.service-item img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 18px;
  transition: transform 0.3s;
  z-index: 1;
}

.service-item:hover img {
  transform: scale(1.12);
}

.service-item h3 {
  font-size: 1.2em;
  color: #fff;
  margin: 0;
  font-family: 'SalonDuChocolat', cursive, sans-serif;
  background: linear-gradient(90deg, #f8d9e0 60%, #e9b7c7 100%);
  border-radius: 24px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(233,183,199,0.9);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
  display: inline-block;
}

.service-item:hover h3 {
  background: linear-gradient(90deg, #e9b7c7 60%, #f8d9e0 100%);
  color: #a97c50;
  box-shadow: 0 6px 24px rgba(233,183,199,0.95);
  transform: translateY(-2px) scale(1.05);
}

.service-desc {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s, max-height 0.3s;
  color: #a97c50;
  background: none;
  position: static;
  padding: 0;
  margin-top: 10px;
  font-size: 1em;
  border-radius: 0;
  text-align: center;
  pointer-events: none;
}

.service-item:hover .service-desc {
  opacity: 1;
  max-height: 140px;
  pointer-events: auto;
  padding: 8px 0 0 0;
}

/* Contact */
.contact-section {
  max-width: 600px;
  margin: 24px auto 120px auto;
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(233,183,199,0.18), 0 1.5px 8px rgba(107,79,58,0.08);
  padding: 32px 24px;
}

/* HEADER CONTACT : image gauche / texte droite */
.contact-header{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}

.contact-image{
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.contact-image img{
  width: 220px;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-info{
  flex: 1;
}

.contact-info h2{
  text-align: left;
  color: #a97c50;
  font-family: 'SalonDuChocolat', cursive, sans-serif;
  margin: 0 0 14px 0;
}

.contact-top{
  margin: 0 auto 18px auto;
  max-width: 720px;
}

.contact-badges{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.contact-actions{
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #6B4F3A;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e9b7c7;
  background: #f8d9e0;
  color: #6B4F3A;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #a97c50;
  outline: none;
  box-shadow: 0 0 0 4px rgba(169,124,80,0.18);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 22px;
  background: linear-gradient(90deg, #f8d9e0 60%, #e9b7c7 100%);
  color: #fff;
  font-family: 'SalonDuChocolat', cursive, sans-serif;
  font-size: 1.1em;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(233,183,199,0.9);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}

.btn-contact:hover {
  background: linear-gradient(90deg, #e9b7c7 60%, #f8d9e0 100%);
  color: #a97c50;
  box-shadow: 0 6px 24px rgba(233,183,199,0.95);
  transform: translateY(-2px) scale(1.03);
}

/* bouton alternative */
.btn-alt{
  background: #FDF6F3;
  color: #6B4F3A;
  border: 1px solid rgba(233,183,199,0.9);
}

.btn-alt:hover{
  color: #a97c50;
}

/* Bouton submit centré */
.contact-form button.btn-contact{
  display: block;
  margin: 24px auto 0 auto;
  padding: 12px 32px;
}

/* Note */
.contact-note{
  margin: 12px 0 0 0;
  font-size: 0.9em;
  color: #6B4F3A;
  opacity: 0.85;
  text-align: center;
}

/* Footer */
.footer {
  background: #F8D9E0;
  color: #6B4F3A;
  text-align: center;
  padding: 0;
  margin-top: 40px;
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.footer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
}

.footer-content {
  margin: 20px 0;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  margin-bottom: 10px;
}

.socials img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  transition: transform 0.2s;
}

.socials a:hover img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .navbar-left, .navbar-center, .navbar-right {
    flex: initial;
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    justify-content: center;
  }

  .titre-chocolat {
    font-size: 2em;
  }
}

@media (max-width: 600px) {
  .titre-chocolat {
    font-size: 1.8em;
  }

  .section {
    padding: 18px;
  }

  .service-desc {
    opacity: 1;
    max-height: none;
    pointer-events: auto;
    padding-top: 8px;
  }

  .services-gallery {
    gap: 18px;
  }

  /* CONTACT : sur mobile on repasse en colonne */
  .contact-header{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info h2{
    text-align: center;
  }

  .contact-badges,
  .contact-actions{
    justify-content: center;
  }

  .contact-image{
    flex: none;
  }

  .contact-image img{
    width: 200px;
  }
}

/* Touches couleurs */
.star { color: #F9E5B7; }
.icon-blue { color: #B7E3F8; }
.icon-yellow { color: #F9E5B7; }

.services-intro{
  text-align: center;
  color: #6B4F3A;
  max-width: 720px;
  margin: 0 auto 22px auto;
  line-height: 1.5;
}

.services-cta{
  margin-top: 28px;
  text-align: center;
}

.services-cta-text{
  margin: 0 0 12px 0;
  color: #a97c50;
  font-weight: 600;
}