/* ========== VARIABLES — Ta palette Malvoisin ========== */
:root {
  --blanc:  #ffffff;
  --navy:   #1b2b3c;
  --rouge:  #7A2E2E;
  --vert:   #2F5D50;
  --ambre:  #9A5A2E;
  --creme:  #f5f0eb;
}

/* ========== RESET — Remet tous les navigateurs à zéro ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== BASE ========== */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--creme);
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ========== TYPOGRAPHIE ========== */
h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--rouge);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
}

/* ========== SECTIONS ========== */
section {
  padding: 5rem 10vw;
}
/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 70px;
  padding: 0 5vw;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--rouge);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-logo {
  color: var(--blanc);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
  color: var(--ambre);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul a {
  color: var(--blanc);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--ambre);
  text-decoration: none;
}

/* Compense la navigation fixe en haut de page */
body {
  padding-top: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo img {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

.nav-nom {
  color: var(--blanc);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-logo:hover .nav-nom {
  color: var(--ambre);
}

/* ========== HERO ========== */
#hero {
  min-height: 90vh;
  background-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 10vw;
}

#hero h1 {
  color: var(--blanc);
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

#hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.hero-identite {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.hero-identite h1 {
  color: var(--blanc);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 0rem;
  line-height: 0.5;
}

.hero-identite h2 {
  color: var(--blanc);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: none;
  margin-bottom: 0rem;
  margin-top: -0.5;
}

.hero-agrement {
  display: inline-block;
  color: var(--blanc);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-bottom: 2rem;
}
/* ========== HERO PAGE (pages intérieures) ========== */
#hero-page {
  background-color: var(--navy);
  padding: 4rem 10vw;
  text-align: center;
}

#hero-page h1 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

#hero-page p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ========== BOUTONS ========== */
.hero-boutons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.bouton-principal,
.bouton-secondaire {
  display: inline-block;
  color: var(--blanc);
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* Remplissage bordeaux depuis le bas */
.bouton-principal::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0%;
  background-color: var(--rouge);
  transition: height 0.4s ease;
  z-index: -1;
}
.bouton-secondaire::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0%;
  background-color: var(--vert);
  transition: height 0.4s ease;
  z-index: -1;
}

.bouton-principal:hover::before,
.bouton-secondaire:hover::before {
  height: 100%;
}

.bouton-principal:hover,
.bouton-secondaire:hover {
  color: var(--blanc);
  border-color: var(--ambre) !important;
  text-decoration: none;
}

/* Bordure bordeaux pour le bouton pro */
.bouton-principal {
  background-color: transparent;
  border: 2px solid var(--rouge);
}

/* Bordure verte pour le bouton particulier */
.bouton-secondaire {
  background-color: transparent;
  border: 2px solid var(--vert);
}
/* Bouton commander sur fond clair */
#commander .bouton-principal {
  background-color: var(--navy);
  border-color: var(--navy);
}

#commander .bouton-principal:hover {
  border-color: var(--ambre);
}

/* ========== CHIFFRES CLÉS ========== */
#chiffres {
  background-color: var(--rouge);
  padding: 2.5rem 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.chiffres-ligne {
  display: flex;
  justify-content: center;
  gap: 6rem;
}

.chiffres-ligne:last-child {
  align-self: flex-start;
  padding-left: 30vw;
}

.chiffre {
  text-align: center;
  color: var(--blanc);
  position: relative;
}

.chiffre:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.nombre {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.legende {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}
/* ========== PARCOURS (2 colonnes accueil) ========== */
#parcours {
  background-color: var(--blanc);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0;
}

.parcours-card {
  padding: 4rem 5vw;
}

.parcours-card:first-child {
  background-color: var(--navy);
  color: var(--blanc);
}

.parcours-card:last-child {
  background-color: var(--vert);
  color: var(--blanc);
}

.parcours-card h2 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

.parcours-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.parcours-card ul {
  margin-bottom: 2rem;
}

