body {
    background-color: #111111;
}

.logotype {
    color: #700000;
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    align-items: center;
    gap: 15px;
  /* positionnement */
    width: fit-content;
    margin: 0 auto;
  /* animation */
    transform: translateX(-120vw);
    animation: slideFromLeft 1s cubic-bezier(.25,.8,.25,1) forwards;
}

.logotype:hover {
  transform: scale(1.1);
  color: white;
}

.title {
  display: flex;
  align-items: center;   /* alignement vertical */
  gap: 15px;             /* espace entre logo et texte */
  font-size: 3rem;       /* taille du h1 */
}

.logo {
  width: 100px;           /* taille du logo */
  height: auto;          /* conserve les proportions */
}

@keyframes slideFromLeft {
  from {
    transform: translateX(-120vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.grand-titre {
    background-color: #000000;
}

.animation-acceuil {
    background-color: #000000;
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-size: 70px;              /* taille du texte */
  font-weight: 700;               /* gras */
  letter-spacing: 10px;         /* espacement des lettres */
  text-transform: uppercase;      /* MAJUSCULES */
  font-family: 'Times New Roman', Times, serif;
  color: #700000;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* chaque mot */
.animation-acceuil span {
  display: inline-block;
  animation: slideCenter 0.9s cubic-bezier(.25,.8,.25,1) forwards;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateX(120vw);
  top: calc(var(--offset) * 1px);
  margin-top: 20px;
  margin-bottom: 20px;
}

.animation-acceuil span:hover {
  transform: scale(1.1);
  color: white;
}

.animation-acceuil span:nth-child(odd) {
  top: -12px;
}

.animation-acceuil span:nth-child(even) {
  top: 12px;
}


@keyframes slideCenter {
  from {
    transform: translateX(120vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

h2 {
    color:#700000;
    text-align: center;
    font-size: 150px;
    font-family: 'Times New Roman', Times, serif
}

p {
    color: black;
    font-size: 25px;
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
    font-family: 'Times New Roman', Times, serif;
}

.cranes {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.cranes img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* coupe sans déformer */
}

.crane-animal {
  /* width: 100%; */
  height: 300px;
  overflow: hidden;
}

.crane-animal img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* coupe sans déformer */
  object-position: center 80%;
}

.sable {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-top: 300px;
  position: relative;  /* PAS absolute */
  z-index: 1;
  /* position: absolute;
  top: 100%;
  left: 0;
  width: 100%; */
}

.sable img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* coupe sans déformer */
}

.presentation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 45vh;
  padding: 60px;
  background-color: #111111;
  position: relative;
  font-family: 'Times New Roman', Times, serif;
}

.presentation-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: center;        /* vertical */
  justify-self: start;       /* horizontal */
  font-size: 50px;
  font-weight: 700;
}

.presentation-text {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  text-align: right;
  align-self: end;
  justify-self: end;
  color: white;
  max-width: 800px;
  font-size: 40px;
  line-height: 1;
  }

@media (max-width: 768px) {
  .presentation {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    padding: 40px;
  }

  .presentation-title,
  .presentation-text {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    align-self: start;
  }

  .presentation-text {
    margin-top: 30px;
  }
}

.presentation--reverse .presentation-title {
  grid-column: 2 / 3;   /* droite */
  grid-row: 1 / 2;
  justify-self: end;
  text-align: right;
  font-size: 50px;
  font-weight: 700;
}

.presentation--reverse .presentation-text {
  grid-column: 1 / 2;   /* gauche */
  grid-row: 2 / 3;
  justify-self: start;
  text-align: left;
  margin-top: 40px;
  margin-bottom: 300px;
  position: relative;
  z-index: 2;
}

.presentation-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: center;
  justify-self: start;
  font-size: 50px;
  font-weight: 700;
}

.presentation-text {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: end;
  justify-self: end;
  /* margin-top: 40px;
  margin-bottom: 40px; */
}

@media (max-width: 768px) {
  .presentation,
  .presentation--reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .presentation-title,
  .presentation-text {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .presentation-text {
    margin-top: 20px;
  }
}


.logo2 {
  width: 80px;           /* taille du logo */
  height: auto;          /* conserve les proportions */
}

.navigation {
  background-color: #000000;
}

.nav {
  padding: 20px 40px;
  text-align: center;
  background-color: #000000;
  display: flex;
  justify-content: center;   /* centre horizontalement */
  padding: 20px 40px;
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
  animation-delay: 0.3s; /* léger délai élégant */
}

.nav-list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1200px;              /* limite pro */
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  color: white;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav a:hover {
  color: #700000;
  transform: translateY(-2px);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #700000;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-list {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.information-provenance {
  width: 100%;
}

.informations-1 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* moitié gauche / moitié droite */
  align-items: start;            /* centrage vertical par défaut */
  min-height: 50vh;               /* hauteur confortable */
  padding: 40px;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}

.information-title {
  grid-column: 1 / 2;     /* colonne gauche */
  text-align: left;
  align-self: start;      /* reste en haut */
  margin-top: 40px;     /* décalage vers le haut */
  font-size: 2.5rem;
  transform: translateY(-40px);
}

.information-text {
  grid-column: 2 / 3;     /* colonne droite */
  text-align: end;
  color: white;
  margin-top: 40px;
  max-width: 600px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .informations-1 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

    .information-title {
    margin-top: 0;
    transform: none;
  }

  .information-title,
  .information-text {
    grid-column: auto;
  }

  .information-text {
    margin-top: 20px;
    align-self: start;
  }
}

/* formulaire de contact */

.contact-section {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 40px;
}

.contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  font-size: 50px;
  margin-bottom: 60px;
  text-align: center;
}

.logo-title {
  width: 50px;       /* ajuste la taille */
  height: auto;
  flex-shrink: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  animation: slideUp 0.8s ease forwards;
}

.form-group {
  display: flex;
  flex-direction: column;
  color: #ccc;
}

.form-group.full {
  grid-column: 1 / 3;
}

label {
  margin-bottom: 8px;
  font-weight: 500;
}

input,
textarea {
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #700000;
}

button {
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #700000;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

button:hover {
  background: #700000;
  transform: translateY(-2px);
}

.form-success {
  display: none;
  text-align: center;
  color: #700000;
  font-weight: 500;
}

select {
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  background-color: white;
}

select:focus {
  outline: none;
  border-color: #4f46e5;
}

/* Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

    .contact-title {
    font-size: 2rem;
    gap: 12px;
  }

  .logo-title {
    width: 36px;
  }
}

/* Remerciement */

.thanks-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 40px;
  text-align: center;

  animation: slideUp 0.8s ease forwards;
}

.thanks-title {
  display: flex;
  align-items: center;
  gap: 20px;

  font-size: 2.8rem;
  margin-bottom: 30px;
}

.logo-title {
  width: 50px;
  height: auto;
}

.thanks-text {
  max-width: 600px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.thanks-button {
  padding: 14px 36px;
  border-radius: 999px;
  background: #700000;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.thanks-button:hover {
  background: #ccc;
  color: #700000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .thanks-title {
    font-size: 2rem;
  }

  .logo-title {
    width: 36px;
  }
}

/* Vitrine generale */

.vitrine-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #700000;
  margin-bottom: 60px;
}

