:root{
  --cream: #F7F3EB;
  --sage:  #90beab;
  --black: #0b0b0b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 6px 18px rgba(11,11,11,0.06);
  --radius: 12px;
  --container: 1100px;
}

/* Reset minimal */
html, body {
  overflow-x: hidden;
}

*{box-sizing:border-box}
html{
    scroll-behavior:smooth
}

body{
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing :antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Layout */
.container{
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px
}

/* Skip link */
.skip-link{
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip-link:focus{
    left: 10px; 
    top: 10px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #000;
    color: #fff;
    border-radius: 6px
}

/* Header Général*/

.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #90beab;
    z-index: 9999;
    padding: 18px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Conteneur Header */

.header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Logo */

.brand-logo{
    max-width: 70px;
    height: auto;
}

/* Brand text */

.brand{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.brand-text{
    display: flex;
    flex-direction: column;
}

.brand-text .logo{
    font-family: "Playfair Display", serif;
    font-weight: bold;
    font-size: 20px;
    color: #000;
}

.brand-text .sub{
    font-size: 14px;
    color: #000;
}

/* Menu Desktop */
.nav a{
    display: inline-block;
    margin: 0 0;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 25px;
    background-color: #F7F3EB;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav a:hover{
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.nav-toggle{
  display:none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Bouton hamburger */

.nav-toggle {
  display: none; /* Desktop caché */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2000;
}

.nav-toggle span {
  position: absolute;
  display: block;
  height: 3px;
  width: 22px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3 ease;
  transform-origin: center;
}

/* Positionnement initial des 3 barres */

.nav-toggle span:nth-child(1) {
  top: 6px;
}
.nav-toggle span:nth-child(2) {
  top: 12px;
}
.nav-toggle span:nth-child(3) {
  top: 18px;
}

/* Tranformation en croix */

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 12px;
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 12px;
}

/* Hero */
.hero{
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F7F3EB;
    margin-top: 120px;
    overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content{
    position: relative;
    z-index: 2;
}

.hero h1{
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin-bottom: 16px;
    font-weight: bold;
    line-height: 0.5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p{
    font-size: 20px;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons .btn {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 20px;
  background-color: #F7F3EB; /* fond crème */
  color: var(--black);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: transform 0.2s;
}

.hero-buttons .btn:hover {
  transform: scale(1.05); /* effet hover */
}

/* Sections */

.section{
    padding : 44px 0;
    scroll-margin-top: 100px;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

/* --- Carte expandable dédiée --- */
.expandable-card {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 30px auto;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative; /* pour z-index si besoin */
  z-index: 1;
}

/* Titre cliquable */
.expandable-card .expandable-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  user-select: none;
  line-height: 1.2;
  margin: 0; /* élimine conflits H2 */
}

/* Flèche */
.expandable-card .arrow-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.4s ease;
  margin-left: 12px;
  vertical-align: middle;
}

/* Contenu caché */
.expandable-card .expandable-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  transition: max-height 0.8s ease, opacity 0.4s ease, padding 0.4s ease;
}

/* Contenu visible */
.expandable-card.expanded .expandable-content {
  max-height: 5000px; /* adapter selon contenu */
  opacity: 1;
  padding: 20px 24px 30px 24px;
}

/* Rotation flèche quand ouvert */
.expandable-card.expanded .arrow-icon {
  transform: rotate(90deg);
}

/* Nettoyage margin des H2/P à l'intérieur pour éviter conflit */
.expandable-card .expandable-content h2,
.expandable-card .expandable-content h3,
.expandable-card .expandable-content p {
  margin: 0 0 12px 0;
}


/* GALLERIES (images et avis) */
.gallery-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.gallery-inner-wrapper {
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  gap: 20px;
  width: 100%;
  padding: 10px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  box-sizing: border-box;
  margin: 0;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll figure { 
  margin: 0;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
}

/* IMAGES */

.gallery-images figure {
  flex: 0 0 calc((100% - 20px) / 2); /* 2 images visibles avec gap de 20px */
}

.gallery-scroll img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0,.1);
  transition: transform 0.3s;
}

/* AVIS */

.gallery-wrapper.avis-wrapper {
  padding: 0;
}

.gallery-avis {
  justify-content: flex-start;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  align-items: flex-start;
}

.gallery-avis .avis-card {
  flex: 0 0 auto;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  font-size: 14px;
  box-sizing: border-box;
}

.avis-card .author {
  font-weight: 600;
  color: #555;
  margin-top: 8px;
}

.review-platform img {
  height: 24px;
  width: auto;
}

/* BOUTONS DE SCROLL */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.2s ease;
}

.scroll-btn.left { left: -50px; }
.scroll-btn.right { right: -50px; }

/* Zoom au survol desktop */
.scroll-btn:hover {
  transform: translateY(-50%) scale(1.2);
}

/* Equip list */
.equip-wrapper {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.equip-list{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  justify-content: center;
}

.equip-list li{
  background:var(--white);
  padding:8px 12px;
  border-radius:999px;
  box-shadow:var(--shadow);
  font-size:14px
}

.equip-btn a {
  display: inline-block;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px; 
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.equip-btn a:hover {
  color: var(--sage);
  transform: scale(1.05);
}


/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11,11,11,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup content */
.popup-content {
  background: var(--white);
  padding: 24px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  margin: 0 auto;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Popup list */
.popup-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.popup-list li {
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.popup-content p:last-of-type {
  margin-bottom: 24px;
}

/* Map */
.map{
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Accordion */
.accordion {
  margin-top: 18px;
}

.acc-item {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: max-height 0.5s ease, padding 0.5s ease;
}

/* Button with flex and arrow */
.acc-toggle {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Arrow icon inside button */
.acc-toggle::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('images/arrow-right-solid-full.svg') no-repeat center center;
  background-size: contain;
  transition: transform 0.3s ease;
}

/* Panel content */
.acc-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
  font-size: 14px;
}

/* Expanded state */
.acc-item.expanded .acc-panel {
  max-height: 1000px; /* adapter selon contenu */
  opacity: 1;
  padding: 12px 16px;
}

/* Rotate arrow when expanded */
.acc-item.expanded .acc-toggle::after {
  transform: rotate(90deg);
}

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 12px;
}

.card {
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);

  display: flex;           
  flex-direction: column; 
  justify-content: center; 
  align-items: center;     
  text-align: center; 
}

.card h3 {
  margin: 0 0 12px 0;      
  line-height: 1.2;
}

.card p {
  margin: 0 0 16px 0;      
}

.card .link-more {
  display: inline-block;
  color: var(--black);     
  text-decoration: none;   
  font-weight: 500;        
  transition: transform 0.2s, color 0.2s;  
}

.card .link-more:hover {
  transform: scale(1.05);
  color: var(--sage);
}

/* --- Popup recommandations (mise en page 2 colonnes) --- */
.popup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
}

/* Bloc individuel dans la grille */
.popup-item {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Titre du lieu */
.popup-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--black);
}

/* Localisation & type */
.popup-item p {
  font-size: 14px;
  margin: 0 0 6px;
  color: var(--muted);
}

/* Lien Google Maps */
.popup-item a {
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s, color 0.2s;
  display: inline-block;
}

.popup-item a:hover {
  transform: scale(1.05);
  color: var(--sage);
}

/* Contact */
.contact-container {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.contact-left,
.contact-right {
  flex: 1; /* 50% chacun */
}

.contact-separator {
  width: 1px;
  background-color: var(--muted);
}

/* Formulaire */
.contact-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin-top: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11,11,11,0.1);
  background: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(144, 201, 184, 0.2);
  outline: none;
}

.contact-form button.btn {
  background: var(--sage);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.contact-form button.btn:hover {
  transform: scale(1.05);
  background: #10806e; /* Variante un peu plus foncée pour hover */
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

.alt-contact {
  font-size: 14px;
  text-align: center;
}

.phone-link {
  color: #90beab;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.phone-link:hover {
  transform: scale(1.05);
  color: #10806e;
}

/* Boutons Airbnb / Booking */
.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.contact-right a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  text-decoration: none;
  color: #fff;
  width: 100%;
  max-width: 520px;
  line-height: 58px;
  transition: transform 0.2s;
  white-space: nowrap;
  box-sizing: border-box;
}

.contact-right a img {
  position: absolute;
  left: 0px;
  height: 58px;
  width: auto;
}

.btn-airbnb {
  background-color: #F44336;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-airbnb:hover {
  transform: scale(1.05);
}

.btn-booking {
  background-color: #003381;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-booking:hover {
  transform: scale(1.05);
}

/* Loader animé : lettre 📧 qui se déplace avec des traits */
.loader {
  display: inline-flex;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #003381; /* couleur du loader */
}

.loader .letter {
  display: inline-block;
  animation: moveLetter 1s linear infinite;
  margin-right: 8px;
}

.loader .trail {
  display: inline-block;
  width: 4px;
  height: 2px;
  background: #003381;
  margin-right: 2px;
  animation: blink 1s infinite;
}

@keyframes moveLetter {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

@keyframes blink {
  0%, 50%, 100% { opacity: 0; }
  25%, 75% { opacity: 1; }
}

/* Footer */
.site-footer{
  padding:24px 0;
  background:transparent;
  color:var(--muted);
  font-size:14px
}