.parcours-card ul li {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.parcours-card ul li::before {
  content: "→ ";
  color: var(--ambre);
}

/* ========== SERVICES GRID ========== */
#services-pro,
#services-particuliers {
  text-align: center;
}

#services-pro {
  background-color: var(--creme);
}

#services-pro h2,
#services-particuliers h2 {
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--blanc);
  border-top: 3px solid var(--rouge);
  padding: 2rem;
  text-align: left;
}

#services-particuliers .service-card {
  background-color: var(--creme);
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(27, 43, 60, 0.7);
  margin-bottom: 1rem;
}

.service-card ul li {
  font-size: 0.85rem;
  color: rgba(27, 43, 60, 0.65);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(27, 43, 60, 0.08);
}

.service-card ul li::before {
  content: "→ ";
  color: var(--rouge);
}

.service-numero {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bouton-lien {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--ambre);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid var(--ambre);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.bouton-lien:hover {
  color: var(--vert);
  border-bottom-color: var(--vert);
}

/* ========== CIBLES PROFESSIONNELS ========== */
#cibles {
  background-color: var(--creme);
  text-align: center;
}

#cibles h2 {
  margin-bottom: 3rem;
}

.cibles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cible-card {
  background-color: var(--navy);
  color: var(--blanc);
  padding: 2.5rem 2rem;
  border-bottom: 3px solid var(--ambre);
}

.cible-card h3 {
  color: var(--blanc);
  margin-bottom: 0.75rem;
}

.cible-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ========== ANIMAUX ========== */
#animaux {
  background-color: var(--navy);
  padding: 5rem 10vw;
  text-align: center;
}

#animaux h2 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

.animaux-intro {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.animaux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.animal-card {
  background: var(--rouge);
  border: 1px solid rgba(255,255,255,0.08);
  border-color: var(--ambre);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.animal-card:hover {
  background: var(--vert);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.animal-icone {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.animal-card h3 {
  color: var(--blanc);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.animal-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.75;
}



/* ========== ATELIER ========== */
/* ========== TIMELINE ========== */
#histoire {
  background-color: var(--navy);
  padding: 5rem 10vw;
}

.timeline-header {
  text-align: center;
  margin-bottom: 5rem;
  margin-top: -5rem;
}

.timeline-eyebrow {
  display: inline-block;
  color: var(--ambre);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.timeline-header h2 {
  color: var(--blanc);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.timeline-header h2 em {
  font-style: italic;
  color: var(--ambre);
  font-weight: 300;
}

.timeline-header p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, var(--rouge), var(--ambre));
  transform: translateX(-50%);
  transition: height 2s ease;
}

.timeline.ligne-visible::before {
  height: 100%;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 3rem);
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 3rem);
  transform: translateX(30px);
}

.timeline-item:nth-child(even).visible {
  transform: translateX(0);
}

.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.4s; }
.timeline-item:nth-child(5) { transition-delay: 0.5s; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--ambre);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--navy);
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(154, 90, 46, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(154, 90, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(154, 90, 46, 0); }
}

.timeline-item.actuel::before {
  background: var(--rouge);
  width: 18px;
  height: 18px;
  animation: pulse-rouge 2s ease-in-out infinite;
}

@keyframes pulse-rouge {
  0%   { box-shadow: 0 0 0 0 rgba(122, 46, 46, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(122, 46, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 46, 46, 0); }
}

.timeline-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--rouge);
  padding: 2rem 2.5rem;
  max-width: 420px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.timeline-item:nth-child(even) .timeline-card {
  border-left: none;
  border-right: 3px solid var(--ambre);
}

.timeline-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.timeline-card .extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.timeline-card:hover .extra {
  max-height: 100px;
  opacity: 1;
  margin-top: 1rem;
}

.extra p {
  font-size: 0.8rem !important;
  color: var(--ambre) !important;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.75rem;
  font-style: italic;
}

.timeline-annee {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  color: var(--blanc);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.timeline-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 0;
}

