/* =========================
   RESET & BASE
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Libre Baskerville', serif;
    background-color: #000;
    color: white;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;

  display: flex;
  justify-content: space-between; /* logo à gauche, langues à droite */
  align-items: center;
  gap: 20px;

  background: rgba(12, 107, 90, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: background 0.3s ease, box-shadow 0.3s ease;

  z-index: 9999;
  isolation: isolate;
}

.logo img {
  height: 45px;
}

.lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0; /* empêche les boutons de rétrécir */
  flex-wrap: nowrap; /* empêche les boutons de passer à la ligne */
}

.lang {
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.2s ease, opacity 0.2s ease;
  white-space: nowrap; /* empêche le texte de revenir à la ligne */
}

.lang:hover {
  background: rgba(255,255,255,0.12);
}

.lang.active {
  background: rgba(255,255,255,0.22);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =========================
   RESPONSIVE
========================= */

/* Tablettes et moins */
@media (max-width: 768px) {
  .site-header {
    padding: 15px 20px;
  }

  .logo img {
    height: 40px;
  }

  .lang {
    font-size: 0.85rem;
    padding: 5px 8px;
  }
}

/* Mobiles petits écrans */
@media (max-width: 480px) {
  .site-header {
    padding: 10px 15px;
  }

  .logo img {
    height: 35px;
  }

  .lang {
    font-size: 0.8rem;
    padding: 4px 7px;
  }
}

/* =========================
   INTRO SECTION
========================= */

.intro {
    min-height: 100vh;
    width: 100%;

    background-image: url("image_video/photo lac.jpg");
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

/* Texte intro */
.intro-content {
    max-width: 600px;
    margin-left: 60px;
    color: white;
}

.intro-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* CTA BUTTON */
.cta-button {
    position: absolute;
    bottom: 30px;
    right: 40px;

    padding: 14px 30px;

    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;

    border: 2px solid white;
    border-radius: 30px;

    font-weight: 700;
    letter-spacing: 0.5px;

    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */

/* Tablettes ≤ 768px */
@media (max-width: 768px) {
    .intro-content {
        max-width: 80%;
        margin-left: 20px;
    }

    .intro-content h1 {
        font-size: 2.5rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .cta-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Mobiles ≤ 480px */
@media (max-width: 480px) {
    .intro {
        background-position: center 40%;
    }

    .intro-content {
        margin-left: 10px;
    }

    .intro-content h1 {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .cta-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* =========================
   PRESENTATION SECTION
========================= */

.presentation {
    background-color: #f4efe5;
    padding: 80px 60px;
    font-family: "Georgia", serif;
  }
  
  .presentation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* --------- TITRE --------- */
  .presentation-left h2 {
    font-size: 3rem;
    color: #0c6b5a;
    font-style: italic;
    margin-bottom: 30px;
    margin-top: -10px; 
  }
  
  /* --------- TEXTE --------- */
  .presentation-left p {
    color: #0c6b5a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
  }
  
  .presentation-left .presentation-intro strong {
    font-weight: 700;
  }
  
/* --------- FOND IMAGE FILIGRANE (COLONNE GAUCHE) --------- */
.presentation-left{
    position: relative;
    overflow: hidden;     /* pour que le fond reste dans la colonne */
    padding: 0 20px 20px 20px;        /* optionnel : donne un peu d’air */
    border-radius: 14px;  /* optionnel */
  }
  
  /* image en fond avec opacité */
  .presentation-left::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("image_video/carte_monde.png"); /* <-- mets ton image */
    background-repeat: no-repeat;
    background-position: center 10%;
    background-size: 85%;
    opacity: 0.12;        /* <-- ajuste ici (0.06 à 0.15 en général) */
    z-index: 0;
  }
  
  /* le texte au-dessus du filigrane */
  .presentation-left *{
    position: relative;
    z-index: 1;
  }  

  /* --------- LISTE --------- */
  .presentation-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .presentation-list li {
    color: #0c6b5a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    padding-left: 20px;
  }
  
  .presentation-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0c6b5a;
    font-size: 1.3rem;
    line-height: 1.2;
  }
  
  /* --------- COLONNE DROITE (IMAGE) --------- */
  .presentation-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    margin-bottom: 25px;
  }
  
  /* le fond vert arrondi derrière */
  .photo-bg {
    position: absolute;
    top: -28px;
    right: -28px;
    width: 68%;        /* ✅ plus petit que l’image */
    height: 68%;
    background-color: #0c6b5a;
    border-radius: 16px;
    z-index: 0;
  }
  
  /* l'image par dessus */
  .photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    border-radius: 16px;
    border: 6px solid #fff;
    z-index: 2;
  }
  
  /* --------- MISSION --------- */
  .mission {
    color: #0c6b5a;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: none;
  }
  
  .mission strong {
    font-weight: 700;
  }

  /* =========================
   RESPONSIVE PRESENTATION
========================= */

/* Tablettes ≤ 1024px */
@media (max-width: 1024px) {
  .presentation {
    padding: 60px 40px;
  }

  .presentation-container {
    grid-template-columns: 1fr; /* une colonne */
    gap: 40px;
  }

  .presentation-left h2 {
    font-size: 2.5rem;
  }

  .presentation-left p,
  .presentation-left .presentation-list li,
  .mission {
    font-size: 1rem;
  }

  .photo-wrapper {
    max-width: 350px;
    aspect-ratio: 1 / 1;
  }

  .photo-bg {
    width: 70%;
    height: 70%;
    top: -20px;
    right: -20px;
  }
}

/* Mobiles ≤ 480px */
@media (max-width: 480px) {
  .presentation {
    padding: 40px 20px;
  }

  .presentation-left h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .presentation-left p,
  .presentation-left .presentation-list li,
  .mission {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .presentation-left {
    padding: 0 10px 10px 10px;
  }

  .photo-wrapper {
    max-width: 100%;
    aspect-ratio: auto; /* image proportionnelle */
  }

  .photo-bg {
    width: 60%;
    height: 60%;
    top: -15px;
    right: -15px;
  }
}
  

/* =========================
   portfolio SECTION
========================= */

.portfolio {
    padding: 70px 30px;
    background-color: #006554;
    color: #f4efe5;
    text-align: center;
}

.portfolio h1{
    color : #f4efe5;
}


/* =========================
   VIDEO SECTION
========================= */

.video {
    position: relative;
    padding: 70px 30px;
    background-color: #f4efe5;
    color: #006554;
    text-align: center;
    overflow: hidden;
}

.video::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("image_video/carte_monde.png");
    background-repeat: no-repeat;
    background-position: center 20%;
    background-size: 65%;
    opacity: 0.15; /* filigrane */
    z-index: 0;
}

.video * {
    position: relative;
    z-index: 1;
}

.video h4 {
    font-size: 2rem;       /* texte plus petit */
    margin-bottom: 20px;     
    text-align: left;        
    margin-left: 25px;       
    line-height: 1.4;        
}

.video p {
    font-size: 1.2rem;       
    margin-bottom: 30px;     
    text-align: left;        
    max-width: 800px;        
    line-height: 1.6;        
    margin-left: 25px;       
}

/* =========================
   CONTAINER TELEPHONES
========================= */

.video-container {
    display: flex;              
    justify-content: center;     
    align-items: flex-start;     
    gap: 110px;                   
    flex-wrap: nowrap;           
    overflow-x: auto;            
    padding: 20px 0;
}

/* Téléphones */
.phone {
    flex: 0 0 auto;             
    width: 180px;                
    aspect-ratio: 9/16;
    border: 6px solid #333;
    border-radius: 30px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Écran du téléphone */
.phone .screen {
    width: 90%;
    height: 90%;
    border-radius: 25px;
    overflow: hidden;
}

/* Vidéo à l'intérieur */
.phone video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Haut-parleur du téléphone */
.phone::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #555;
    border-radius: 3px;
}

/* =========================
   RESPONSIVE TEXTES ET TELEPHONES
========================= */

/* Tablettes ≤ 1024px */
@media (max-width: 1024px) {
    .video {
        padding: 50px 30px;
    }

    .video h4 {
        font-size: 1.7rem;
        margin-left: 15px;
    }

    .video p {
        font-size: 1rem;
        max-width: 90%;
        margin-left: 15px;
    }

    .phone {
        width: 140px;  
    }

    .video-container {
        gap: 25px;     
    }
}

/* Mobiles ≤ 480px */
@media (max-width: 480px) {
    .video {
        padding: 40px 20px;
    }

    .video h4 {
        font-size: 1.5rem;
        margin-left: 10px;
    }

    .video p {
        font-size: 0.9rem;
        max-width: 100%;
        margin-left: 10px;
    }

    .phone {
        width: 120px;  
    }

    .video-container {
        gap: 15px;
    }
}

/* =========================
   VIDEO_DRONE SECTION
========================= */

.video_drone {
    position: relative;
    min-height: 80vh; 
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-start;  
    padding: 60px 40px 40px 40px;
    text-align: left;
}

/* Vidéo en background */
.video_drone .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
    object-position: center 5%;
}

/* Overlay pour lisibilité */
.video_drone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 0;
}

/* Contenu au-dessus de la vidéo */
.video-drone-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablettes ≤ 1024px */
@media (max-width: 1024px) {

    .video_drone {
        min-height: 70vh;
        padding: 50px 30px;
    }

    .video-drone-content {
        max-width: 600px;
    }
}

/* Mobiles ≤ 768px */
@media (max-width: 768px) {

    .video_drone {
        min-height: 60vh;
        padding: 40px 20px;
    }

    .video-drone-content {
        max-width: 100%;
    }
}

/* Petits mobiles ≤ 480px */
@media (max-width: 480px) {

    .video_drone {
        min-height: 55vh;
        padding: 30px 15px;
    }

}

/* =========================
   MiseEnValeur SECTION
========================= */

.MiseEnValeur {
    padding: 80px 40px;
    background-color: #f4efe5;
}

/* TITRE */
.MiseEnValeur h2 {
    color: #006554;
    text-align: left;
    font-size: 2rem;
    margin: 0 0 18px 0;
    margin-bottom: 40px;
}

/* =========================
   DESKTOP 
========================= */

.mv-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 170px;
    gap: 10px;
}

