:root {
  --pink: #e8006a;
  --pink-light: #ff4da6;
  --pink-pale: #fce4f0;
  --pink-marble: #fdf0f6;
  --yellow: #FFD700;
  --orange: #FF8C00;
  --sun: #FFF176;
  --cream: #fdf8fc;
  --dark: #1a0a12;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--cream); color: var(--dark); overflow-x: hidden; }

/* ===== NAVIGATION ===== */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 40px; height: 70px; display: flex; align-items: center; justify-content: space-between; background: rgba(253,248,252,0.96); backdrop-filter: blur(12px); box-shadow: 0 2px 24px rgba(232,0,106,0.12); border-bottom: 1px solid rgba(232,0,106,0.08); }
nav .logo img { height: 50px; width: 50px; border-radius: 50%; }
nav .nav-links { display: flex; gap: 30px; list-style: none; }
nav .nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 0.9rem; transition: color 0.3s; font-family: 'Baloo 2', sans-serif; cursor: pointer; letter-spacing: 0.02em; }
nav .nav-links a:hover, nav .nav-links a.active { color: var(--pink); }
nav .nav-cta { background: linear-gradient(135deg, var(--pink), var(--pink-light)); color: white; padding: 10px 24px; border-radius: 30px; font-weight: 800; text-decoration: none; font-size: 0.85rem; font-family: 'Baloo 2', sans-serif; cursor: pointer; letter-spacing: 0.03em; }
nav .nav-cta:hover { box-shadow: 0 8px 24px rgba(232,0,106,0.45); transform: translateY(-1px); }

