@import url('https://fonts.cdnfonts.com/css/arial-2');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
  font-family: 'Betterlett';
  src: url('../Fonts/Betterlett.otf');
  src: url('../Fonts/Betterlett.ttf') format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body  {
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: #f9fefb;
}
body * {
  font-family: 'Montserrat', sans-serif;
  
}
body {
  flex-direction: column;
  height: auto;
  overflow-y: scroll;
}
body, html {
  scrollbar-width: thin;
  scrollbar-color: #339a47 #f9fefb;
}
body::-webkit-scrollbar, html::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track, html::-webkit-scrollbar-track {
  background: #f9fefb;
}
body::-webkit-scrollbar-thumb, html::-webkit-scrollbar-thumb {
  background-color: #339a47;
  border-radius: 10px;
}

/* CONTENU */
h1, h3, strong {
  font-family: "Arial CE", sans-serif;
  font-weight: 700;
}

header h2{        font-size: 1.5rem;
    }
.content-panel .frame-type-text a, .content-panel .frame-type-textpic a {
  position: relative;
  display: inline-block;
  color: #339a47; 
  text-decoration: none;
  padding: 2px 4px;
  transition: color 0.3s ease;
}
.content-panel .frame-type-text a::after, .content-panel .frame-type-textpic a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px; 
  background: #339a47;
  transition: height 0.3s ease;
  z-index: -1; 
}
.content-panel .frame-type-text a:hover, .content-panel .frame-type-textpic a:hover {
  color: #fff; 
}
.content-panel .frame-type-text a:hover::after, .content-panel .frame-type-textpic a:hover::after {
  height: 100%; 
}
.menu-category h3 {
  text-align: right;
  font-size: 1.25rem;
}
.txt-green {
  font-weight: normal;
  font-family: "Betterlett" !important;
  font-size: 2.5rem !important;
  color: #339a47 !important;
  letter-spacing: -1.75px
}
.txt-green-big {
  font-weight: normal;
  font-family: "Betterlett" !important;
  font-size: 4rem !important;
  color: #339a47 !important;
  letter-spacing: -1.75px
}
.txt-cote {
  font-weight: normal;
  font-family: "Arial CE" !important;
  font-size: 1.5rem;
  color: #339a47;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}


.content-panel {
  width: 100%;
  overflow-y: scroll;
  color: #339a47;
  scrollbar-width: thin;
  scrollbar-color: #339a47 #f9fefb;
}
.content-panel::-webkit-scrollbar {
  width: 8px;
}
.content-panel::-webkit-scrollbar-track {
  background: #f9fefb;
}
.content-panel::-webkit-scrollbar-thumb {
  background-color: #339a47;
  border-radius: 10px;
}
.content-panel .content {
  /*padding: 3rem 3rem 3rem 4rem;*/
}
.content-panel h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.section-title, .content-panel h1 {
  font-family: "Betterlett", sans-serif;
  font-size: 3rem;
  font-weight: normal !important;
  letter-spacing: -1.75px;
  margin-bottom: 1rem;
  margin-left: -2rem;
}
.smt-app p, .smt-app h1, .smt-app h2, 
.sm-window-subtitle, .sm-window-title
{font-family: 'Montserrat', sans-serif !important; }

.content-panel p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}
li  {color: #333; }
.content-panel strong {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #339a47;
}
.page-title h1 {
  font-size: 5rem;
}
p.menu-title {
  font-size: 1.5rem !important;
  color: #339a47 !important;
  line-height:2rem;
  margin-bottom:0.75rem;
}
p.menu-desc {
  font-style: italic !important;
  font-size: 0.8rem;
}
p.menu-price {
  text-align: right;
  font-weight: bold;
  font-size:1rem;
  border-bottom: 1px dotted #339a47;
  padding-bottom: 2px;
  margin: 4px 0;
  margin-bottom: 2rem !important;
  margin-top:-15px;
}
p.small {
  font-size: 0.9rem;
}
.bg-light {
  background-color: #f9fefb !important;
}
.zoom-in {
  opacity: 0;
  transform: scale(.85);
  transform-origin: center;
  transition: transform .9s cubic-bezier(.2, .6, .2, 1), opacity .9s;
  will-change: transform, opacity;
}
.zoom-in.is-in {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .zoom-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
.boutons-menu div {
  margin: 12px;
}
.buttons, .boutons-menu a {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-decoration: none;
}
.buttons button, .boutons-menu a {
  padding: 0.9rem 2rem;
  margin-right: 1rem;
  border: none;
  min-width: 252px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: "Arial CE", sans-serif;
}
.btn-green, .boutons-menu a {
  background-color: #339a47;
  color: #fff;
}
.btn-green:hover, .boutons-menu a:hover {
  background-color: #2a7d2a;
  transform: scale(1.05);
}
.btn-outline {
  background: transparent;
  border: 2px solid #339a47;
  color: #339a47;
}
.btn-outline:hover {
  background-color: #339a47;
  color: white;
  transform: scale(1.05);
}
.menu-icons {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: space-around;
}
.menu-icons div {
  text-align: center;
}
.menu-icons img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}
.footer-icons {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: space-around;
}
.footer-icons div {
  text-align: center;
}
.footer-icons img {
  width: 30px;
  height: 30px;
  margin-bottom: 0.5rem;
}
.content-panel, .slider-panel {
  width: 100%;
  height: auto;
}
.content-panel {
  order: 2;
  overflow-y: visible;
}
.content-bloc {
  padding: 2rem;
}
.media-row img {
  margin-top: 10px;
  margin-bottom: 10px;
width: 800px;
  max-width: 100% !important;
  height: auto;
}
/* FOOTER */
footer {
  background-color: #339a47;
  text-align: center;
  padding: 0 0 15px 0;
  margin-top: 20px;
}
footer, footer p, footer strong {
  color: #fff !important;
}
.footer-content {
  padding-top: 2.5rem;
}
footer a {
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 768px) {
  .footer-content {
    padding: 1rem
  }
}
/* HAMBURGER  & MOBILE MENU*/
.menu-toggle {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1100;  
  width: 45px;
  height: 39px;
  padding: 10px;
  background-color: #339a47;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   border: none;
  cursor: pointer;
}
.menu-toggle.active {
   width: 45px;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #339a47;
  color: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-overlay nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.menu-overlay nav ul li {
  margin: 1.5rem 0;
}
.menu-overlay nav ul li a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  font-weight: bold;
  font-family: "Arial CE", sans-serif;
}
.overhead {
  max-height: 190px;
}
@media (max-width: 991px) and (orientation:landscape) {
  .overhead {
    max-height: 100px;
  }
  .menu-overlay nav ul li {
    margin: 0.5rem 0;
  }
}

/* BACK 2 TOP BUTTON */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none; 
  background-color: #e5f5ec;
  color: #339a47;
  border: none;
  padding: 8px 13px;
  border-radius: 0;
  cursor: pointer;
  font-size: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#back-to-top:hover {
  background-color: #40a740;
  color: #ffffff;
  opacity: 1;
}

/* SLIDING SLIDER */

.slider-panel {
  order: 1;
  height: 450px;
  overflow: hidden;

}
.carousel.carousel-h {
  height: 450px; 
  overflow: hidden;
		opacity: 0;
  transform: scale(0.98);
  animation: fadein 1.2s ease forwards;
}
@media (max-width: 768px) {
	
.slider-panel {  
  height: 300px;

}
	
  .carousel.carousel-h {
    height: 300px;
  }
}

.carousel.carousel-h .rail
{
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 100%;
  will-change: transform;
  transform: translateZ(0); /* lissage GPU */
}


.carousel.carousel-h .rail figure
{
  margin: 0 !important;
  padding: 0 !important;
	height: 100%!important;
  flex: 0 0 auto;
}


.carousel.carousel-h .rail img
{
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;

}


@keyframes fadein {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.carousel-h.paused {
  cursor: grabbing; /* feedback visuel au clic */
  opacity: 0.95;    /* un léger feedback visuel */
}