/* Couleurs principales */
:root {
  --bg-color: #000;
  --main-bg-color: #192835; 
  --section-bg-color: #000B12;
  --text-light: #eaeaea;
  --text-muted: #b0b0b0;
  --accent-color: #cfaf91;
  --link-hover: #ffffff;
  --form-bg: #2a2e35;

}
.logotregor{
    max-height: 130px;
    translate: 80%;
}
@media (max-width: 767.98px) {
  .logotregor {
    translate: none;
  }
}

/* Général */
body {
  background-image: url('assets/img/ambiance-main-sel.jpg');
  background-size: 900px;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--bg-color);
  color: var(--text-light);
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}


.section-grise{
            background-color: var(--main-bg-color);
            color: var(--text-light);
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

/* Navigation */
.navbar-nav {
  max-width: 960px;
  margin: 0 auto;
   font-size: 1.5em;
    display: flex;
    gap: 1rem;
}

.navbar-nav .nav-item {
  position: relative;
  padding: 0 1rem;
}

@media (max-width: 960px) {
  .navbar-nav {
      font-size: 1.2em;
      gap: 0;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
  }
}

/* Barre verticale à droite de chaque lien sauf le dernier */
.navbar-nav .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: var(--accent-color);
  opacity: 0.6;
}

/* Liens */
.navbar-nav .nav-link {
  font-family: 'Abril Fatface', cursive, sans-serif;
  color: var(--accent-color);
  font-weight: normal;
  padding: 0;
}

.navbar-nav .nav-link:hover {
  color: var(--text-light);
}

/* Sections */
section {
  padding: 20px 0;
}
@media (max-width: 767.98px) {
  section {
    padding: 0px 0;
  }
}

section.bg-dark {
  background-color: var(--section-bg-color);
}

/* Titres */
h1, h2, h3, h4 {
  font-family: 'Abril Fatface', cursive, sans-serif;
  color: var(--accent-color);
  font-weight: normal;
}

h2 {
  margin-bottom: 1.5rem;
}

/* Images */
.img-caption {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

/* Produits */
/* Conteneur principal du bloc produit */
.product-container {
  position: relative;
  background-color: #051018; /* bloc noir derrière */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  padding-right: 150px;
  overflow: visible;
}

/* Image produit décalée à gauche */
.produits-img {
  max-height: 180px;
  transform: translate(10%,70px);
  z-index: 2;
}
.nosproduits{
 
  display: flex;
  justify-content: center;
}

/* Logo positionné à droite, centré verticalement */
.produits-logo {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  max-height: 90px;
  max-width: 100px;
  z-index: 1;
}

.centreprod{
    display: flex;
    justify-content: center;
}


.product-link {
  max-width: 460px;
  text-decoration: none;
  display: block;
  height: 100%;
  margin-bottom: 50px;
}

@media (max-width: 767.98px) {
  .produits-img {
    transform: translate(-10%,70px);
  }
  .produits-logo{
    right: 15px;
  }
  .product-link {
      max-width: 360px;
  }
}

.card-hover {
  max-width: 450px;
    max-height: 160px;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  /*border-radius: 12px;
  overflow: hidden;*/
  cursor: pointer;
}

.card-hover:hover, .card-hover:focus {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-6px) scale(1.03);
  background-color: #22384b;
}

/* Histoire */
.history-text {
  color: var(--text-light);
  padding: 2rem 2rem;
}
@media (max-width: 767.98px) {
  .history-text {
    padding: 20px 20px;
    text-align: center;
  }
}


/* Contact */

#contact{
    color: var(--text-light);
    background-color: var(--main-bg-color);
    background-image: url('assets/img/carte-lannion.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    min-height: 250px;
}



.contact-form {
    
  /*padding: 2rem;*/
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
  background-color: #D9BCA2;
  border: none;
  color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

.contact-info {
  color: var(--text-muted);
   padding: 0 40px;
}

@media (max-width: 767.98px) {
  #contact {
    background-position: right bottom;
    background-size: 300px;
    padding: 20px 10px;
  }
  .contact-info {
     padding: 110px 10px 10px;
     text-align: center;
  }
  .contact-info2 {
     display: none;
  }
}

/* Footer */
footer {
  background-color: #0c0e13;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 1rem 0;
  text-align: center;
}

/* Zoom sur l'image au survol du slide Swiper */
.swiper-slide img {
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.swiper-slide:hover img,
.swiper-slide:focus img {
  transform: scale(1.08);
}

.image-swiper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.image-swiper img {
  transition: transform 0.5s cubic-bezier(.4,0,.2,1), filter 0.5s cubic-bezier(.4,0,.2,1);
  display: block;
  width: 100%;
  height: auto;
}

.image-swiper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.5s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.image-swiper .img-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 30%);
  opacity: 0;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 0.7em 1.2em;
  /*border-radius: 1em;*/
  font-size: 1.1em;
  font-family: 'Abril Fatface', cursive, sans-serif;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  z-index: 2;
}

.image-swiper:hover img,
.image-swiper:focus img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.image-swiper:hover::after,
.image-swiper:focus::after {
  background: rgba(0,0,0,0.25);
}

.image-swiper:hover .img-caption,
.image-swiper:focus .img-caption {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Pagination Swiper */
.swiper-pagination {
  bottom: -40px !important;
}
#logo-lottie{
    cursor: pointer;
}
 #lottie{
            background-color:#ffffff;
            width:100%;
            height:100%;
            display:block;
            overflow: hidden;
            transform: translate3d(0,0,0);
            text-align: center;
            opacity: 1;
        }
.telephone a{
    color: var(--text-light);
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.5s ease;
}

.containermerci{  
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 100px;
    text-align: center;

}

