:root {
  --main: #BDC6DA;
  --background: #ced6e2;
  --accent: #3E647E;
  --font: 'Montserrat', Arial, sans-serif;
}

/* == generique == */

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--background);
  color: #222939;
  height: 100vh;
  overflow: hidden;
}
.maj {
  text-transform:uppercase;
	
}
.flex-normal {
    flex-direction: column;
}
/* == fin generique ==*/

#slider-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0; left: 0;
  background: var(--background);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), visibility 0.7s;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.italiana {
  font-family: 'Italiana', serif;
  font-size: 5.8vw;
  letter-spacing: 1px;
  color: var(--accent);
  margin: 0.1em 0;
  background: none;
  font-style: normal;
  text-shadow: 0 7px 12px #3e647e19;
}
.animline-wrapper {
  display: block;
  position: relative;
  overflow: visible;
  height: 7em;
}
@media (max-width:768px) {
    .animline-wrapper {
        height: auto !important;
    }
}
.animline {
  opacity: 0;
  overflow: hidden;
  text-transform: uppercase;
  font-style: normal;
  transform: translateY(100px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(.45,0,.3,1), transform 0.8s cubic-bezier(.45,0,.3,1);
  color: var(--accent);
}
.onlytextcut  {
  opacity: 0;
  overflow: visible;
  text-transform: uppercase;
  font-style: normal;
  transform: translateY(100px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(.45,0,.3,1), transform 0.8s cubic-bezier(.45,0,.3,1);
  color: var(--accent);
}
.hautdegamme-text {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.curvesvg {
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
  width: 820px;
  height: 185px;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.62,.23,.26,1), filter 0.28s;
  z-index: -5;
}
.hero-content:hover .curvesvg {
  transform: translateX(calc(-50% - 50px)) scale(1);
}

.mouse-indicator {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.mouse-dot {
  animation: mousemove 1.4s infinite alternate ease-in-out;
}
@keyframes mousemove {
  0% { cy: 18;}
  100% { cy: 38;}
}
.hint-mouse {
  color: var(--accent);
  font-family: var(--font);
  font-size: 1.1em;
  margin-top: 5px;
  letter-spacing: 2px;
  opacity: 0.5;
}
.my-responsive-video {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
}

.center-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

.center-image img {
  width: 27vw;
  max-width: 440px;
  margin-bottom: 2vw;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(62,100,126,.11);
}

span.lil-text {
    font-size: 16px;
    color: #9eafbb;
}
.link-title {
  text-decoration: none;
  font-size: 4.7vw;
  font-weight: 800;
  display: block;
  margin-top: .6vw;
  color:#3E647E;
  text-transform:uppercase;
}
.link-title:hover {
  color: #BDC6DA;
}

.contact-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 6vw;
  padding: 3vw 10vw;
}
.contact-text {
  max-width: 40vw;
}
.contact-text h2 {
  font-family: 'Italiana', serif;
  color: var(--accent);
  font-size: 3vw;
}
.contact-text p {
  font-size: 1.2vw;
  color: #222939;
  font-family: var(--font);
  margin: 2vw 0 0 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2vw;
  min-width: 300px;
  width: 30vw;
  max-width: 430px;
  margin-top: 1vw;
}
.contact-form input,
.contact-form textarea {
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1.1em;
  background: #e5eaf2;
  color: #222939;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 7px 0 rgba(62,100,126,.06);
  transition: box-shadow .2s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 3px 8px 0 rgba(62,100,126,.17);
}
.contact-form textarea {
  height: 100px;
  min-height: 90px;
  max-height: 230px;
}

.contact-form button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-family: var(--font);
  font-size: 1.15em;
  color: var(--accent);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.8em 1.7em;
  cursor: pointer;
  margin-top: 1vw;
  font-weight: 700;
  transition: color 0.2s;
}
.contact-form button:hover {
  color: #222939;
}
.btn-arrow svg {
  margin-left: 2px;
  width: 30px;
  height: 14px;
}
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border-radius: 50%;
  padding: 7px;
  width: 68px;
  height: 68px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
  border: none;
}