.timeline-item.actuel .timeline-card {
  background: rgba(122, 46, 46, 0.15);
  border-color: var(--rouge);
  border-width: 2px;
}

.timeline-conclusion {
  text-align: center;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.5s;
}

.timeline-conclusion.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-conclusion span:first-child {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--blanc);
}

.timeline-conclusion span:last-child {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ambre);
}


/* ========== CERTIFICATIONS ========== */
#agrément {
  background-color: var(--creme);
  padding: 4rem 10vw;
  text-align: center;
}

.agrement-contenu {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(27, 43, 60, 0.12);
  border-top: 3px solid var(--rouge);
  padding: 2.5rem 4rem;
  background-color: var(--blanc);
}

.agrement-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(27, 43, 60, 0.5);
}

.agrement-numero {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
}

/* ========== VENTE DIRECTE ========== */
#pourquoi-direct {
  background-color: var(--creme);
  text-align: center;
}

#pourquoi-direct h2 {
  margin-bottom: 3rem;
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 1fr);
  gap: 1.5rem;
}

.avantage {
  background-color: var(--blanc);
  padding: 2rem;
  border-top: 3px solid var(--vert);

}

.avantage h3 {
  color: var(--vert);
  margin-bottom: 0.75rem;
}

.avantage p {
  font-size: 0.9rem;
  color: rgba(27, 43, 60, 0.7);
  margin: 0;
}

#produits {
  background-color: var(--blanc);
  text-align: center;
  padding: 5rem 10vw;
}

#produits h2 {
  margin-bottom: 3rem;
}

.sous-titre {
color: var(--rouge);
margin-top: -2rem;
margin-bottom: 2rem;
}

.produits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 5rem;
  max-width: 2000px;
  margin : 0 auto;
  width: 100%;
}

.produit-card {
  background-color: var(--creme);
  padding: 2rem;
  border-top: 3px solid var(--ambre);
  text-align: left;
}

.produit-card h3 {
  color: var(--ambre);
  margin-bottom: 0.75rem;
  text-align: center;
}

.produit-card p {
  font-size: 0.9rem;
  color: rgba(27, 43, 60, 0.7);
  margin-bottom: 1rem;
}

.produit-card ul li {
  font-size: 0.85rem;
  color: rgba(27, 43, 60, 0.65);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(27, 43, 60, 0.08);
}

.produit-card ul li::before {
  content: "→ ";
  color: var(--ambre);
}

.sous-titre2 {
  color: var(--vert);
  text-align: center;
  margin-top: 2rem;
  width: 100%;
  grid-column: 1/-1;
}

/* ========== HORAIRES ========== */
#horaires {
  background-color: var(--navy);
  text-align: center;
}

#horaires h2 {
  color: var(--blanc);
  margin-bottom: 3rem;
}

.horaires-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.horaire-item {
  padding: 2rem;
  border-top: 3px solid var(--rouge);
}

.horaire-item h3 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

.horaire-item ul li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========== CONTACT ========== */
#infos-contact {
  background-color: var(--creme);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h3 {
  color: var(--rouge);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.info-item p,
.info-item ul li {
  font-size: 0.92rem;
  color: var(--navy);
}

.info-item a {
  color: var(--navy);
}

.info-item a:hover {
  color: var(--rouge);
}

/* ========== CARTE GOOGLE MAPS ========== */
#carte {
  background-color: var(--blanc);
  text-align: center;
}

#carte h2 {
  margin-bottom: 2rem;
}

.carte-placeholder {
  background-color: var(--creme);
  border: 2px dashed rgba(27, 43, 60, 0.2);
  padding: 4rem;
  color: rgba(27, 43, 60, 0.4);
  font-size: 0.9rem;
}