/* ===== GLOBAL SECTIONS ===== */
section { padding: 80px 40px; }
.section-title { font-family: 'Baloo 2', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; text-align: center; margin-bottom: 15px; letter-spacing: -0.01em; }
.section-title .pink, .pink { color: var(--pink); }
.section-title .yellow { color: var(--orange); }
.yellow-text { color: var(--orange); }
.section-sub { text-align: center; color: #7a4060; font-size: 1.1rem; max-width: 600px; margin: 0 auto 50px; }
.max-w { max-width: 1300px; margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn-primary { background: linear-gradient(135deg, var(--pink), var(--pink-light)); color: white; padding: 14px 32px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 1rem; font-family: 'Baloo 2', sans-serif; display: inline-block; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(195,59,128,0.4); }
.btn-secondary { background: white; color: var(--pink); padding: 14px 32px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 1rem; font-family: 'Baloo 2', sans-serif; display: inline-block; border: 2px solid var(--pink); cursor: pointer; transition: transform 0.3s; }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(195,59,128,0.2); }
.btn-apply { background: linear-gradient(135deg, var(--pink), var(--pink-light)); color: white; padding: 10px 22px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.85rem; font-family: 'Baloo 2', sans-serif; display: inline-block; cursor: pointer; transition: transform 0.3s; }
.btn-apply:hover { transform: translateY(-2px); }

/* ===== HERO SECTION ===== */
.hero { min-height: 100vh; background: linear-gradient(135deg, #fff0f8 0%, #fff9e6 40%, #fff0f8 100%); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 70px; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255,105,180,0.2), transparent 70%); animation: float 6s ease-in-out infinite; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,0,0.25), transparent 70%); animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.hero-inner { max-width: 1400px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero-badge { display: inline-block; background: linear-gradient(135deg, var(--pink), var(--pink-light)); color: white; padding: 8px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; font-family: 'Baloo 2', sans-serif; margin-bottom: 20px; }
.hero-text h1 { font-family: 'Baloo 2', sans-serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-text p { color: #555; font-size: 1.1rem; line-height: 1.7; margin-bottom: 30px; max-width: 500px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 30px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Baloo 2', sans-serif; font-size: 2rem; font-weight: 900; color: var(--pink); line-height: 1; }
.stat-label { font-size: 0.8rem; color: #888; font-weight: 600; }

/* ===== HERO SPLIT (index) ===== */
.hero-split { min-height: 100vh; display: flex; flex-direction: row; align-items: stretch; padding: 0; background: none; overflow: hidden; }
.hero-split::before, .hero-split::after { display: none; }

.hero-left-panel {
  width: 33%;
  flex-shrink: 0;
  background: linear-gradient(175deg, #ff0080 0%, #e8006a 40%, #c2005a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 45px 60px 45px;
  position: relative;
  z-index: 1;
  box-shadow: 10px 0 50px rgba(232,0,106,0.45);
}
.hero-left-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-left-panel::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  pointer-events: none;
}

.hero-left-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-left-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-btn-white {
  background: white;
  color: var(--pink);
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: 'Baloo 2', sans-serif;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.hero-btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.22); }

.hero-btn-outline {
  background: transparent;
  color: white;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: 'Baloo 2', sans-serif;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.65);
  transition: transform 0.3s, background 0.3s;
}
.hero-btn-outline:hover { transform: translateY(-3px); background: rgba(255,255,255,0.15); }

.hero-right-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}
/* 1. L'image : Entière (contain) avec un fondu sur les bords */
.hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* L'image n'est plus coupée */
  object-position: center;
  display: block;
  background-color: var(--cream); /* Fond assorti au site */

  /* Masque de fondu pour que l'image disparaisse doucement dans le décor */
  mask-image: radial-gradient(circle, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle, black 50%, transparent 95%);
}

/* 2. Le titre : Réduction de la taille pour la lisibilité */
.hero-left-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important; /* Taille réduite */
  line-height: 1.2;
  margin-bottom: 18px;
}

@media(max-width:900px) {
  .hero-split { flex-direction: column; }
  .hero-left-panel { width: 100%; padding: 100px 30px 50px; }
  .hero-right-panel { width: 100%; height: 55vw; min-height: 260px; }
}
@media(max-width:600px) {
  .hero-left-panel { padding: 90px 20px 40px; }
  .hero-left-title { font-size: 1.6rem; }
  .hero-right-panel { height: 65vw; }
}

/* ===== HISTOIRE / 2-COL GRIDS ===== */
.histoire-grid, .export-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.histoire-img img { width: 100%; border-radius: 30px; }

/* ===== EXPORT LIST ===== */
.export-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.export-list li { font-weight: 600; color: #444; font-size: 1rem; }

/* ===== FORMATS GRID ===== */
.formats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.format-card { background: white; border-radius: 24px; padding: 30px 20px; text-align: center; text-decoration: none; color: var(--dark); box-shadow: 0 4px 20px rgba(232,0,106,0.07); transition: transform 0.3s, box-shadow 0.3s; display: block; border: 1px solid rgba(232,0,106,0.06); }
.format-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(232,0,106,0.18); }
.format-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.format-card h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; color: var(--pink); }
.format-card p { font-size: 0.9rem; color: #7a4060; line-height: 1.5; }

/* ===== NEWS & JOBS ===== */
.news-grid, .jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card, .job-card { background: white; border-radius: 24px; overflow: hidden; transition: transform 0.3s; box-shadow: 0 4px 20px rgba(232,0,106,0.07); border: 1px solid rgba(232,0,106,0.06); }
.news-card:hover, .job-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(232,0,106,0.15); }
.news-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.news-body, .job-card { padding: 24px; }
.news-date, .job-type { font-size: 0.8rem; color: var(--pink); font-weight: 700; margin-bottom: 8px; font-family: 'Baloo 2', sans-serif; display: block; }
.news-body h3, .job-card h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.news-body p, .job-card p { font-size: 0.9rem; color: #7a4060; line-height: 1.6; margin-bottom: 15px; }

/* ===== PRODUCTS TABS ===== */
.products-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.tab-btn { padding: 12px 28px; border-radius: 50px; border: 3px solid var(--pink); background: white; color: var(--pink); font-weight: 800; cursor: pointer; font-family: 'Baloo 2', sans-serif; font-size: 0.95rem; transition: all 0.3s; }
.tab-btn.active, .tab-btn:hover { background: linear-gradient(135deg, var(--pink), var(--pink-light)); color: white; border-color: transparent; box-shadow: 0 8px 20px rgba(195,59,128,0.3); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; }
.product-card { background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 30px rgba(195,59,128,0.1); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(195,59,128,0.2); }
.product-card .img-wrap { background: linear-gradient(135deg, #fff5fb, #fffbf0); padding: 20px; display: flex; align-items: center; justify-content: center; height: 220px; }
.product-card .img-wrap img { height: 180px; width: auto; object-fit: contain; transition: transform 0.4s; display: block; }
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .info { padding: 16px; }
.product-card .info h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.tag { display: inline-block; background: linear-gradient(135deg, var(--pink), var(--pink-light)); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; font-family: 'Baloo 2', sans-serif; }
.conditionnement-box { background: white; border-radius: 20px; padding: 24px 30px; margin-top: 40px; box-shadow: 0 4px 20px rgba(195,59,128,0.08); text-align: center; }
.conditionnement-box h4 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--pink); margin-bottom: 8px; }
.conditionnement-box p { color: #555; font-size: 0.95rem; }

/* ===== RSE GRID ===== */
.rse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rse-card { background: white; border-radius: 24px; padding: 30px; text-align: center; box-shadow: 0 4px 20px rgba(232,0,106,0.07); transition: transform 0.3s; border: 1px solid rgba(232,0,106,0.06); }
.rse-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(232,0,106,0.15); }
.rse-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.rse-card h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; color: var(--pink); }
.rse-card p { font-size: 0.9rem; color: #7a4060; line-height: 1.6; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.process-step { background: white; border-radius: 24px; padding: 30px 25px; text-align: center; box-shadow: 0 4px 20px rgba(232,0,106,0.07); flex: 1; min-width: 180px; max-width: 220px; border: 1px solid rgba(232,0,106,0.06); }
.step-num { font-family: 'Baloo 2', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--pink); opacity: 0.3; line-height: 1; margin-bottom: 10px; }
.process-step h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: #7a4060; line-height: 1.5; }
.process-arrow { font-size: 2rem; color: var(--pink); padding: 0 10px; font-weight: 900; }