#nav-arrow-left { left: 36px;}
#nav-arrow-right { right: 36px;}
.nav-arrow:hover,
.nav-arrow:focus {
  background: none;   /* Pas de fond au hover */
  outline: none;
  border: none;
}
.nav-arrow:focus { outline: none; }

.membrane-svg {
  position: absolute;
  left: 0; top: 0;
  width: 68px;
  height: 68px;
  pointer-events: none; /* clics passent à travers */
  z-index: 1;
}
.nav-arrow svg:last-child {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
}
/* Responsive */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
    padding: 5vw 4vw;
    gap: 3vw;
  }
  .contact-text, .contact-form {
    max-width: 100vw;
    min-width: unset;
    width: 95vw;
  }
  .center-image img {
    width: 70vw;
  }
  .link-title {
    font-size: 2.4em;
  }
  .italiana, .contact-text h2 {
    font-size: 2.2em;
  }
	.flex-real {
		display: flex;
		flex-direction: column;
	}
  .nav-arrow {
	  display:none !important;
  }
  .contact-text p{
     font-size:15px;
     padding:20px 0 0 0;
  }
}

/* Hide scroll/overflow on page to avoid issues */
::-webkit-scrollbar { display: none; }


/*== hero slide 1 text postions ==*/
.hero-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.hero-row {
  display: flex;
  align-items: flex-end; /* optionnel selon le look voulu */
  margin-top: 0.2em;
}

.side-message {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.91vw;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-right: 1.7vw;
  margin-bottom: 0.5em;
  max-width: 19vw;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.75;
  display: flex;
  align-items: center;
}

.hero-left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  display: inline-block;
  min-width: 10vw;
}

.hero-right {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
  display: block;
  min-width: 20vw;
}

@media (max-width: 900px) {
  .side-message {
    font-size: 1.8vw;
    max-width: 60vw;
    margin-right: 3vw;
  }
  .hero-left, .hero-right, .hero-center {
    min-width: unset;
  }
  .hero-row { flex-direction: column; align-items: flex-start; }
}

.hero-content .text-shadow-move {
  position: relative;
  text-shadow:
    100px 0px 0px rgba(200, 200, 200, 0.6); /* ombre claire nette, décale à droite */
  transition: text-shadow 0.35s cubic-bezier(.58,0,.32,1), transform 0.35s ease;
  background: none;
  filter: none;
}

/* Survol de tout le bloc parent (par exemple .hero-content) */
.hero-content:hover .text-shadow-move {
  /* Ombre déplacée à gauche uniquement (même couleur, pas de flou) */
  text-shadow:
    -30px 0 rgba(200, 200, 200, 0.6);
  transition: text-shadow 0.5s cubic-bezier(.72,.09,.27,1);
  cursor: pointer;
}


/*== slide 1 bloc blob ==*/
.ychan-group {
  position: relative;
  display: inline-block;
}

.blob-boule {
  position: absolute;
  top: 12%;       /* Ajuste selon la hauteur désirée */
  right: 0.2em;   /* Position initiale proche du mot */
  width: 2.8em;
  height: 2.7em;
  background: #77b2b9;
  z-index: -5;
  cursor: pointer;
  clip-path: path('M43,15 Q49,30 35,45 Q18,57 6,42 Q-4,25 13,8 Q28,-6 43,15z');
  transition:
    transform 0.35s cubic-bezier(.6,0,.22,1),
    box-shadow 0.23s cubic-bezier(.59,.16,.26,1);
  box-shadow: 0 6px 20px #00626E44;
}

.hero-content:hover .blob-boule {
  transform: translateX(-20px);
  box-shadow: 0 10px 35px #00626E66;
}

/* ==== Slide Valeur Ajoutée ==== */
.slide-valeur {
  background: var(--background); /* même fond que tes autres slides */
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.valeur-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1140px;
  height: 74vh;
  gap: 1vw;
  width: 90vw;
  margin: 0 auto;
  position: relative;
}