/* ========== FORMULAIRES ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

.contact-formulaire form {
  max-width: 100%;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: Georgia, serif;
  font-size: 0.92rem;
  color: var(--navy);
  background-color: var(--creme);
  border: 1.5px solid rgba(27, 43, 60, 0.15);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rouge);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-formulaire {
  background-color: var(--blanc);
  padding: 3rem;
  border-top: 3px solid var(--rouge);
}

.contact-formulaire h2 {
  margin-bottom: 0.5rem;
}

.contact-formulaire .bouton-principal {
  background-color: var(--navy);
  border-color: var(--navy);
}

.contact .bouton-principal:hover {
  border-color: var(--ambre);
}

#devis .bouton-principal {
  background-color: var(--navy);
  border-color: var(--navy);
}

#devis .bouton-principal:hover {
  border-color: var(--ambre);
}

/* ========== MENTIONS LÉGALES ========== */
#mentions {
  max-width: 800px;
  margin: 0 auto;
}

.mentions-bloc {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(27, 43, 60, 0.1);
}

.mentions-bloc:last-child {
  border-bottom: none;
}

.mentions-bloc h2 {
  color: var(--rouge);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.mentions-bloc p {
  font-size: 0.92rem;
  color: rgba(27, 43, 60, 0.75);
  margin-bottom: 0.5rem;
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--navy);
  padding: 2rem 10vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border-top: 2px solid var(--rouge);
}

footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

.footer-liens {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-liens a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-liens a:hover {
  color: var(--blanc);
}



/* ========== BURGER MENU ========== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--blanc);
  transition: all 0.3s;
}

.burger-actif span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-actif span:nth-child(2) {
  opacity: 0;
}

.burger-actif span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ========== ANIMATIONS AU SCROLL ========== */
.animer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animer.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ========== FILTRES RECETTES ========== */
#filtres {
  background-color: var(--blanc);
  padding: 2rem 10vw;
  text-align: center;
}

.filtres-boutons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filtre-btn {
  padding: 10px 24px;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: transparent;
  color: var(--navy);
  border: 2px solid rgba(27, 43, 60, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
}

.filtre-btn:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}

.filtre-actif {
  background-color: var(--rouge);
  color: var(--blanc);
  border-color: var(--rouge);
}

/* ========== GRILLE RECETTES ========== */
#liste-recettes {
  background-color: var(--creme);
}

#autres-recettes {
  background-color: var(--creme);
  text-align: center;
}

#autres-recettes h2 {
  margin-bottom: 3rem;
}

.recettes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.recette-card {
  background-color: var(--blanc);
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}

.recette-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.recette-image {
  background-color: var(--navy);
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
}

.recette-card[data-categorie="boeuf"] .recette-image {
  background-color: transparent;
}

.recette-card[data-categorie="porc"] .recette-image {
  background-color: var(--ambre);
}

.recette-card[data-categorie="agneau"] .recette-image {
  background-color: var(--vert);
}

.recette-categorie {
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}

.recette-contenu {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recette-contenu h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.recette-contenu p {
  font-size: 0.88rem;
  color: rgba(27, 43, 60, 0.65);
  flex: 1;
  margin-bottom: 1rem;
}

.recette-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.recette-meta span {
  font-size: 0.8rem;
  color: rgba(27, 43, 60, 0.5);
}

/* ========== PAGE RECETTE ========== */
.recette-tag {
  display: inline-block;
  background-color: var(--rouge);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.recette-infos {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0 2rem;
}

.recette-infos span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ========== LAYOUT RECETTE ========== */
#contenu-recette {
  background-color: var(--creme);
}

.recette-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

/* Ingrédients */
.recette-ingredients {
  background-color: var(--blanc);
  padding: 2.5rem;
  border-top: 3px solid var(--rouge);
  position: sticky;
  top: 90px;
}

.recette-ingredients h2 {
  margin-bottom: 0.5rem;
}

.pour-personnes {
  font-size: 0.85rem;
  color: rgba(27, 43, 60, 0.5);
  margin-bottom: 1.5rem;
}

.ingredients-liste {
  margin-bottom: 2rem;
}

.ingredients-liste li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(27, 43, 60, 0.08);
  font-size: 0.92rem;
  color: var(--navy);
}

