:root {
  --cendre: #e7e3da;
  --lichen: #c0cfc1;
  --mousse: #7f9a7b;
  --foret: #3e5a3e;
  --ombre-verte: #253a25;
  --terre: #b7a18a;
  --brume: #dbd7cd;
  --papier: #faf8f4;
  --header-height: 100px;
  --header-height-mobile: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f6f3ef;
  font-family: 'Inter', sans-serif;
  color: #2b3a2b;
  line-height: 1.5;
  padding-top: var(--header-height);
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem 2rem 2.5rem;
}

/* ===== HEADER STICKY ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(246, 243, 239, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lichen);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  padding: 0.7rem 2.5rem;
  background: rgba(246, 243, 239, 0.98);
  box-shadow: 0 4px 25px rgba(37, 58, 37, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.7rem;
  font-weight: 350;
  letter-spacing: -0.02em;
  color: var(--foret);
  line-height: 1.2;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.2s;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo .Home {
  text-decoration: none;
  color: #3e5a3e;
  font-size: 1.7rem;
  font-weight: 350;
}

.logo span {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mousse);
  margin-top: 0.2rem;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  gap: 2.5rem;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav a {
  text-decoration: none;
  color: var(--foret);
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

.nav a:hover,
.nav a.active {
  color: var(--terre);
  border-bottom-color: var(--terre);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link:active {
  opacity: 0.6;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--foret);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== FOOTER ===== */
footer {
  margin-top: 4rem;
  font-size: 0.8rem;
  color: #7b8b7b;
  text-align: center;
  border-top: 1px solid var(--lichen);
  padding-top: 2rem;
  font-weight: 300;
}

.footer-note {
  margin-top: 0.5rem;
  opacity: 0.6;
  font-size: 0.7rem;
}

/* ===== BOUTONS ME CONTACTER ===== */
.btn-nature {
  background: transparent;
  border: 1.5px solid var(--foret);
  color: var(--foret);
  padding: 0.7rem 2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
  cursor: pointer;
  border-radius: 30px; /* AJOUTER CETTE LIGNE */
}

.btn-nature:hover {
  background: var(--foret);
  color: #f0efe7;
}

/* ===== SLIDER ===== */
.slider-container {
  width: 100%;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 30px -15px rgba(37, 58, 37, 0.3);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 400px;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
}

.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 350;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Indicateurs (points) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Flèches de navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.slider-arrow:hover {
  background: rgba(62, 90, 62, 0.8);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

.btn-nature:hover {
  background: var(--foret);
  color: #f0efe7;
}

/* ===== IMAGES PRESS ===== */
.pres-image-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--papier);
  box-shadow: 0 10px 25px -5px var(--ombre-verte);
}

.pres-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

/* ===== FILTRES ===== */
.filter-section {
  margin: 2rem 0 3rem 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--lichen);
  padding-bottom: 1rem;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--foret);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 20px;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--lichen);
}

.filter-btn.active {
  background: var(--foret);
  color: white;
}

.photo-counter {
  font-size: 0.9rem;
  color: var(--mousse);
  margin-bottom: 1rem;
  font-style: italic;
  display: none;
}

/* ===== GALERIE ===== */
.galerie-titre {
  font-size: 1.9rem;
  font-weight: 320;
  color: var(--foret);
  margin: 3rem 0 1.5rem 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.galerie-titre:after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--lichen), transparent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.gallery-item {
  background: var(--papier);
  box-shadow: 0 10px 22px -12px rgba(55, 70, 55, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s;
  border: 1px solid #edeadf;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 30px -15px #2e4a2e80;
}

.gallery-item.hidden {
  display: none;
}

.photo-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: var(--lichen);
  border-radius: 8px 8px 0 0;
}

.badge-recent {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--terre);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 2;
}

.photo-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(37, 58, 37, 0.7);
  color: white;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.gallery-caption {
  padding: 1rem 1rem 1.3rem 1rem;
  position: relative;
}

.gallery-caption h3 {
  font-size: 1.1rem;
  font-weight: 450;
  color: var(--ombre-verte);
  margin-bottom: 0.2rem;
  padding-right: 70px;
}

.gallery-caption p {
  font-size: 0.8rem;
  color: #6f7e6a;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 300;
}