/* Bloc gauche : texte */
.valeur-bloc-gauche {
  flex: 1 1 47%;
  color: #3E647E;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Animation : arrive de la gauche */
  opacity: 0;
  transform: translateX(-100px);
  animation: valeurLeftIn 1.3s cubic-bezier(.53,0,.18,1) 0.2s forwards;
}
.valeur-titre {
  font-family: 'Italiana', serif;
  font-size: 3.1vw;
  font-weight: 700;
  color: #3E647E;
  margin-bottom: 1.7vw;
  text-align: left;
  letter-spacing: 1px;
  line-height: 1.11;
}
.valeur-bloc-gauche p {
  color: #3E647E;
  font-family: var(--font);
  font-size: 1.24vw;
  font-weight: 500;
  margin: 0 0 1.2vw 0;
  line-height: 1.5;
  max-width: 520px;
}

/* Bloc droit : image */
.valeur-bloc-droit {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* Animation : arrive de la droite en fondu */
  opacity: 0;
  transform: translateX(80px);
  animation: valeurRightIn 1.35s cubic-bezier(.53,0,.18,1) 0.45s forwards;
}
.valeur-bloc-droit img {
    width: 100%;
    max-width: 730px;
    object-fit: cover;
}

/* Animations */
@keyframes valeurLeftIn {
  to { opacity: 1; transform: translateX(0);}
}
@keyframes valeurRightIn {
  to { opacity: 1; transform: translateX(0);}
}

/* Responsive - sous 780px : bloc gauche dessus, bloc droit dessous */
@media (max-width: 780px) {
  .valeur-container {
    flex-direction: column;
    height: auto;
    min-height: 80vh;
    gap: 3vw;
    width: 98vw;
    padding: 6vw 0 2vw 0;
  }
  .valeur-bloc-gauche, .valeur-bloc-droit {
    flex: unset;
    max-width: 90vw;
    width: 100%;
    /* Animations adaptées : slide depuis le bas */
    animation: none;
    opacity: 1;
    transform: none;
  }
  .valeur-titre { font-size: 25px; }
  .valeur-bloc-gauche p { font-size: 14px; }
  .valeur-bloc-droit img { max-width: 97vw; }
}

/*== card block slider services ==*/
.flex-col {
    flex-direction: column-reverse;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  margin: 15vh auto 0 auto;
}

/* 2 colonnes de 900px à 320px (toujours 2 colonnes sur mobile) */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
}
@media (max-width: 800px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); max-width: 98vw; margin-top:10px; }
  .service-title {
	margin-top: 50px;
   }
}

.luxury-card {
    background: #eefafb;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #77b2b9 0%, #a4ccd4 60%, #3e647e 100%) 1;
    box-shadow: 0 4px 32px 0 rgba(62,100,126,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.2rem 1.5rem 2rem 1.5rem;
    min-width: 0;
    min-height: 50px;
    height: 150px;
    transition: border-color 0.18s, box-shadow 0.18s;
    position: relative;
}

.luxury-card:hover {
  border-color: #3e647e;
  box-shadow: 0 7px 32px 0 rgba(62, 100, 126, 0.12), 0 0 0 1px #77b2b9;
}

.title {
    font-size: 18px;
    font-weight: 700;
    color: #3e647e;
    text-align: center;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    background-clip: text;
}

.subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    text-align: center;
    font-size: 10px;
    color: #74a8ac;
    opacity: 0.82;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    line-height: 1.24;
    max-width: 150px;
}