.ingredients-liste li::before {
  content: "→ ";
  color: var(--rouge);
}

.conseil-achat {
  background-color: var(--creme);
  padding: 1.5rem;
  border-left: 3px solid var(--vert);
  margin-top: 2rem;
}

.conseil-achat h3 {
  color: var(--vert);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.conseil-achat p {
  font-size: 0.85rem;
  color: rgba(27, 43, 60, 0.7);
  margin-bottom: 1rem;
}

/* Préparation */
.recette-preparation h2 {
  margin-bottom: 2rem;
}

.etapes-recette {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.etape-recette {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.etape-recette-numero {
  font-size: 2rem;
  font-weight: 700;
  color: var(--rouge);
  opacity: 0.4;
  line-height: 1;
}

.etape-recette-contenu h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.etape-recette-contenu p {
  font-size: 0.92rem;
  color: rgba(27, 43, 60, 0.7);
  line-height: 1.75;
  margin: 0;
}

/* Conseil boucher */
.conseil-boucher {
  background-color: var(--navy);
  padding: 2rem;
  border-left: 4px solid var(--ambre);
}

.conseil-boucher h3 {
  color: var(--ambre);
  margin-bottom: 0.75rem;
}

.conseil-boucher p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin: 0;
}

/* ========== LIEN RECETTES (vente directe) ========== */
#recettes-link {
  background-color: var(--vert);
  text-align: center;
  color: var(--blanc);
}

#recettes-link h2 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

#recettes-link p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}


/* ========== RECRUTEMENT ========== */
#pourquoi-rejoindre {
  background-color: var(--blanc);
  text-align: center;
}

#pourquoi-rejoindre h2 {
  margin-bottom: 3rem;
}

.rejoindre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rejoindre-item {
  padding: 2rem;
  background-color: var(--creme);
  border-top: 3px solid var(--vert);
}

.rejoindre-item h3 {
  color: var(--vert);
  margin-bottom: 0.75rem;
}

.rejoindre-item p {
  font-size: 0.9rem;
  color: rgba(27, 43, 60, 0.7);
  margin: 0;
}

/* ========== POSTES ========== */
#postes {
  background-color: var(--creme);
  text-align: center;
}

#postes h2 {
  margin-bottom: 3rem;
}

.postes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.poste-card {
  background-color: var(--blanc);
  padding: 2.5rem;
  border-top: 3px solid var(--rouge);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.poste-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.poste-tag {
  background-color: var(--rouge);
  color: var(--blanc);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}

.poste-header h3 {
  margin: 0;
  color: var(--navy);
}

.poste-contenu p {
  font-size: 0.92rem;
  color: rgba(27, 43, 60, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.poste-contenu h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.poste-contenu ul li {
  font-size: 0.88rem;
  color: rgba(27, 43, 60, 0.7);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(27, 43, 60, 0.08);
}

.poste-contenu ul li::before {
  content: "→ ";
  color: var(--rouge);
}

#postes .bouton-principal {
  background-color: var(--navy);
  border-color: var(--navy);
}

#postes .bouton-principal:hover {
  border-color: var(--ambre);
}

/* ========== FORMULAIRE RECRUTEMENT ========== */
#candidature {
  background-color: var(--navy);
  text-align: center;
}

#candidature h2 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

#candidature > p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.form-recrutement {
  background-color: var(--blanc);
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  border-top: 3px solid var(--rouge);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
}

#candidature .bouton-principal {
  background-color: var(--navy);
  border-color: var(--navy);
}

#candidature .bouton-principal:hover {
  border-color: var(--ambre);
}


/* Boutons sur fond clair dans services */
#services-pro .bouton-principal,
#services-particuliers .bouton-principal {
  background-color: var(--navy);
  border-color: var(--navy);
}

