
body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', 'Arial', sans-serif;
  background: linear-gradient(120deg, #fffbe6 0%, #fffde4 100%);
  color: #3d2c00;
  min-height: 100vh;
}

:root{
  --bg:#fffde4;
  --muted:#7a5b00;
  --accent:#ffb300;
  --primary:#3d2c00;
  --card:#ffffff;
}

header {
  background: linear-gradient(90deg, #ffd700 60%, #ffb300 100%);
  color: #3d2c00;
  padding: 1.6rem 0 1rem 0; /* réduit pour un meilleur alignement */
  box-shadow: 0 4px 24px rgba(61,44,0,0.10);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  position: relative;
}

.abeille {
  display: inline-block;
  margin: 0; /* enlever margin bottom qui décale le texte */
  width: 72px;
  height: auto;
  filter: drop-shadow(0 2px 8px #ffb30088);
  transition: transform 0.3s;
  vertical-align: middle;
}
.abeille:hover {
  transform: scale(1.1) rotate(-8deg);
}

nav {
  margin-top: 1.5rem;
}
nav {
  position: relative;
  z-index: 2;
}
.main-nav{
  position: relative;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 18px;
  overflow: visible;
  z-index: 2; /* au-dessus du fond du header */
}
.main-nav::before{ display: none; }
.main-nav a{
  position: relative;
  z-index: 3;
  color: var(--primary);
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.45rem 0.9rem;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
.main-nav a:hover{
  background: rgba(255, 235, 177, 0.75);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(255,179,0,0.18);
  transform: translateY(-1px);
}
.main-nav a.active{ background: var(--accent); color: #3d2c00; box-shadow:0 6px 18px rgba(61,44,0,0.10); }

/* Fond alvéolé sur tout le header */
header.site-header::before, header::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/alveoles.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.10; /* opacité */
  filter: saturate(0.9) blur(0.6px);
  z-index: 0;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  pointer-events: none;
}

.header-inner{ position: relative; z-index: 2; display:flex; gap:1rem; align-items:center; justify-content:center; flex-wrap:wrap; }

main {
  max-width: 900px;
  margin: 2.5rem auto;
  background: var(--bg);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.13);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 1;
}

h1, h2 {
  font-family: 'Montserrat', 'Segoe UI', 'Arial', sans-serif;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #ffd70044;
}
h2 {
  color: #ff9800;
  margin-top: 2.5rem;
  font-size: 2rem;
  letter-spacing: 1px;
}

section {
  margin-bottom: 2.5rem;
}
ul {
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

a {
  color: #ff9800;
  text-decoration: underline dotted;
  transition: color 0.2s;
}
a:hover {
  color: #3d2c00;
}

footer {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(90deg, #ffe082 60%, #ffd700 100%);
  color: #3d2c00;
  margin-top: 3rem;
  font-size: 1.08rem;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px #ffd70033;
}

/* Effet honeycomb décoratif */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: url('https://www.transparenttextures.com/patterns/honeycomb.png');
  opacity: 0.07;
  z-index: 0;
}

/* Responsive */
@media (max-width: 700px) {
  main {
    padding: 1.2rem 0.5rem;
    border-radius: 12px;
  }
  header {
    padding: 1rem 0 0.8rem 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  footer {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 1rem 0;
  }
  nav a {
    margin: 0 0.5rem;
    font-size: 1rem;
    padding: 0.4rem 0.7rem;
  }
  .abeille{ width:56px; }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

/* Boutons */
.btn { 
  display: inline-block;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
.btn.primary { background: #3d2c00; color: #fff; box-shadow: 0 6px 18px rgba(61,44,0,0.12); }
.btn.ghost { background: transparent; color: var(--primary); border: 1px solid rgba(255,213,74,0.7); }

/* Hero */
.hero { padding: 2rem 1rem; }
.hero-inner { display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.hero-text { max-width: 540px; }
.lead { color: #5a4310; font-size: 1.1rem; margin-top: 0.5rem; }
.hero-ctas { margin-top: 1.2rem; }
.hero-media { display: block; }

.site-title{ margin:0; font-size:1.25rem; }
.site-tag{ margin:0; color:var(--muted); font-size:0.95rem; }

@media (max-width: 900px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-media { margin-bottom: 1rem; }
}

/* Cards */
.cards .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1rem; }
.card { background: #fff; padding: 1.25rem; border-radius: 12px; box-shadow: 0 8px 24px rgba(61,44,0,0.06); }
.card h3 { margin-top: 0; color: #3d2c00; }

/* Harmonisation des couleurs des accents */
.carousel-indicators .indicator { background: rgba(255,213,74,0.7); }
.carousel-indicators .indicator.active { background: var(--accent); }


/* About */
.about-inner{ display:flex; gap:1.25rem; align-items:center; margin-top:1rem; }
.about-text{ flex:1; }
.about-media img{ width:280px; height:180px; object-fit:cover; border-radius:10px; box-shadow:0 8px 18px rgba(61,44,0,0.06); }

@media (max-width:900px){ .about-inner{ flex-direction:column-reverse; text-align:center; } .about-media img{ width:100%; height:auto; } }

@media (max-width: 800px) { .cards .grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(90deg, #fff7e6, #fffde4); padding: 1.2rem; border-radius: 12px; text-align: center; margin: 2rem auto; max-width: 900px; box-shadow: 0 6px 18px rgba(61,44,0,0.04); }

/* Carousel */
.carousel { max-width: 900px; margin: 2rem auto; }
.carousel-viewport { overflow: hidden; border-radius: 12px; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(.22,.9,.3,1); }
.carousel-slide { min-width: 100%; box-sizing: border-box; position: relative; }
.carousel-slide img { width: 100%; height: 360px; object-fit: cover; display: block; }
.carousel-slide figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(0,0,0,0.45); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.carousel-controls { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:0.8rem; }
.carousel-btn { background: #fff; border: 0; padding: 8px 12px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); cursor: pointer; }
.carousel-btn:hover { transform: translateY(-2px); }
.carousel-indicators { display:flex; gap:8px; }
.carousel-indicators .indicator { width:10px; height:10px; background:#ffd54a; border-radius:50%; border: none; cursor: pointer; opacity:0.6; }
.carousel-indicators .indicator.active { width:28px; border-radius:12px; background:#ffb300; opacity:1; }

.muted { color:#7a5b00; }

.events ul{ padding-left:1.2rem; }
.events li{ margin:0.6rem 0; }

/* Formulaire simple, non connecté */
.contact-form{ max-width:560px; margin-top:1rem; }
.form-row{ margin-bottom:0.8rem; display:flex; flex-direction:column; }
.form-row label{ font-size:0.95rem; margin-bottom:0.3rem; color:var(--muted); }
.form-row input, .form-row textarea{ padding:0.6rem 0.75rem; border-radius:8px; border:1px solid #f0d98a; background:#fff; font-size:1rem; }
.form-row input:focus, .form-row textarea:focus{ box-shadow:0 6px 18px rgba(61,44,0,0.08); outline: none; }
.small{ font-size:0.9rem; }

/* FAQ */
.faq details{ background:var(--card); padding:0.8rem 1rem; border-radius:10px; margin-bottom:0.6rem; box-shadow:0 6px 18px rgba(61,44,0,0.04); }
.faq summary{ cursor:pointer; font-weight:600; }

/* Footer links */
.footer-links{ margin-top:8px; display:flex; gap:12px; justify-content:center; }
.footer-links a{ color:var(--muted); text-decoration:none; }


/* Footer */
.footer-inner { max-width:900px; margin:0 auto; padding:1rem 1rem; }

/* Small accessibility improvements */
:focus { outline: 3px solid #ffde7a; outline-offset: 2px; }