.vitrine-title .logo2 {
  width: 45px;
  height: auto;
  object-fit: contain;
}

.shop {
  padding: 80px 8%;
  background: #111;
  color: #fff;
}

.shop-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.product-card {
  background: #1b1b1b;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.img-hover {
  opacity: 0;
  transform: translateX(20px) scale(1.05);
}

.product-card:hover .img-main {
  opacity: 0;
  transform: translateX(-20px) scale(1.05);
}

.product-card:hover .img-hover {
  opacity: 1;
  transform: translateX(0) scale(1.05);
}

.price {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #700000;
}

button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 30px;
  transition: 0.3s;
}

button:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .vitrine-title {
    font-size: 1.8rem;
    gap: 12px;
  }

  .vitrine-title .logo2 {
    width: 30px;
  }
}

/* Boutons de vitrines */

.btn-product {
  display: inline-block;
  margin-top: 15px;

  padding: 10px 22px;
  border-radius: 30px;

  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;

  transition: 0.3s ease;
}

.btn-product:hover {
  background: #fff;
  color: #000;
}

/* Vitrines précises */

.title-produit {
  color: #700000;
}

.product-page {
  padding: 80px 8%;
  background: #111;
  color: #fff;
}

/* HAUT */
.product-top-inner {
  display: flex;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.product-top {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  justify-content: center;
}

.product-gallery img {
  width: 420px;
  border-radius: 20px;
}

.product-gallery,
.product-info {
  flex: 1;
}

.product-info {
  max-width: 500px;
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.product-desc {
  margin-bottom: 20px;
  opacity: 0.85;
  color: #fff;
}

select {
  padding: 10px;
  margin: 10px 0 20px;
  width: 100%;
}

.price {
  font-size: 1.8rem;
  color: #700000;
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  gap: 15px;
}

.btn-cart,
.btn-buy {
  padding: 12px 25px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.btn-cart {
  background: transparent;
  border: 1px solid #700000;
  color: #fff;
}

.btn-buy {
  background: #700000;
  color: #fff;
}

/* BAS */

.titre-vitrine-bottom {
  font-size: 55px;
}

.product-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.product-details ul {
  list-style: none;
  padding: 0;
}

.product-details li {
  margin-bottom: 10px;
}

.product-reviews form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.product-reviews input,
.product-reviews textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
}

.product-reviews button {
  width: fit-content;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
}

/*slide d'image vitrine*/

.product-gallery {
  width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image principale */
.slider {
  position: relative;
  width: 420px;
  height: 420px;
  overflow: hidden;
  border-radius: 20px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slide.active {
  opacity: 1;
}

/* Boutons */
.slider-buttons {
  display: flex;
  justify-content: center;
  width: 420px;
  gap: 20px;
  margin: 15px 0;
}

.slider-buttons button {
  background: #111;
  color: white;
  border: none;
  font-size: 1.4rem;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.slider-buttons button:hover {
  background: #700000;
}

/* Miniatures */
.thumbnails {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 420px;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  opacity: 0.5;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
}

.thumb.active,
.thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .product-top-inner {
    flex-direction: column;
    gap: 40px;
  }

  .product-gallery,
  .slider,
  .slider-buttons,
  .thumbnails {
    width: 100%;
  }
}

/* panier */

.cart-page {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
}

.cart-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.2rem;
  color: #700000;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 20px;
}

.cart-item-info h3 {
  margin: 0;
}

.cart-item-info p {
  margin: 5px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.cart-item-actions {
  text-align: right;
}

.cart-item-actions button {
  background: none;
  border: none;
  color: #700000;
  cursor: pointer;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-top: 40px;
  font-size: 1.4rem;
}

.cart-page,
.cart-page p,
.cart-page h3,
.cart-item-info p {
  color: #fff;
}

/* animations cart */

.btn-cart {
  position: relative;
  overflow: hidden;
}

.btn-cart.added {
  animation: addToCart 0.6s ease forwards;
}

@keyframes addToCart {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(0.95);
  }
}

/* page de validation */

.validation-page {
  text-align: center;
  margin: 150px auto;
  color: #fff;
}

.validation-title {
  color: #700000;
  margin-bottom: 30px;
}

.validation-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

p {
  color: #fff;
}