#services-pro .bouton-principal:hover,
#services-particuliers .bouton-principal:hover {
  border-color: var(--ambre);
}
/* ========== BOUTON FLOTTANT ========== */
.flottant-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: 999;
}

.flottant-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.flottant-option.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.flottant-option:nth-child(1) { transition-delay: 0.1s; }
.flottant-option:nth-child(2) { transition-delay: 0.05s; }

.flottant-label {
  background-color: var(--navy);
  color: var(--blanc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.flottant-btn-small {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.flottant-btn-small:hover {
  transform: scale(1.1);
}

.flottant-btn-small svg {
  width: 20px;
  height: 20px;
}

.btn-tel { background-color: var(--vert); }
.btn-mail { background-color: var(--ambre); }

.flottant-principal {
  width: 56px;
  height: 56px;
  background-color: var(--rouge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(122, 46, 46, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  flex-shrink: 0;
}

.flottant-principal:hover {
  background-color: var(--ambre);
  transform: translateY(-2px);
}

.flottant-principal svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.flottant-principal.ouvert {
  background-color: var(--navy);
}

.flottant-principal.ouvert svg {
  transform: rotate(90deg);
}
/* Bouton commander dans les recettes */
.conseil-achat .bouton-principal {
  background-color: var(--vert);
  border-color: var(--vert);
}

.conseil-achat .bouton-principal:hover {
  border-color: var(--ambre);
}
/* Boutons hero vente directe */
.hero-boutons-vente {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.bouton-secondaire-small {
  display: inline-block;
  color: var(--blanc);
  padding: 10px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid var(--vert);
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.bouton-secondaire-small::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0%;
  background-color: var(--vert);
  transition: height 0.4s ease;
  z-index: -1;
}

.bouton-secondaire-small:hover::before {
  height: 100%;
}

.bouton-secondaire-small:hover {
  color: var(--blanc);
  border-color: var(--ambre);
  text-decoration: none;
}
/* Image recette */

.recette-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.recette-image {
  position: relative;
}

/* ========================================
   RESPONSIVE — TABLETTE (max 1024px)
======================================== */
@media (max-width: 1024px) {

  nav ul { gap: 1rem; }
  nav ul a { font-size: 0.78rem; }

  .cibles-grid { grid-template-columns: repeat(2, 1fr); }
  .animaux-grid { grid-template-columns: repeat(2, 1fr); }
  .rejoindre-grid { grid-template-columns: repeat(2, 1fr); }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .recettes-grid { grid-template-columns: repeat(2, 1fr); }
  .horaires-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline-item { padding-right: calc(50% + 2rem); }
  .timeline-item:nth-child(even) { padding-left: calc(50% + 2rem); }

  .recette-layout { grid-template-columns: 1fr; gap: 2rem; }
  .recette-ingredients { position: static; }

}

/* ========================================
   RESPONSIVE — MOBILE (max 768px)
======================================== */
@media (max-width: 768px) {

  /* ── NAVIGATION ── */
  nav { padding: 0 1.2rem; }

  .nav-logo img { height: 32px; width: 32px; }

  .nav-nom { font-size: 0.78rem; letter-spacing: 0.04em; }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--navy);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.2rem;
    border-top: 2px solid var(--rouge);
    border-bottom: 2px solid var(--rouge);
    z-index: 999;
  }

  nav ul.menu-ouvert { display: flex; }

  .burger { display: flex; }

  /* ── SECTIONS ── */
  section { padding: 2.5rem 1.2rem !important; }

  /* ── HERO ACCUEIL ── */
  #hero {
    min-height: 100svh;
    padding: 2rem 1.2rem;
    position: relative;
  }

  .hero-bg-logo { width: 260px; height: 260px; opacity: 0.04; }

  .hero-identite { margin-bottom: 1.5rem; }
  .hero-identite h1 { font-size: 2rem; line-height: 1.1; }
  .hero-identite h2 { font-size: 1rem; margin-top: 0.3rem; }
  .hero-agrement { font-size: 0.7rem; letter-spacing: 0.12em; margin-bottom: 1.2rem; }

  #hero p { font-size: 0.95rem; margin-bottom: 1.5rem; }

  /* ── HERO PAGES INTERNES ── */
  #hero-page { padding: 2.5rem 1.2rem !important; }
  #hero-page h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  #hero-page p { font-size: 0.95rem; }

  /* ── CHIFFRES ── */
  #chiffres { padding: 2rem 1.2rem !important; gap: 1.5rem; }

  .chiffres-ligne {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .chiffres-ligne:last-child { align-self: center; padding-left: 0; }

  .chiffre:not(:last-child)::after { display: none; }

  .nombre { font-size: 1.2rem; }
  .legende { font-size: 0.68rem; }

  /* ── PARCOURS ── */
  #parcours { grid-template-columns: 1fr; }

  /* ── TOUTES LES GRILLES → 1 COLONNE ── */
  .valeurs-grid,
  .offre-grid,
  .rejoindre-grid,
  .avantages-grid,
  .animaux-grid,
  .cibles-grid,
  .services-grid,
  .produits-grid,
  .postes-grid,
  .recettes-grid,
  .horaires-grid {
    grid-template-columns: 1fr;
  }

  .produits-grid { gap: 1.5rem; }

  /* ── CONTACT ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-formulaire { padding: 1.5rem; }
  #carte iframe { width: 100%; height: 280px; }

  /* ── TIMELINE ── */
  .timeline::before { left: 0.8rem; }

  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 2.5rem;
    transform: none;
    opacity: 0;
  }

  .timeline-item.visible { opacity: 1; transform: none; }

  .timeline-item::before { left: 0.8rem; width: 12px; height: 12px; }

  .timeline-card {
    max-width: 100%;
    border-left: 3px solid var(--rouge) !important;
    border-right: none !important;
    padding: 1.2rem 1.5rem;
  }

  .timeline-conclusion span:first-child,
  .timeline-conclusion span:last-child { font-size: 1.3rem; }

  /* ── RECETTE ── */
  .recette-layout { grid-template-columns: 1fr; gap: 2rem; }
  .recette-ingredients { position: static; }
  .etape-recette { grid-template-columns: 40px 1fr; gap: 1rem; }
  .recette-infos { gap: 0.75rem; justify-content: center; }

  /* ── BOUTONS ── */
  .bouton-principal,
  .bouton-secondaire,
  .bouton-secondaire-small {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .hero-boutons { flex-direction: column; width: 100%; }
  .hero-boutons-vente { width: 100%; }

  /* ── FORMULAIRES ── */
  .form-row { display: flex; flex-direction: column; }
  .form-recrutement { padding: 1.5rem; }

  /* ── AGRÉMENT ── */
  .agrement-contenu { padding: 1.5rem 2rem; width: 100%; }
  .agrement-numero { font-size: 1.3rem; }

  /* ── FOOTER ── */
  footer { padding: 2rem 1.2rem 5rem !important; gap: 1rem; }
  .footer-liens { flex-direction: column; gap: 0.75rem; align-items: center; }

  /* ── BOUTON FLOTTANT ── */
  .flottant-container { bottom: 1rem; right: 1rem; }
  .flottant-label { display: none; }

  /* ── MAPS ── */
  #carte iframe { width: 100%; height: 300px; }

}

/* ========================================
   RESPONSIVE — PETIT MOBILE (max 480px)
======================================== */
@media (max-width: 480px) {

  .nav-nom { font-size: 0.7rem; letter-spacing: 0.02em; }
  .nav-logo img { height: 28px; width: 28px; }

  .hero-identite h1 { font-size: 1.7rem; }
  .hero-identite h2 { font-size: 0.9rem; }
  .hero-agrement { font-size: 0.65rem; }

  .timeline-conclusion span:first-child,
  .timeline-conclusion span:last-child { font-size: 1.1rem; }

  .nombre { font-size: 1.1rem; }

}