body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(135deg, #fff2e6, #ffe6f0);
      color: #333;
      overflow-x: hidden;
    }
    header {
      text-align: center;
      padding: 2rem;
      background: linear-gradient(90deg, #ffb3b3, #ffd699);
      color: black;
      font-size: 2rem;
      font-weight: bold;
      letter-spacing: 2px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    
    header span {
      display: inline-block;
      opacity: 0.3;
      animation: highlight 3s infinite;
      animation-delay: calc(var(--i) * 0.1s);
    }
    
    @keyframes highlight {
      0%, 90%   { color: red; text-shadow: none; }
      95%, 100% { color: #B8860B; text-shadow: 0 0 8px gold; }
    }
    
    .hero {
      text-align: center;
      padding: 3rem 1rem;
    }
    .hero video {
      max-width: calc(100% - 100px);
      border-radius: 20px;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }
    .hero h2 {
      margin-top: 1rem;
      font-size: 1.8rem;
      color: #b30047;
    }
    .about {
      padding: 3rem 2rem;
      background: linear-gradient(90deg, #fff5eb, #ffe6e6);
      text-align: center;
    }
    .about h2 {
      font-size: 2rem;
      color: #b30047;
    }
    .about p {
      font-size: 1.1rem;
      max-width: 700px;
      margin: auto;
      line-height: 1.6;
      color: #444;
    }
    .section-title {
      text-align: center;
      font-size: 1.6rem;
      margin: 2rem 0 1rem;
      color: #cc0066;
    }
    .swiper {
      width: calc(100% - 100px);
      margin: 2rem auto;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    .swiper-slide img {
      width: 100%;
      height: 350px;
      object-fit: cover;
    }
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
      padding: 0 2rem 2rem;
    }
    .card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.2s ease;
    }
    .card:hover {
      transform: scale(1.02);
    }
    .card video {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .card .info {
      padding: 1rem;
    }
    .card .info h3 {
      margin: 0;
      font-size: 1.2rem;
      color: #cc0066;
    }
    .card .info button {
      margin-top: 0.5rem;
      padding: 0.5rem 1rem;
      background-color: #ff4d4d;
      border: none;
      border-radius: 5px;
      color: white;
      cursor: pointer;
    }
    .testimonial-swiper .swiper-slide {
      display: flex;
      justify-content: space-around;
      gap: 1rem;
      padding: 1rem;
    }
    .testimonial-swiper .card {
      flex: 1;
      max-width: 30%;
      min-width: 280px;
    }
    .testimonial-swiper .card .info {
      padding: 1rem;
      background: white;
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .testimonial-swiper .info h3 {
      color: #f5b400;
    }
    .testimonial-swiper .info p {
      font-style: italic;
      margin: 0.5rem 0;
    }
    .testimonial-swiper .info strong {
      color: #cc0066;
    }
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 999;
    }
    .modal-content {
      background: white;
      padding: 2rem;
      max-width: 500px;
      border-radius: 15px;
      text-align: center;
      animation: fadeIn 0.3s ease-in-out;
    }
    .modal-content h3 {
      margin-bottom: 1rem;
      color: #cc0066;
    }
    .close {
      position: absolute;
      top: 2rem;
      right: 2rem;
      font-size: 2rem;
      color: white;
      cursor: pointer;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(50px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .whatsapp-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #25D366;
      color: white;
      border: 3px solid gold;
      border-radius: 50px;
      padding: 1rem 1.5rem;
      font-size: 1.2rem;
      text-decoration: none;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      animation: pulse 2s infinite;
      z-index: 1000;
    }
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }
	
	/* === Fichier responsive.css pour Berti+ Sugar Cravings === */

	@media (max-width: 768px) {
	  body {
		font-size: 16px;
		padding: 0;
		margin: 0;
	  }

	img, video {
	  max-width: 100%;
	  height: auto;
	  display: block;
	  border-radius: 10px;
	}

	.card {
	  margin: 0 auto;
	  max-width: 100%;
	}

	.swiper {
	  width: 100%;
	  padding: 1rem 0;
	}

	.whatsapp-btn {
	  transition: transform 0.3s ease;
	}

	.whatsapp-btn:hover {
	  transform: scale(1.05);
	}
	}

	/* SD, SVGA, XGA */
	@media (max-width: 1024px) {
	  body {
		font-size: 15px;
	  }
	  .swiper-slide img, .swiper-slide video {
		height: 220px;
	  }
	  .about p {
		padding: 0 1rem;
	  }
	  .hero h2 {
		font-size: 1.4rem;
	  }
	}

	/* HD (720p), HD+, Full HD */
	@media (min-width: 1280px) and (max-width: 1920px) {
	  body {
		font-size: 16px;
	  }
	  .swiper-slide img, .swiper-slide video {
		height: 300px;
	  }
	  .testimonial-swiper .card {
		max-width: 32%;
	  }
	}

	/* QHD à 5K */
	@media (min-width: 2560px) and (max-width: 5120px) {
	  body {
		font-size: 18px;
	  }
	  .card .info h3 {
		font-size: 1.3rem;
	  }
	  .swiper-slide img {
		height: 400px;
	  }
	  .testimonial-swiper .swiper-slide {
		gap: 2rem;
	  }
	}

	/* Ultra-larges 21:9 à 32:9 */
	@media (min-width: 3440px) {
	  .gallery {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	  }
	  .hero h2 {
		font-size: 2.2rem;
	  }
	  .testimonial-swiper .info p {
		font-size: 1.1rem;
	  }
	}

	/* Mobiles (petits smartphones) */
	@media (max-width: 768px) {
	  .swiper-slide img, .swiper-slide video {
		height: 200px;
	  }
	  .card {
		margin-bottom: 1rem;
	  }
	  .testimonial-swiper .card {
		max-width: 90%;
		margin: auto;
	  }
	  .testimonial-swiper .swiper-slide {
		flex-direction: column;
		align-items: center;
	  }
	  header {
		font-size: 1.5rem;
	  }
	  .about h2 {
		font-size: 1.4rem;
	  }
	  .about p {
		font-size: 1rem;
	  }
	  .whatsapp-btn {
		padding: 0.8rem 1rem;
		font-size: 0.9rem;
	  }
	}

	/* Très petits écrans (ex. iPhone SE) */
	@media (max-width: 430px) {
	  body {
		font-size: 14px;
	  }
	  .hero h2 {
		font-size: 1.2rem;
	  }
	  .card .info h3 {
		font-size: 1rem;
	  }
	  .testimonial-swiper .info p {
		font-size: 0.9rem;
	  }
	}
	
	.bertine-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      padding: 40px;
      font-family: "Segoe UI", sans-serif;
    }
    
    .bertine-card {
      border-radius: 16px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.06);
      padding: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .bertine-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
    
    .bertine-card h2 {
      font-size: 2rem;
      margin: 0 0 10px;
      color: #4A4E69;
    }
    
    p {
      font-size: 0.95rem;
      text-align: center;
    }
    .bold {
    font-weight:bold;
    }
    
    
.bertine-events-section {
  padding: 60px 20px;
  font-family: "Segoe UI", sans-serif;
  margin: auto;
}

.bertine-intro {
  text-align: center;
  margin-bottom: 40px;
}

.bertine-intro h2 span {
  display: block;
  font-weight: normal;
  color: #6D6875;
}

.bertine-intro p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.bertine-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.event-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-text {
  padding: 15px;
}

.event-text h3 {
  margin: 0;
  color: #3A3A3A;
  font-size: 1.1rem;
}

  .about-story {
    max-width: calc(100% - 100px);
    margin: 2rem auto;
    font-family: sans-serif;
    color: #333;
  }

  .about-story h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  .about-story h2::after {
    content: '';
    width: 4rem;
    height: 3px;
    background: gold;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  details {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    transition: background 0.3s ease;
  }

  details[open] {
    background: #fff8e1;
  }

  summary {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
  }
  summary::before {
    content: '▶';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
  }
  details[open] > summary::before {
    transform: rotate(90deg);
  }

  details p,
  details h3 {
    margin: 0.75rem 0;
    line-height: 1.5;
  }

  details[open] {
    animation: fadeIn 0.4s ease-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
    /* Style “female pastry” pour les champs de saisie */
  body > section:nth-child(9) > div:nth-child(3) form input,
  body > section:nth-child(9) > div:nth-child(3) form select,
  body > section:nth-child(9) > div:nth-child(3) form textarea {
    font-family: 'Parisienne', cursive;
    border: 1.5px solid #cc0066;
    border-radius: 8px;
    background-color: #fff0f5;
    padding: 0.6rem;
    margin-bottom: 0.8rem;
    color: #333;
    box-shadow: 0 3px 6px rgba(204, 0, 102, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  /* Effet au focus */
  body > section:nth-child(9) > div:nth-child(3) form input:focus,
  body > section:nth-child(9) > div:nth-child(3) form select:focus,
  body > section:nth-child(9) > div:nth-child(3) form textarea:focus {
    border-color: #e60073;
    box-shadow: 0 3px 6px rgba(204, 0, 102, 0.3);
    outline: none;
  }

  /* Optionnel : bouton assorti */
  body > section:nth-child(9) > div:nth-child(3) form button {
    background-color: #cc0066;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Parisienne', cursive;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  body > section:nth-child(9) > div:nth-child(3) form button:hover {
    background-color: #e60073;
  }
  
  .bertine-translate {
	  text-align: center;
	  margin: 2rem 0;
	  font-family: 'Parisienne', cursive;  /* une écriture élégante et féminine */
	}

	.bertine-translate button {
	  background-color: #ffe6f0;           /* rose pastel très doux */
	  border: 2px solid #ffb3b3;           /* rose saumoné légèrement plus soutenu */
	  color: #b30047;                      /* bordeaux pour le texte */
	  padding: 0.6rem 1.2rem;
	  margin: 0 0.5rem;
	  font-size: 1.1rem;
	  border-radius: 1.5rem;               /* boutons tout en rondeur */
	  cursor: pointer;
	  box-shadow: 0 4px 10px rgba(179, 51, 71, 0.2);
	  transition: 
		background-color 0.3s, 
		transform 0.2s, 
		box-shadow 0.3s;
	}

	.bertine-translate button:hover {
	  background-color: #ffb3b3;           /* plus prononcé au hover */
	  box-shadow: 0 6px 15px rgba(179, 51, 71, 0.3);
	  transform: translateY(-2px);
	}

	.bertine-translate button:focus {
	  outline: none;
	  border-color: #e60073;               /* cerise vif au focus */
	  box-shadow: 0 0 0 3px rgba(230, 0, 115, 0.3);
	}

.hero-split {
  text-align: center;
  /* ensure the container can hold inline-block children neatly */
  font-size: 0;  
}

.video-half {
  display: inline-block;
  width: calc(49% - 10px); /* two halves side by side */
  height: 300px; /* pick your desired height */
  overflow: hidden;
  vertical-align: top;
  padding: 10px;
}

.video-half video {
  /* make the video fill twice the container width */
  width: 200%;
  height: 100%;
  object-fit: cover;
}

/* pin the video inside its 50%-width box to left or right */
.video-half.left  video { object-position: left  center;  }
.video-half.right video { object-position: right center;  }

/* no shift: shows left portion */
.video-half.left video {
  transform: translateX(0%);
}

/* shift left by half the video’s width: shows right portion */
.video-half.right video {
  transform: translateX(-50%);
}

/* create the scissors */
.hero-split::before {
  content: "✂️";            /* simple 📐 scissors emoji — swap for your own SVG via url() if you like */
  position: absolute;
  left: 50%;               /* smack in the middle */
  top: -2rem;              /* start above the container */
  font-size: 2rem;
  transform: translateX(-50%) rotate(0deg);
  animation: scissors-cut 3s ease-in-out;
  pointer-events: none;    /* so it never interferes with clicks */
}

/* animate it down and back up */
@keyframes scissors-cut {
  0%, 10% {
    top: -2rem;
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    top: calc(100% - 1.5rem);   /* reach just above the bottom */
    transform: translateX(-50%) rotate(90deg);
  }
  90%, 100% {
    top: -2rem;
    transform: translateX(-50%) rotate(0deg);
  }
}


/* restore normal font-size for the heading */
.hero-split h2 {
  font-size: 1.8rem;
  margin-top: 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.candle-container {
  position: relative;
  width: 50px;
  margin: 2rem auto;
}

.candle {
  position: relative;
  width: 20px;
  height: 80px;
  margin: auto;
  animation: blowWind 1s ease-out 2s forwards;
}

/* === WAX : fonte progressive === */
.wax {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 4px;
  position: absolute;
  bottom: 0;
  animation: meltWax 2s ease-in 2s forwards;
}

/* mèches, flamme inchangées */
.wick {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 20px;
  background: #333;
  transform: translateX(-50%);
}
.flame {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 8px;
  height: 15px;
  background: radial-gradient(circle at 50% 80%, #ff0, #f80);
  border-radius: 50% 50% 20% 20%;
  transform: translateX(-50%);
  animation: flicker 0.3s infinite alternate,
             extinguish 1s ease-in 2s forwards;
}

/* === SMOKE : fade + montée === */
.smoke {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(200,200,200,0.7);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: smokeRise 2s ease-out 2s forwards;
}

/* === Animations keyframes === */

/* 1) Vent qui secoue */
@keyframes blowWind {
  0%,100% { transform: translateX(0) }
  50%     { transform: translateX(-20px) rotate(-5deg) }
}

/* 2) Fonte de la cire */
@keyframes meltWax {
  0%   { height: 100%; opacity: 1; }
  100% { height: 20%; opacity: 0.4; } /* ne disparaît pas totalement, on garde un petit bout */
}

/* 3) Flicker & extinction de la flamme */
@keyframes flicker {
  from { opacity: 1; }
  to   { opacity: 0.5; transform: translateX(-50%) scaleY(0.9); }
}
@keyframes extinguish {
  0%,20%   { opacity: 1; transform: translateX(-50%) scaleY(1); }
  80%      { opacity: 0; transform: translateX(-50%) scaleY(0.4); }
  100%     { opacity: 0; }
}

/* 4) Montée et fade in/out de la fumée */
@keyframes smokeRise {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(0.5); }
  25%  { opacity: 0.8; }
  50%  { opacity: 0.4; transform: translate(-50%, -40px) scale(1); }
  75%  { opacity: 0.2; }
  100% { opacity: 0; transform: translate(-50%, -80px) scale(1.5); }
}

/* === WICK fade-out after wax melts === */
.wick {
  /* existing styles… */
  animation: wickFade 1s ease-in 4s forwards;
}

@keyframes wickFade {
  0%   { opacity: 1; height: 20px; }
  100% { opacity: 0; height: 0; }
}