/* ===== CARTES DE PRÉSENTATION ===== */
.presentation-card {
  background: var(--papier);
  padding: 2.5rem 3rem;
  margin: 2.5rem 0 4rem 0;
  border-radius: 2px;
  box-shadow: 0 12px 28px -12px rgba(37, 58, 37, 0.12);
  border-left: 5px solid var(--mousse);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.pres-texte {
  flex: 2 1 300px;
}

.pres-texte h1 {
  font-size: 2.3rem;
  font-weight: 350;
  color: var(--ombre-verte);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pres-texte h1 i {
  color: var(--mousse);
  font-size: 2rem;
  margin-right: 0.5rem;
}

.pres-texte .intro {
  font-size: 1.15rem;
  font-weight: 300;
  color: #3b4f3b;
  margin-bottom: 1.2rem;
  max-width: 580px;
}

.pres-texte .signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--foret);
}

.signature i {
  font-size: 2.5rem;
  color: var(--mousse);
}

.pres-texte .caption {
  font-style: italic;
  border-left: 2px solid var(--terre);
  padding-left: 1.2rem;
  color: #4e624e;
}

.pres-image i {
  font-size: 5rem;
  color: var(--mousse);
  opacity: 0.8;
  background: var(--cendre);
  padding: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px -10px #2b3a2b;
}

/* ===== CARTE FONDATEUR ===== */
.founder-card-circle {
  background: linear-gradient(145deg, var(--papier), var(--cendre));
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 2px;
  border-left: 5px solid var(--mousse);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 12px 28px -12px rgba(37, 58, 37, 0.12);
}

.founder-image-circle {
  flex: 0 0 120px;
  text-align: center;
}

.founder-image-circle img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--papier);
  box-shadow: 0 8px 18px -10px #2b3a2b;
  transition: transform 0.3s ease;
}

.founder-text-circle {
  flex: 1;
}

.founder-text-circle h3 {
  font-size: 1.8rem;
  font-weight: 320;
  color: var(--ombre-verte);
  margin-bottom: 0.5rem;
}

.founder-text-circle .founder-role {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mousse);
  margin-bottom: 1rem;
}

.founder-text-circle p {
  color: #3b4f3b;
  max-width: 600px;
  line-height: 1.6;
}

/* ===== BANDEAU CONTACT ===== */
.contact-mineral {
  margin: 4.5rem 0 2rem 0;
  padding: 2rem 2rem;
  background: #eae3d9;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.contact-mineral p {
  font-size: 1.1rem;
  font-weight: 320;
  color: #2c402c;
}

.contact-mineral i {
  color: var(--foret);
  margin-right: 0.4rem;
}

/* ===== BOUTON VOIR PLUS ===== */
.voir-plus-container {
  text-align: center;
  margin: 3rem 0 2rem 0;
}

.btn-voir-plus {
  background: transparent;
  border: 2px solid var(--foret);
  color: var(--foret);
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  border-radius: 30px;
}

.btn-voir-plus:hover {
  background: var(--foret);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(62, 90, 62, 0.3);
}

.btn-voir-plus i {
  margin-right: 0.5rem;
}

/* ===== PAGE CONTACT ===== */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.contact-info {
  background: var(--papier);
  padding: 2.5rem;
  border-radius: 2px;
}

.contact-info h2 {
  font-weight: 350;
  color: var(--ombre-verte);
  margin-bottom: 1.5rem;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0;
}

.info-line i {
  width: 2rem;
  color: var(--mousse);
}

.info-line .insta {
  text-decoration: none;
  color: #253a25;
}

.contact-form {
  background: var(--papier);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--foret);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--cendre);
  border: 1px solid transparent;
  font-family: inherit;
  color: var(--ombre-verte);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 1px solid var(--mousse);
  background: white;
}

.btn-submit {
  background: transparent;
  border: 2px solid var(--foret);
  color: var(--foret);
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  border-radius: 30px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--foret);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(62, 90, 62, 0.3);
}

.btn-submit i {
  margin-right: 0.5rem;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 100px);
}

.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid var(--papier);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 1.2rem;
  padding: 10px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  z-index: 2001;
}

.lightbox-counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  background: rgba(62, 90, 62, 0.8);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  z-index: 2002;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--terre);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* ===== BOUTON RETOUR EN HAUT ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--foret);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(62, 90, 62, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--ombre-verte);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 58, 37, 0.4);
}

.scroll-to-top:hover i {
  transform: translateY(-3px);
}

/* ===== MESSAGE AUCUN RÉSULTAT ===== */
#no-results {
  text-align: center;
  padding: 3rem;
  background: var(--papier);
  margin: 2rem 0;
}

/* ===== PAGE VIDÉOS ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.video-card {
  background: var(--papier);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 22px -12px rgba(55, 70, 55, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 30px -15px #2e4a2e80;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--lichen);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  font-size: 1.2rem;
  font-weight: 450;
  color: var(--ombre-verte);
  margin-bottom: 0.5rem;
}

.video-info p {
  color: #6f7e6a;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.video-category {
  display: inline-block;
  background: var(--lichen);
  color: var(--foret);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Sections vidéo */
