/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}


/* === MENU HEADER === */
.menu {
  height: 50px;
  background-color: #4c4c30;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
  z-index: 20;
}

/* === BURGER === */
.burger {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 30;
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Animation du burger */
.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* === MENU OVERLAY MODERNE === */
.nav-links {
  position: fixed;
  inset: 0;
  background: rgba(76, 76, 48, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 5;
}

.nav-links.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-links li {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  list-style: none;
}

/* Animation d’apparition progressive des liens */
.nav-links.active li:nth-child(1) { animation-delay: 0.2s; }
.nav-links.active li:nth-child(2) { animation-delay: 0.35s; }
.nav-links.active li:nth-child(3) { animation-delay: 0.5s; }
.nav-links.active li:nth-child(4) { animation-delay: 0.65s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links a {
  color: white;
  font-size: 2rem;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #d2691e;
}

/* === HERO HEADER === */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 15px;
  margin: 15px;
}

.hero-left {
  position: relative;

  height: calc(100vh - 5vh - 15px);
}

.hero-img-left {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-logo {
  width: 240px;
  height: auto;
  margin-bottom: 20px;
}

.hero-overlay h1 {
  font-size: 32px;
  color: #d2691e;
  margin: 0;
  white-space: nowrap;
}

.hero-overlay p {
  font-style: italic;
  font-size: 20px;
  color: #fff;
  margin-top: 5px;
  white-space: nowrap;
}

/* Bloc droit */
.hero-right {
  display: grid;
  grid-template-rows: calc((100vh - 5vh - 15px - 15px)/2) calc((100vh - 5vh - 15px - 15px)/2);
  gap: 15px;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0px;
    margin: 0px;
    margin-top:15px;
    grid-template-rows: auto auto;
  }

  .hero-right { display: none; }

}


/* header/main NAV */
body{
  background-color: #e4c7b1;
}
h1, h2, h3, button {
    font-family: "Libre Baskerville", serif;
}

body, p, nav, a {
    font-family: "Montserrat Alternates", sans-serif;
    text-decoration: none;
}
.hero-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  top: -60px; 
  flex-wrap: wrap;
  z-index: 4;
}
.card {
  position: relative;
  background: #4c4c30;
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  padding: 20px;
  width: 250px;
  height: 315px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.card-frame {
  position: absolute;
  top: 1%;
  left: 0%;
  width: 100%;
  pointer-events: none; 
  opacity: 50%;
}
.card-image{
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 35px rgba(0,0,0,0.2);
}

.card h3 {
  font-size: 19px;
  color: #ca5900;
}

.card p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
}

.card a {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #c8904a 0%, #ed8f03 50%, #c8904a 100%);
  padding: 8px 15px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.card a:hover {
  background-color: white;
}


/* MAIN */

.titre-main{
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.cadre-titre{
  width: 200px;
}

.title-bienvenu {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  color: #ca5900;
  font-size: 30px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.box-text-main{
  position: relative;
  display: flex;
  justify-content: center;
}

.cadre-text{
  width: 910px;
}

.textmain {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  color: #ca5900;
  font-size: 20px;
  width: 800px;
  text-align: center;
  overflow-y: auto;
  padding-right: 10px;                
  max-height: clamp(180px, 35vh, 320px);
  scrollbar-width: thin;
  scrollbar-color: #ca5900 #4c4c30;
}

.textmain span{
  color: #4c4c30;
  font-weight: bold;
  
}
.textmain .othertext{
  color: #4c4c30;
  font-weight:normal;

}
/* ------- 📱 RESPONSIVE TABLETTE (max-width: 1024px) ------- */
@media (max-width: 1024px) {

  .cadre-titre{
    width: 160px;
  }

  .title-bienvenu{
    font-size: 26px;
  }

  .cadre-text{
    width: 80%;
  }

  .textmain{
    width: 500px;
    font-size: 20px;
  }
}


/* ------- 📱 RESPONSIVE MOBILE (max-width: 768px) ------- */

@media (max-width: 768px) {  
  
  .titre-main{
    margin-bottom: 60px;
  }

  .cadre-titre{
    width: 130px;
  }

  .title-bienvenu{
    font-size: 18px;

  }
    .cadre-text{
    width: 95%;
  }

  .textmain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-height: 60%;  
    overflow-y: auto;
    padding-right: 10px; 
  }
}


/* ------- 📱 PETIT MOBILE (max-width: 480px) ------- */

@media (max-width: 480px) {

  .cadre-titre{
    width: 110px;
  }

  .title-bienvenu{
    font-size: 18px;
    line-height: 1.2;
  }

  .cadre-text{
    width: 100%;
  }

  .textmain{
    width: 85%;
    font-size: 16px;
  }
}



/* Carousel main*/

.titre-galerie{
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
  margin-top: 100px;
}
.cadre-titregalerie{
  width: 150px;
}
.title-galeriemain {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  color: #ca5900;
  font-size: 22px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 100px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-item {
  position: absolute;
  width: 400px;
  height: 350px;
  object-fit: cover;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.carousel-track img {
  border-radius: 5px;
}
/* image du centre */
.carousel-item.active {
  opacity: 1;
  transform: translateX(0) scale(1.2);
  z-index: 3;
  border-radius: 10px;
}

/* image de gauche */
.carousel-item.left {
  opacity: 0.8;
  transform: translateX(-420px) scale(0.85);
  z-index: 2;
  filter: blur(4px) brightness(0.9);
}

/* image de droite */
.carousel-item.right {
  opacity: 0.8;
  transform: translateX(420px) scale(0.85);
  z-index: 2;
  filter: blur(4px) brightness(0.9);
}

/* boutons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;

}

.carousel-btn img{
 width: 64px;
}

.carousel-btn.prev {
  left: calc(50% - 700px); 
}

.carousel-btn.next {
  right: calc(50% - 700px); 
}
.boxbutton{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.btn-prestations {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 20px;
  color: #4c4c30;
  text-decoration: none;
  border-radius: 40px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s ease;
  width: 200px;
}

/* Cercle sous “Mes” (créé sur le bouton, pas sur le texte) */
.btn-prestations::before {
  content: "";
  position: absolute;
  left: 19%; /* positionne le cercle sous le mot “Mes” */
  top: 50%;
  width: 15px;
  height: 15px;
  background: #ca5900;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(3);
  transition: all 2s ease;
  z-index: 0; /* reste derrière tout */
}
.highlight{
  font-size: 18px ;
  color: white;
}
/* Survol : le cercle devient un fond */
.btn-prestations:hover::before {
  width: 600%;
  height: 600%;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

/* Texte et flèche au-dessus */
.btn-prestations .text,
.btn-prestations .arrow {
  position: relative;
  z-index: 2;
}

.btn-prestations:hover {
  color: #fff;

}

/* Flèche animée */
.btn-prestations .arrow {
  font-size: 20px;
  transition: transform 0.4s ease;
}

.btn-prestations:hover .arrow {
  transform: translateX(5px);
}
@media (max-width: 1420px) {


  .carousel-item {
    width: 320px;
    height: 280px;
  }

  .carousel-item.left {
    transform: translateX(-300px) scale(0.85);
  }

  .carousel-item.right {
    transform: translateX(300px) scale(0.85);
  }

  .carousel-btn.prev {
    left: calc(50% - 510px);
  }

  .carousel-btn.next {
    right: calc(50% - 510px);
  }
}

@media (max-width: 1060px) {

  .carousel{
    margin: 0px;
  }
  .carousel-item {
    width: 260px;
    height: 220px;
  }

  .carousel-item.left {
    transform: translateX(-200px) scale(0.85);
  }

  .carousel-item.right {
    transform: translateX(200px) scale(0.85);
  }

  .carousel-btn img {
    width: 50px;
  }

  .carousel-btn.prev {
    left: calc(50% - 370px);
  }

  .carousel-btn.next {
    right: calc(50% - 370px);
  }
  
}
@media (max-width: 768px) {
  .titre-galerie{

  margin-bottom: 0px;
  margin-top: 50px;
}

  .carousel-item {
    width: 220px;
    height: 190px;
  }

  .carousel-item.active {
    transform: translateX(0) scale(1.05);
  }

  .carousel-item.left,
  .carousel-item.right {
    opacity: 0; 
    transform: translateX(0) scale(0.8);
    filter: none;
  }

  .carousel-btn img {
    width: 45px;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }
}
@media (max-width: 5405px) {
    .title-galeriemain {
    font-size: 18px;
  }
}
@media (max-width: 480px) {

  .carousel {
    height: 220px;
  }

  .carousel-item {
    width: 180px;
    height: 150px;
  }

  .carousel-btn img {
    width: 38px;
  }

  .title-galeriemain {
    font-size: 14px;
  }
}

@media (max-width: 305px) {

  .carousel {
    height: 220px;
  }

  .carousel-item {
    width: 140px;
    height: 110px;
  }

  .carousel-btn img {
    width: 38px;
  }

  .title-galeriemain {
    font-size: 18px;
  }
}
/*about*/
.about{
  width: 100%;
  display: flex;
  justify-content: center;
}
.boxabout{
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 800px;
  background-color: #4c4c30;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  margin-bottom: 50px;
  margin-top: 100px;
}
.see-more{
  display: inline;
  margin-left: 6px;
  white-space: nowrap;
  text-decoration: none;
   color: #ca5900;
}

 .see-more:hover{
  text-decoration: underline;
}
.titreabout{
  text-align: center;
  color: #ca5900;
  margin-top: 20px;
  font-size: 30px;
}
.titreabout p {
  color: #fff;
  font-size: 16px;
  padding-top: 10px;
  font-size: 16px;
}
.card-frameabout {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* <- ajoute ça */
  pointer-events: none; 
  opacity: 0.5;
}
.contentabout{
  display: flex;
  justify-content:space-around;
  padding: 20px;
}
.contentabout p{
  font-size: 16px;
  width: 55%;
  color: white;

  /* IMPORTANT : texte normal */
  display: block;
  text-align: left;     /* ou center si tu veux */
  line-height: 1.6;
}
.contentabout img{
  width: 300px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}
.btn-discover {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: linear-gradient(90deg, #c8904a 0%, #ed8f03 50%, #c8904a 100%);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;

}

.btn-discover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
    color: #4c4c30;
}

.btn-discover::after {
    content: "→";
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-discover:hover::after {
    transform: translateX(5px);
}
.menu .lang-switch{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-btn{
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
  opacity: .7;
  transition: transform .15s ease, opacity .15s ease;
}

.lang-btn:hover{
  opacity: 1;
  transform: scale(1.06);
}


.lang-btn img{
  width: 45px;
  height: 45px;
  display: block;
}

/* cache le widget google */
.gt-hidden{
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*  Tablettes larges (≤ 1024px) */
@media (max-width: 1024px) {
  .boxabout {
    width: 90%; 
   
  }

  .contentabout {
    gap: 20px;
  }

  .contentabout img {
    width: 300px;
  }
}

/*  Tablettes & mobiles (≤ 768px) */
@media (max-width: 768px) {

  .boxabout {
    width: 95%;
    height: auto;
    padding-bottom: 40px;
  }

  /* Titre + cadre */
  .titreabout {
    font-size: 26px;
  }

  .titreabout p {
    font-size: 14px;
  }

  .card-frameabout {
    width: 100%;
  }

  .contentabout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contentabout img {
    width: 70%;
    max-width: 260px;
  }

  .contentabout p {
    width: 85%;
    max-height: 200px;   /* limite la zone */
    overflow-y: auto;    /* scroll vertical */
    font-size: 15px;
  }


}

/* 📱 Mobiles petits (≤ 480px) */
@media (max-width: 480px) {

  .titreabout h1 {
    font-size: 22px;
  }

  .contentabout img {
    width: 80%;
  }

  .contentabout p {
    font-size: 14px;
    max-height: 180px;
  }

  .btn-discover {
    font-size: 16px;
    padding: 10px 20px;
  }
    .titreabout p {
    font-size: 10px;
  }
}

/*FOOTER*/

.boxfooter{
  background-color:#4c4c30;
  margin: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.footer-overlay {
  text-align: center;
  color: #fff;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-top: 20px;
}

.footer-overlay h1 {
  font-size: 1.5rem;
  color: #d2691e;
  margin: 0;
  white-space: nowrap;
}

.footer-overlay p {
  font-style: italic;
  font-size: 1rem;
  color: #fff;
  margin-top: 5px;
  white-space: nowrap;
  margin-bottom: 10px;
}
/* NAVIGATION DU FOOTER */

.footer-nav {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  
}

.footer-nav a {
  background-color: #d2691e;
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.footer-nav a:hover {
  background-color: #b75e1a;
}

/* COPYRIGHT */

.copyright {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ICONES SOCIALES */

.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  
}

.social-icons img {
  width: 48px;
  height: 48px;
  transition: 0.2s ease-in-out;
  margin-bottom: 20px;
}

.social-icons img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