.diamond-container {
  width: 70%;
  max-width: 98px;
  height: 2px;
  background: linear-gradient(90deg,#77b2b9 30%, #d2d7e4 100%);
  border-radius: 2px;
  margin: 0.4em 0 1.2em 0;
  position: relative;
  overflow: visible;
}

.diamond-container::before,
.diamond-container::after {
  content: "";
  position: absolute;
  top: 0; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg,#a4ccd4 10%,#3e647e 90%);
  opacity: 0.66;
}
.diamond-container::before { left: -26px; }
.diamond-container::after { right: -26px; }

.texture { display: none; } /* plus de textures */

@media (max-width: 480px) {
  .services-grid {
    gap: 2vw;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    max-width: 99vw;
  }
  .luxury-card {
    padding: 1.2rem 0.6rem 1.3rem 0.6rem;
    min-width: 0;
    min-height: 170px;
    font-size: 0.98em;
  }
  .title { font-size: 13px; }
  .subtitle {font-size:10px;}
}

/*== FOOTER == */
.footer-main {
  width: 100%;
  background: #3E647E;
  padding: 40px 0 18px 0;
  position: relative;
  margin-top: 40px;
  height: auto;
}

.footer-content {
  width: 94vw;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  gap: 1em;
  flex-wrap: wrap;
  letter-spacing: .04em;
}

.footer-legal-link {
  color: #fff;
  font-size: 1rem;
  opacity: .84;
  transition: color .17s;
  text-decoration: none;
}
.footer-legal-link:hover {
  color: #a4ccd4;
}
@media (max-width: 600px) {
.footer-content {
    flex-direction: column;
    font-size: 10px;
    gap: 0.7em;
    align-items: center;
}
.footer-content a {font-size:10px;}
}

/* ========== SLIDE CONTACT (100% prêt à coller, sans doublon) ========== */
.contact-hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: none;
  width: 100vw;
  min-height: 0;
  padding: 0;
  position: relative;
}
.slide.flex-normal {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.contact-title-wrapper {
  position: relative;
  width: 100vw;
  max-width: 1100px;
  margin: 0 auto 1.7em auto;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title-giant {
  color: #BDC6DA;
  font-family: 'Italiana', serif;
  font-size: 7vw;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-70px);
  letter-spacing: .10em;
  margin: 0 auto;
  line-height: 1.1;
  text-align: center;
  /* NE PAS ajouter animation ici */
  transition: none;
  animation: none;
}

.slide.active.animate-contact .contact-title-giant {
  animation: fadeInGiantContact 1.1s cubic-bezier(.41,.02,.21,1) .1s forwards;
}
@keyframes fadeInGiantContact {
  to { opacity: 1; transform: translateX(0);}
}

.contact-email {
  position: absolute;
  left: 50%;
  top: 63%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  color: #3E647E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 0 0.23em;
  white-space: nowrap;
  opacity: 0;
  letter-spacing: .035em;
  transition: none;
  animation: none;
  text-shadow: 0 2px 12px #22253c15;
  z-index: 2;
}
.slide.active.animate-contact .contact-email {
  animation: fadeInEmailContact 1.1s cubic-bezier(.41,.02,.21,1) 0.35s forwards;
}
@keyframes fadeInEmailContact {
  to { opacity: 1; transform: translate(-50%, 0);}
}

.at-split {
  font-family: monospace;
  color: #3E647E;
  opacity: 0.9;
  margin: 0 0.05em;
}

.contact-desc {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #466383;
  font-size: 1.21rem;
  max-width: 560px;
  margin: 2.2em auto 2.2em auto;
  opacity: 0.95;
  line-height: 1.58;
  letter-spacing: .02em;
}

.contact-action-btn {
  margin: 1.1em auto 0 auto;
  background: #3E647E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25em;
  letter-spacing: .03em;
  font-weight: 700;
  border: none;
  border-radius: 0;
  padding: 1em 2.6em;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 18px 0 #29486938;
  animation: btnPulseAnim 1.27s cubic-bezier(.42,0,.37,1) infinite alternate;
  transition: filter .22s, box-shadow .22s;
  /* Ajoute une propriété pour le mouvement ! */
  will-change: transform, filter;
}

/* Animation pulse verticale + glow */
@keyframes btnPulseAnim {
  0%   { 
    filter: brightness(1) drop-shadow(0 2px 9px #0aa8ff26);
    transform: translateY(0);
  }
  40% {
    filter: brightness(1.13) drop-shadow(0 10px 38px #288eca29);
    transform: translateY(-6px);
  }
  100% {
    filter: brightness(1) drop-shadow(0 2px 8px #477eeb17);
    transform: translateY(0);
  }
}

.contact-action-btn:hover,
.contact-action-btn:focus {
  animation-play-state: paused;
  filter: brightness(1.18) drop-shadow(0 2px 24px #8bc4cc44);
  box-shadow: 0 3px 21px 0 #3e647e2a;
  /* Fige la position (évite de rester en suspension entre deux états) */
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 700px) {
  .contact-title-giant { font-size: 2.9em; }
  .contact-title-wrapper { min-height: 60px;}
  .contact-email { font-size: 1em; }
	.contact-desc {
		font-size: 10px;
		padding: 0 18px;
	}
}