/* IMAGES */
.mv-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    filter:
        sepia(0.35)
        saturate(1.15)
        hue-rotate(-10deg)
        brightness(0.98)
        contrast(1.05);
}

/* TES POSITIONS ORIGINALES */
.mv-buffet { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.mv-couple { grid-column: 3; grid-row: 1 / span 2; }
.mv-alison { grid-column: 4; grid-row: 1 / span 2; }
.mv-spa { grid-column: 5 / span 2; grid-row: 1 / span 2; }

.mv-lit { grid-column: 1 / span 2; grid-row: 3 / span 2; }
.mv-dej-lit { grid-column: 3 / span 1; grid-row: 3 / span 2; }
.mv-tente { grid-column: 4 / 6; grid-row: 3 / span 2; }
.mv-petit-dej { grid-column: 6 / 7; grid-row: 3 / span 2; }

/* =========================
   TABLETTE
========================= */

@media (max-width: 1024px) {

    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 15px;
    }

    /* On neutralise UNIQUEMENT les placements desktop */
    .mv-grid > * {
        grid-column: auto !important;
        grid-row: auto !important;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .MiseEnValeur {
        padding: 60px 20px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 15px;
    }

}


/* =========================
   DESIGN SECTION
========================= */

.design{
    background-color: #006554;
    padding: 90px 60px;
    color: #f4efe5;
}

.design-container{
    max-width: 1400px;
    margin: 0 auto;
}

.design-text h2{
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.design-text p{
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Collage */
.design-collage{
    position: relative;
    margin-top: 40px;
    height: 440px;  /* Hauteur fixe pour collage */
}

/* Carte image */
.design-card{
    position: absolute;
    border-radius: 22px;
    border: 10px solid #f4efe5;
    overflow: hidden;
    background: #f4efe5;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.design-card img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Positions fixes */
.card-1{
    left: 0;
    top: 0;
    width: 420px;
    height: 250px;
    z-index: 2;
}

.card-2{
    left: 360px;
    top: 40px;
    width: 420px;
    height: 250px;
    z-index: 3;
}

.card-3{
    left: 120px;
    top: 210px;
    width: 300px;
    height: 220px;
    z-index: 1;
}

.card-4{
    right: 0;
    top: 90px;
    width: 520px;
    height: 300px;
    z-index: 2;
}


/* =========================
   Footer
========================= */
.site-footer {
  position: relative;
  padding: 40px 40px 10px;
  background-image: url("image_video/footer.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #f4efe5;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 0;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
}

/* Colonne gauche : formulaire */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 600px; 
}

.footer-left h3 {
  font-size: 1.8rem;
  text-align: center;
  width: 100%;
}

/* FORMULAIRE */
.contact-form {
  background: rgba(244,239,229,0.08);
  border: 1px solid rgba(244,239,229,0.18);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(6px);
  max-width: 100%;
  width: 100%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f4efe5;
}

.form-row input,
.form-row textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(244,239,229,0.22);
  background: rgba(0,0,0,0.35);
  color: #f4efe5;
  outline: none;
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(0,101,84,0.9);
  box-shadow: 0 0 0 3px rgba(0,101,84,0.25);
}

.btn-send {
  width: 100%;
  margin-top: 6px;
  padding: 10px 14px;
  border: 2px solid #f4efe5;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: #f4efe5;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform .2s ease, background .2s ease;
}

.btn-send:hover {
  background: rgba(0,0,0,0.55);
  transform: scale(1.02);
}

.form-note {
  margin-top: 8px;
  font-size: 0.8rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Colonne droite : social + logo */
.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 570px; /* ajuste selon le design */
}

/* Conteneur horizontal pour social + logo */
.footer-social-and-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform .2s ease, opacity .2s ease;
}

.social-icon:hover img {
  transform: scale(1.08);
  opacity: .85;
}

/* Logo */
.footer-logo-bottom .footer-logo {
  width: 80px;
  height: auto;
}

/* Footer bottom text */
.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 45px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
  .footer-left, .footer-right {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .footer-logo {
    width: 140px;
  }
  .contact-form {
    max-width: 100%;
  }
}

/* =========================
 Messages & Validation
========================= */

/* Texte champs obligatoires */
.required-note{
  font-size: 0.9rem;
  margin-bottom: 15px;
  opacity: 0.85;
  font-style: italic;
}

/* Message global (haut du formulaire) */
.form-feedback{
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.form-feedback.error{
  display: block;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.5);
  color: #ffb3ad;
}

.form-feedback.success{
  display: block;
  background: rgba(39,174,96,0.15);
  border: 1px solid rgba(39,174,96,0.6);
  color: #b9f6d2;
}

/* Messages d’erreur sous champs */
.error-message{
  font-size: 0.8rem;
  color: #ffb3ad;
  min-height: 14px;
}

/* Bordure rouge uniquement sur champs invalides */
.form-row.invalid input,
.form-row.invalid textarea,
.form-row.invalid select {
  border-color: #c0392b;
}

/* Groupe téléphone */
.phone-group{
  display: flex;
  gap: 10px;
}

.phone-group select{
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(244,239,229,0.22);
  background: rgba(0,0,0,0.35);
  color: #f4efe5;
  outline: none;
  min-width: 120px;
}

.phone-group select:focus{
  border-color: rgba(0,101,84,0.9);
  box-shadow: 0 0 0 3px rgba(0,101,84,0.25);
}

/* Animation douce apparition message */
.form-feedback{
  animation: fadeIn .3s ease forwards;
}

.footer-links a{
  color: white;
  text-decoration: none;
}

@keyframes fadeIn{
  from{
    opacity: 0;
    transform: translateY(-5px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}