/* ------------------------------
   STYLE GLOBAL
------------------------------ */

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #faf7ef;
  color: #222;
}

/* Bannière */
.banner {
  background-color: #f1e3c5;
  text-align: center;
  padding: 0.6rem;
  font-weight: bold;
  font-size: 0.9rem;
}

/* ------------------------------
   ACCUEIL – HERO AVEC FOND PRAIRIE
------------------------------ */

.home-hero {
  background-image: url('images/fond-prairie.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  color: white;
  position: relative;
}

/* Assombrissement */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);   /* plus sombre = meilleure lisibilité */
  z-index: 0;
}

.home-hero h1,
.home-hero p {
  position: relative;
  z-index: 1;
}

/* Texte directement sur le fond (pas de cadre gris) */
.home-hero p {
  padding: 0.5rem 0;
  margin-top: 1rem;
  max-width: 700px;
  line-height: 1.5rem;
  font-size: 1.1rem;
}

/* ------------------------------
   NAVIGATION
------------------------------ */

header {
  background-color: #151511;
  color: #fff;
  padding: 0.5rem 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
}

nav a.active {
  background-color: #b08b3b;
  color: #000;
  border-radius: 5px;
}

/* ------------------------------
   PHOTOS – NOTRE ÉLEVAGE & PRESSE
------------------------------ */

.elevage-photo img,
.article-photo img,
.card img {
  width: 90%;
  max-width: 420px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

/* ------------------------------
   FOOTER
------------------------------ */

footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
  color: #444;
}

/* ------------------------------
   RESPONSIVE MOBILE
------------------------------ */

@media (max-width: 600px) {
  .home-hero {
    padding: 40px 20px;
    text-align: left;
  }
  nav ul {
    flex-direction: column;
  }
#alerte-vente {
  max-width: 750px;
  margin: 40px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#alerte-vente h2 {
  text-align: center;
  margin-bottom: 10px;
}

#alerte-vente p {
  text-align: center;
  margin-bottom: 20px;
}

#alerte-vente form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#alerte-vente .form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#alerte-vente input,
#alerte-vente select,
#alerte-vente textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font: inherit;
}

#alerte-vente textarea {
  resize: vertical;
}

#alerte-vente button {
  align-self: center;
  padding: 12px 40px;
  background: black;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
}

#alerte-vente .rgpd-note {
  font-size: 0.8rem;
  color: #555;
  text-align: center;
  margin-top: 10px;
}
/* Bloc alerte vente (formulaire) */
#alerte-vente {
  max-width: 750px;
  margin: 40px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#alerte-vente h2 {
  text-align: center;
  margin-bottom: 10px;
}

#alerte-vente p {
  text-align: center;
  margin-bottom: 20px;
}

#alerte-vente form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#alerte-vente .form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#alerte-vente label {
  font-weight: 500;
}

#alerte-vente input,
#alerte-vente textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font: inherit;
}

#alerte-vente textarea {
  resize: vertical;
}

#alerte-vente .consent {
  font-size: 0.9rem;
}

#alerte-vente .rgpd-note {
  font-size: 0.8rem;
  color: #555;
  margin-top: 5px;
  text-align: center;
}

#alerte-vente button[type="submit"] {
  align-self: center;
  padding: 12px 40px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* Illustration rupture */
.rupture-illustration {
  max-width: 500px;
  margin: 30px auto 10px auto;
  text-align: center;
}

.rupture-illustration img {
  max-width: 100%;
  height: auto;
}

/* Cartes de colis + ruban rupture */
.colis-card {
  position: relative;
  margin-top: 25px;
}

.rupture-ribbon {
  position: absolute;
  top: 12px;
  right: -20px;
  background: #c62828;
  color: #fff;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(15deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Bouton désactivé */
.btn.disabled {
  background: #999;
  cursor: default;
}

/* Badge livraison */
.badge-livraison {
  display: inline-block;
  background: #f2efe9;
  color: #2b2b2b;
  border-left: 5px solid #8b5e3c;
  padding: 10px 15px;
  margin: 15px 0 25px 0;
  font-weight: 600;
  border-radius: 4px;
}

/* Formulaire réservation (si tu n'as pas déjà un style équivalent) */
.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.reservation-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.reservation-form input,
.reservation-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.colis-photo {
  margin: 15px 0 5px 0;
  text-align: center;
}

.colis-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.photo-caption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 6px;
}
/* Centrage des titres */
main h1,
main h2{
  text-align: center;
}

.colis-card h3,
.colis-card h4{
  text-align: center;
}

/* Centrer le texte d’intro des sections colis */
.colis-card > p{
  text-align: center;
}

/* Centrer et limiter la largeur des blocs de texte sous les titres */
section > p,
.section-intro{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Réduire la photo du colis Prestige + rendu premium */
.colis-photo{
  text-align: center;
  margin: 14px 0 10px 0;
}

.colis-photo img{
  width: 100%;
  max-width: 280px;   /* <- taille réduite (mets 260 si tu veux plus petit) */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Légende */
.photo-caption{
  font-size: 0.85rem;
  color: #666;
  margin: 8px 0 0 0;
}

/* Boutons bien centrés */
.btn-row{
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* Cartes colis un peu plus “pro” */
.colis-card{
  max-width: 860px;
  margin: 0 auto 26px auto;
}
}