.video-section {
  margin: 4rem 0;
}

.video-section h2 {
  font-size: 2rem;
  font-weight: 320;
  color: var(--foret);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-section h2 i {
  color: var(--mousse);
  font-size: 1.8rem;
}

.video-section h2:after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--lichen), transparent);
}

/* Badge "À venir" pour vidéos non disponibles */
.video-coming-soon {
  position: relative;
  background: var(--cendre);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.video-coming-soon p {
  background: var(--foret);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
}

/* Thumbnail avec bouton play */
.video-thumbnail {
  position: relative;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(62, 90, 62, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--foret);
}

/* Lightbox pour vidéos (optionnel) */
.video-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.video-lightbox.active {
  display: flex;
}

.video-lightbox-content {
  width: 90%;
  max-width: 1000px;
  position: relative;
}

.video-lightbox-content .video-container {
  padding-bottom: 56.25%;
}

.video-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3001;
}

.video-lightbox-close:hover {
  color: var(--terre);
}

/* ===== BANNIÈRE COOKIES ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(250, 248, 244, 0.98);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1.5rem;
  border-top: 3px solid var(--foret, #3e5a3e);
  backdrop-filter: blur(5px);
  max-height: 90vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text h3 {
  color: var(--foret, #3e5a3e);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-text h3 i {
  color: var(--terre, #b7a18a);
}

.cookie-text p {
  color: #2b3a2b;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  flex: 1 1 auto;
  text-align: center;
}

.cookie-btn-primary {
  background: var(--foret, #3e5a3e);
  color: white;
}

.cookie-btn-primary:hover {
  background: var(--ombre-verte, #253a25);
}

.cookie-btn-secondary {
  background: transparent;
  border: 1px solid var(--foret, #3e5a3e);
  color: var(--foret, #3e5a3e);
}

.cookie-btn-secondary:hover {
  background: var(--lichen, #c0cfc1);
}

.cookie-btn-link {
  background: transparent;
  color: var(--foret, #3e5a3e);
  text-decoration: underline;
}

.cookie-btn-link:hover {
  color: var(--terre, #b7a18a);
}

.cookie-customize {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lichen, #c0cfc1);
}

.cookie-customize h4 {
  color: var(--foret, #3e5a3e);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-option-text {
  flex: 1;
}

.cookie-option-text strong {
  display: block;
  color: var(--ombre-verte, #253a25);
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.cookie-option-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #4a5e4a;
  line-height: 1.4;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--foret, #3e5a3e);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

input:disabled + .cookie-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-customize-buttons {
  text-align: right;
  margin-top: 1rem;
}

.cookie-customize-buttons .cookie-btn {
  min-width: 200px;
}

.cookie-customize.hidden {
  display: none;
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner:not(.hidden) {
  animation: slideUp 0.3s ease-out;
}

/* ===== ACCESSIBILITÉ ===== */
.cookie-btn:focus-visible {
  outline: 2px solid var(--foret);
  outline-offset: 2px;
}

