/* ===== LISTE DES ÉVÉNEMENTS (Image Gauche / Texte Droite) ===== */
.events-list{
  display:flex;
  flex-direction:column;
  gap:3rem;
  margin-top:2rem;
}
.event-card{
  background:var(--blanc);
  border:1px solid var(--brun-6);
  border-radius:var(--r-lg);
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1.3fr; /* Image à gauche, texte à droite */
  transition:transform var(--transition), box-shadow var(--transition);
}
.event-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-2px);
}
.event-img-wrapper{
  position:relative;
  min-height:250px;
  background:var(--brun-6);
  align-self:stretch;
}
.event-img{
  object-fit:cover;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.event-content{
  padding:2.2rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:1.2rem;
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin-bottom:1rem;
  align-items:center;
}
.event-date{
  color:var(--brun-3);
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.3rem;
}
.event-location{
  display:inline-flex;
  align-items:center; /* Aligne l'icône et le texte verticalement */
  gap:0.35rem;         /* Espace horizontal entre l'icône et l'adresse */
  color:var(--texte-3);
}
.event-location a{
  color:var(--texte-2);
  text-decoration:underline;
}
.event-loc-icon{
  width:1.1rem;       /* S'adapte à la taille du texte de la méta */
  height:1.1rem;
  flex-shrink:0;      /* Empêche l'icône de se déformer si l'adresse est longue */
}
.event-content h3{
  font-size:1.4rem;
  color:var(--brun-1);
  margin-bottom:0.8rem;
}
.event-desc{
  font-size:0.92rem;
  color:var(--texte-2);
  line-height:1.6;
  margin-bottom:1.5rem;
}
  
/* ===== FLUX INSTAGRAM ===== */
.insta-section{
  background:var(--brun-6);
}
.insta-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1.2rem;
  margin:2rem 0;
}
.insta-post{
  position:relative;
  aspect-ratio:1 / 1;
  border-radius:var(--r-md);
  overflow:hidden;
  background:var(--brun-1);
}
.insta-post img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}
/* Effet de survol façon Instagram */
.insta-overlay{
  position:absolute;
  top:0; left:0; width:100%; height:100%;
  background:rgba(43, 31, 23, 0.7);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--creme);
  opacity:0;
  transition:opacity 0.3s ease;
}
.insta-post:hover img{
  transform:scale(1.05);
}
.insta-post:hover .insta-overlay{
  opacity:1;
}
.insta-btn-container{
  text-align:center;
  display:flex;
  justify-content:center;
  margin-top:2rem;
}

/* ===== SECTION ASTUCE DU MOIS ===== */
.tip-section{background:var(--creme);}
.tip-container{
  max-width:1100px;
  margin:2rem auto 0;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:3.5rem;
  align-items:start;
}
.tip-text-content h3{
  font-size:1.6rem;
  color:var(--brun-1);
  margin-bottom:1rem;
}
.tip-text-content p{
  color:var(--texte-2);
  font-size:0.95rem;
  line-height:1.7;
  margin-bottom:1.2rem;
}
.tip-pillars{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:.7rem;
  margin:1.4rem 0 1.6rem;
}
.tip-pillar{
  display:flex;
  align-items:center;
  gap:.6rem;
  background:var(--blanc);
  border:1px solid var(--brun-6);
  border-radius:var(--r-sm);
  padding:.6rem .9rem;
  font-size:.85rem;
  color:var(--brun-2);
  font-weight:500;
}
.tip-pillar svg{
  width:16px; height:16px; flex-shrink:0;
  stroke:var(--brun-3); fill:none; stroke-width:2;
}
.tip-highlight{
  background:var(--blanc);
  border-left:4px solid var(--brun-3);
  padding:1.1rem 1.3rem;
  border-radius:0 var(--r-md) var(--r-md) 0;
  font-style:italic;
  color:var(--brun-2);
  font-size:0.92rem;
  margin-top:1.4rem;
}
.tip-img-wrapper{
  position:relative;
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  border:1px solid var(--brun-6);
  aspect-ratio:4 / 3;
}
.tip-img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.tip-img-caption{
  font-size:.78rem;
  color:var(--texte-3);
  text-align:center;
  margin-top:.7rem;
  font-style:italic;
}
/* ===== HISTORIQUE DES ÉVÉNEMENTS (par année) ===== */
.year-group{
	border-bottom:1px solid var(--brun-2);
	padding:1.2rem 0;
}
.year-group:last-child{
	border-bottom:none;
}
.year-group summary{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:1rem;
	cursor:pointer;
	list-style:none;
	font-family:'Playfair Display', serif;
	font-size:1.6rem;
	font-weight:700;
	color:var(--brun-5);
	padding:0.5rem 0;
	-webkit-tap-highlight-color:transparent;
}
.year-group summary::-webkit-details-marker{
	display:none;
}
.year-group summary::after{
	content:'';
	flex-shrink:0;
	width:10px;
	height:10px;
	border-right:2px solid var(--brun-4);
	border-bottom:2px solid var(--brun-4);
	transform:rotate(45deg);
	transition:transform .25s ease;
}
.year-group[open] summary::after{
	transform:rotate(-135deg);
}
.year-summary-left{
	display:flex;
	align-items:center;
	gap:0.9rem;
}
.year-count{
	font-size:0.85rem;
	font-family:'Poppins', sans-serif;
	font-weight:600;
	color:var(--brun-5);
	white-space:nowrap;
}
.year-group .events-list{
	margin-top:1.4rem;
}
.year-group[open] summary{
	margin-bottom:0.2rem;
}

@media(max-width:500px){
	.tip-pillars{
		grid-template-columns:1fr;
	}
}
@media(max-width:600px){
	.year-group summary{font-size:1.3rem;}
	.year-count{font-size:0.75rem; padding:0.2rem 0.7rem;}
}
@media(max-width:768px){
  .event-card{grid-template-columns:1fr;} /* Empilé sur tablette/mobile */
  .event-img-wrapper{height:220px; min-height:auto;}
  .event-content{padding:1.5rem;}
  .event-meta{gap:0.6rem; flex-direction:column; align-items:flex-start;}
}
@media(max-width:850px){
  .tip-container{grid-template-columns:1fr; gap:2rem;}
  .tip-img-wrapper{max-width:450px; margin:0 auto; width:100%;}
}