/* ===== CONTACT PAGE ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 25px; }
.contact-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-item strong { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 800; margin-bottom: 4px; }
.contact-item p { color: #7a4060; font-size: 0.95rem; }
.contact-item a { color: var(--pink); text-decoration: none; font-weight: 600; }
.jobs-mini { display: flex; flex-direction: column; gap: 12px; }
.job-mini-card { background: white; border-radius: 16px; padding: 16px 20px; box-shadow: 0 4px 15px rgba(232,0,106,0.07); border: 1px solid rgba(232,0,106,0.06); }
.contact-form-wrap { background: white; border-radius: 30px; padding: 40px; box-shadow: 0 8px 40px rgba(232,0,106,0.1); }
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: 0.9rem; font-family: 'Baloo 2', sans-serif; }
.form-group input, .form-group select, .form-group textarea { border: 2px solid #f5c0d8; border-radius: 12px; padding: 12px 16px; font-family: 'Nunito', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.3s; background: var(--cream); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--pink); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
footer { background: #0f0f1a; color: white; padding: 50px 40px 30px; }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 60px; width: 60px; border-radius: 50%; margin-bottom: 15px; display: block; }
.footer-brand p { opacity: 0.7; font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-family: 'Baloo 2', sans-serif; font-weight: 800; margin-bottom: 16px; color: var(--pink-light); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; cursor: pointer; }
.footer-col ul a:hover { color: var(--pink-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; opacity: 0.6; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media(max-width:1100px) {
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:900px) {
  .hero-inner, .histoire-grid, .export-inner, .contact-inner { grid-template-columns: 1fr; }
  .rse-grid, .news-grid, .jobs-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  nav .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-btns { flex-direction: column; }
}
@media(max-width:600px) {
  section { padding: 60px 20px; }
  nav { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 25px 20px; }
}
/* ===== SLIDER HERO : VERSION CORRIGÉE ===== */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%; /* S'assure de remplir la colonne de droite */
  min-height: 500px; /* Sécurité pour la visibilité */
  background: var(--pink);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* La classe active doit impérativement être après .slide */
.slide.active {
  opacity: 1;
  z-index: 2;
}

/* L'image prend 100% de la largeur et s'adapte à la hauteur */
.slide img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit tout l'espace sans bande blanche */
  display: block;
}

/* Texte positionné en bas, par-dessus l'image */
.slide-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  /* Dégradé pour la lisibilité du texte */
  background: linear-gradient(to top, rgba(232, 0, 106, 0.9) 0%, rgba(232, 0, 106, 0.4) 70%, transparent 100%);
  color: var(--white);
  z-index: 3;
}

.slide-text h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  margin: 0;
}