.cookie-switch input:focus-visible + .cookie-slider {
  outline: 2px solid var(--foret);
  outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 780px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  body {
    padding-top: var(--header-height-mobile);
  }

  .container {
    padding: 0 1.2rem 2rem 1.2rem;
  }

  .header {
    padding: 0.8rem 1.2rem;
    height: var(--header-height-mobile);
  }

  .header.scrolled {
    padding: 0.5rem 1.2rem;
  }

  .logo {
    font-size: 1.3rem;
    gap: 0.8rem;
  }

  .logo .Home {
    font-size: 1.3rem;
  }

  .logo span {
    font-size: 0.7rem;
  }

  .logo-img {
    height: 40px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height-mobile);
    right: -100%;
    width: 70%;
    height: calc(100vh - var(--header-height-mobile));
    background: var(--papier);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.3s;
    z-index: 99;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1.2rem;
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.3rem;
    font-size: 0.75rem;
    white-space: normal;
    word-break: keep-all;
  }

  .founder-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .founder-text h3 {
    font-size: 1.5rem;
  }

  .founder-text .founder-role {
    font-size: 0.8rem;
  }

  .founder-text p {
    font-size: 0.95rem;
  }

  .founder-image {
    flex: 0 0 80px;
  }

  .founder-image img {
    width: 80px;
    height: 80px;
    padding: 1rem;
  }

  .pres-texte h1 {
    font-size: 1.8rem;
  }

  .pres-texte h1 i {
    font-size: 1.6rem;
  }

  .pres-texte .intro {
    font-size: 1rem;
  }

  .pres-texte .caption {
    font-size: 0.9rem;
  }

  .pres-image i {
    font-size: 3.5rem;
    padding: 1rem;
  }

  .contact-page {
    grid-template-columns: 1fr;
  }

  .presentation-card {
    padding: 1.5rem;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-nav.prev {
    left: 5px;
  }

  .lightbox-nav.next {
    right: 5px;
  }

  .lightbox-caption {
    font-size: 1rem;
    bottom: 60px;
  }

  .lightbox-counter {
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
    bottom: 20px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }

  /* Responsive vidéos */
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .video-section h2 {
    font-size: 1.6rem;
  }

  .video-section h2 i {
    font-size: 1.4rem;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* Cookies responsive */
  .cookie-banner {
    padding: 1.2rem;
  }

  .cookie-text h3 {
    font-size: 1.2rem;
  }

  .cookie-text p {
    font-size: 0.9rem;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-btn {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .cookie-option {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--lichen);
  }

  .cookie-option:last-child {
    border-bottom: none;
  }

  .cookie-switch {
    align-self: flex-start;
  }

  .cookie-customize-buttons {
    text-align: center;
  }

  .cookie-customize-buttons .cookie-btn {
    width: 100%;
    min-width: auto;
  }

  .cookie-customize {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .cookie-customize h4 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .filter-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }

  .filter-btn {
    padding: 0.4rem 0.2rem;
    font-size: 0.65rem;
  }

  .founder-text h3 {
    font-size: 1.3rem;
  }

  .founder-text p {
    font-size: 0.9rem;
  }

  .pres-texte h1 {
    font-size: 1.5rem;
  }

  .pres-texte .intro {
    font-size: 0.95rem;
  }

  .founder-image {
    flex: 0 0 70px;
  }

  .founder-image img {
    width: 70px;
    height: 70px;
    padding: 0.8rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
  }

  /* Responsive vidéos petits écrans */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .video-info {
    padding: 1rem;
  }

  .video-info h3 {
    font-size: 1.1rem;
  }

  .video-info p {
    font-size: 0.85rem;
  }

  .video-section h2 {
    font-size: 1.4rem;
  }

  .play-button {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  /* Cookies très petits écrans */
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-text h3 {
    font-size: 1.1rem;
  }

  .cookie-text p {
    font-size: 0.85rem;
  }

  .cookie-btn {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }

  .cookie-option-text strong {
    font-size: 0.95rem;
  }

  .cookie-option-text p {
    font-size: 0.8rem;
  }

  .cookie-switch {
    width: 44px;
    height: 22px;
  }

  .cookie-slider:before {
    height: 16px;
    width: 16px;
  }

  input:checked + .cookie-slider:before {
    transform: translateX(22px);
  }
}

@media (max-width: 360px) {
  .cookie-banner {
    padding: 0.8rem;
  }

  .cookie-text h3 {
    font-size: 1rem;
  }

  .cookie-text p {
    font-size: 0.8rem;
  }

  .cookie-btn {
    padding: 0.6rem 0.6rem;
    font-size: 0.8rem;
  }

  .cookie-option-text strong {
    font-size: 0.9rem;
  }

  .cookie-option-text p {
    font-size: 0.75rem;
  }

  .cookie-switch {
    width: 40px;
    height: 20px;
  }

  .cookie-slider:before {
    height: 14px;
    width: 14px;
  }

  input:checked + .cookie-slider:before {
    transform: translateX(20px);
  }
}

@media (max-width: 780px) {
  .pres-image-img {
    width: 90px;
    height: 90px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .pres-image-img {
    width: 70px;
    height: 70px;
    padding: 0.8rem;
  }
}

@media (max-width: 780px) {
  .founder-card-circle {
    padding: 1.5rem;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .founder-text-circle h3 {
    font-size: 1.5rem;
  }
  
  .founder-text-circle .founder-role {
    font-size: 0.8rem;
  }
  
  .founder-text-circle p {
    font-size: 0.95rem;
  }
  
  .founder-image-circle {
    flex: 0 0 80px;
  }
  
  .founder-image-circle img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .founder-text-circle h3 {
    font-size: 1.3rem;
  }
  
  .founder-text-circle p {
    font-size: 0.9rem;
  }
  
  .founder-image-circle {
    flex: 0 0 70px;
  }
  
  .founder-image-circle img {
    width: 70px;
    height: 70px;
  }
}