/*
Archipel Club HTML Template
*/
body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: 300;
	overflow-x: hidden;
}

a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.row { display: block; }

.row-font-bleu {
	color: #0066FF;
}

.tm-left-right-container { width: 100%; }

.tm-blue-bg {
	background-color: #006599;
	color: white;
}

.tm-blue-text {	color: #006599; }
.tm-blue-bg a {	color: white; }

.tm-site-name {
	font-size: 4rem;
	margin-top: 20px;
}

.tm-logo-div {
	padding-top: 40px;
	padding-bottom: 20px;
	position: relative; /* N??cessaire pour aligner le bouton burger */
}

/* --- STRUCTURE REVISIT??E POUR MENU BURGER MOBILE --- */
.tm-main-nav { 
	display: block; /* Modifi?? de none ?? block pour supporter les transitions CSS */
	max-height: 0; 
	overflow: hidden;
	transition: max-height 0.4s ease-in-out;
}

/* ??tat d??pli?? en version mobile lors du clic */
.tm-main-nav.active {
	max-height: 450px; 
}

.tm-main-nav-ul {
	display: block;
	padding-left: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}

/* Bouton burger visible par d??faut en mode mobile */
.burger {
	display: flex; /* MODIFICATION : Suppression du !important pour permettre le masquage sur grand ??cran */
	flex-direction: column;
	justify-content: center; /* Aligne les barres au centre */
	gap: 6px; /* Cr??e l'espace exact entre les barres */
	width: 35px;
	height: 30px;
	background: transparent !important; /* Supprime tout fond blanc ind??sirable */
	border: none !important;
	cursor: pointer;
	padding: 0;
	position: absolute;

	/* MODIFICATION : Changement de 'right' ?? 'left' pour d??placer le bouton */
	left: 25px; 
	
	top: 50%;
	transform: translateY(-50%);
	z-index: 1000;
}

/* Forcer l'affichage visible de chaque ligne */
.burger .bar {
	display: block !important;
	width: 100%;
	height: 3px;
	background-color: #ffffff !important; /* Force les barres en blanc brillant */
	border-radius: 2px;
	transition: all 0.3s ease-in-out;
}

/* Transformations graphiques du burger en croix (X) propres et uniques */
.burger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active .bar:nth-child(2) { opacity: 0; }
.burger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.tm-section { margin-bottom: 5px; }
.tm-welcome-title {	font-size: 2rem; }
.tm-section-title {	font-size: 1.6rem; }
.tm-content-div { padding: 40px; }
.tm-margin-b-45 { margin-bottom: 45px; }
.tm-margin-b-30 { margin-bottom: 30px; }
.tm-margin-b-15 { margin-bottom: 15px; }
p { line-height: 2; }

.tm-button {
	background-color: #006599;
	border: none;
	color: white;
	cursor: pointer;
	display: inline-block;
	font-size: 1.4rem;	
	padding: 18px 35px;
}

.tm-button-wide { padding: 18px 40px; }

.tm-button:hover,
.tm-button:active,
.tm-button:focus {
	background-color: #2790c6;
	color: white;
}

.tm-nav-item {
	margin-bottom: 0px;
	padding: 12px 0;
}

.tm-nav-item-link {
	display: block;
	color: white;
	text-decoration: none;
}

.tm-nav-item:hover a,
.tm-nav-item:active a,
.tm-nav-item:focus a,
.tm-nav-item-link.active {
	color: #f4ef5e;
}

.tm-about-img-container { margin-top: 50px; }

.tm-gallery-container {
	overflow: auto;
	margin-left: -5px;
	margin-right: -5px;
}

.tm-img-container {	float: left; }

.tm-img-container-1,
.tm-img-container-2,
.tm-img-container-3 { 
	margin-bottom: 10px;
	width: 50%; 
}

.tm-img-tn {
	padding-left: 5px;
	padding-right: 5px;
}


.tm-contact-right { margin-top: 40px; }

.form-control {
	border-color: #0a6697;
	border-radius: 0;
	color: #4286ab;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 1.3rem;
}

.font-size-12 {
	font-size: 12px;
}

.font-size-13 {
	font-size: 13px;
}

.font-size-15 {
	font-size: 15px;
}

.font-color-green {
	color: green;
}

.interligne-30 
{
line-height: 30px;
}




input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #4286ab !important;
}
 
input:-moz-placeholder,
textarea:-moz-placeholder { 
	color: #4286ab !important;  
}
 
input::-moz-placeholder,
textarea::-moz-placeholder {  
	color: #4286ab !important;  
}
 
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {  
	color: #4286ab !important;  
}

.tm-contact-right {	padding-left: 15px; }
.tm-copyright-p { margin-bottom: 0; }

/* Media Queries */
@media (min-width: 576px) {
	.container { width: 100%; }
	.tm-site-name { margin-top: 35px; }
	.tm-welcome-title { font-size: 2.4rem; }
	.tm-img-container-1 { width: 20%; }
	.tm-img-container-2 { width: 33.3334%; }
	.tm-img-container-3 { width: 25%; }
}

/* Cibler uniquement les smartphones et tablettes (écrans inférieurs à 768px) */
@media (min-width: 768px) {
	.tm-about-img-container { margin-top: 0; }
}

@media screen and (max-width: 768px) {
    /* Augmente l'espace après la section welcome */
    #welcome.tm-section {
        margin-bottom: 50px !important; /* Ajustez les 50px selon vos préférences */
    }
    /* Augmente aussi l'espace sous les autres galeries avant le titre suivant */
    #galleryone.tm-section, 
	#secondgallery.tm-section,
    #thirdgallery.tm-section {
        margin-bottom: 50px; 
    }
}


@media (min-width: 992px) {
	/* DESACTIVATION DU BURGER ET RETOUR AU MENU STANDARD SUR ORDINATEUR */
	.burger {
		display: none !important; /* MODIFICATION : Ajout de !important pour ??craser d??finitivement les styles mobiles */
	}

	.tm-main-nav {
		display: flex !important;
		justify-content: center;
		max-height: none !important; /* Force l'affichage permanent du menu */
		overflow: visible;
	}

	.tm-main-nav-ul {
		display: inline-block;
	}

	.tm-left-column { 
		position: fixed; 
		height: 100%;
		width: 30%;
	}

	.container { width: 100%; }

	.tm-right-column {
		float: right;
		width: 70%;
	}

.tm-nav-item {
		cursor: pointer;
		font-size: 1.5rem;
		list-style: none;
		padding: 10px 0px;       
		margin-bottom: 0px !important;   
		margin-top: -10px !important;    /* FORCE le menu à remonter vers le logo */
		transition: all 0.3s ease;
	}

.tm-site-name {
	    font-size: 3.3rem;
	    margin-top: 30px;
	    margin-bottom: 10px !important; /* Évite que le texte du titre ne repousse le menu */
	}

	.tm-logo-div {
	    padding-top: 50px;
	    padding-bottom: 50px;
	}

	.tm-section { margin-bottom: 100px; }

	.tm-content-div { padding: 25px 40px 30px 80px;	}

	.tm-img-container-1 {
		margin-bottom: 10px;
		width: 33.3334%;
	}

	.tm-img-container-2 {
		margin-bottom: 10px;
		width: 50%;
	}

	.tm-img-container-3 {
		margin-bottom: 10px;
		width: 33.3333%;
	}

	.tm-contact-right { margin-top: 0; }
}

@media (min-width: 1200px) {		
	.container { width: 100%; }	
	.tm-button-wide { padding: 18px 68px; }
	.tm-img-container-1 { width: 20%; }
	.tm-img-container-2 { width: 33.3333%; }
	.tm-img-container-3 { width: 25%; }
	.tm-contact-right { padding-left: 42px; }
}

@media (min-width: 1500px) {	
	.container { width: 100%; }
	p { margin-bottom: 30px; }

	.tm-gallery-container {
		overflow: auto;
		margin-left: -10px;
		margin-right: -10px;
	}

	.tm-img-tn {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (min-width: 1800px) {
	.container,
	.tm-left-right-container {
	    width: 100%;
	}

	p { margin-bottom: 36px; }

	.tm-gallery-container {
		overflow: auto;
		margin-left: -10px;
		margin-right: -10px;
	}

	.tm-img-container-1 { width: 20%; }

	.tm-img-tn {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-height: 860px) {
	.tm-logo-div {
	    padding-top: 45px;
	    padding-bottom: 20px;
	}

	.tm-nav-item { font-size: 1.4rem; }

	.tm-site-name {
		font-size: 2.4rem;
		margin-top: 10px;
	}
}

@media (min-height: 859px) {
	.tm-logo-div {
	    padding-top: 40px;
	    padding-bottom: 30px;
	}

	.tm-nav-item { font-size: 1.9rem; }
}

/* --- ADAPTATION MOBILE ET TABLETTE (ecrans inferieurs a 992px) --- */
@media (max-width: 991px) {
	/* R??active le bouton burger */
	.burger {
		display: flex !important; 
		position: absolute !important;
		left: 20px !important;
		top: 35px !important; /* Positionn?? en haut ?? gauche de la zone bleue */
		transform: none !important;
	}

	/* Centre parfaitement le bloc logo et augmente l'espace */
	.tm-logo-div {
		padding-left: 0 !important; /* Supprime le d??calage pr??c??dent */
		padding-top: 60px !important; /* Laisse de l'espace pour le burger au-dessus */
		padding-bottom: 15px !important;
		text-align: center !important; /* Centre l'image et le titre */
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	/* Agrandit l'image du logo sur mobile */
	.tm-logo-div img {
		max-width: 220px !important; /* Augment?? de 130px ?? 220px */
		width: 100%;
		height: auto;
		margin-bottom: 15px; /* Espace entre l'image et le texte */
	}

	/* Ajuste le titre sous le logo pour qu'il soit bien lisible */
	.tm-site-name {
		font-size: 1.8rem !important;
		text-align: center !important;
		margin-top: 10px !important;
		padding: 0 15px; /* ??vite que le texte touche les bords de l'??cran */
	}
}

/* ==========================================
   BANDEAU COOKIES ENTIÈREMENT ISOLÉ
   ========================================== */

/* Structure racine isolée et fixée */
.cookie-banner-root {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999 !important; /* Priorité absolue sur le menu burger et le site */
  box-sizing: border-box;
  padding: 15px;
  pointer-events: none; /* Laisse passer les clics en dehors du conteneur réel */
}


/* Isolation de la boîte de dialogue (Taille bridée sur ordinateur) */
.cookie-banner-container {
  pointer-events: auto;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 101, 153, 0.15);
  border-radius: 8px;
  width: 100%;
  max-width: 650px; /* Empêche le bandeau de dépasser cette largeur sur PC */
  margin: 0 auto; /* Centre horizontalement la carte sur l'écran */
  box-sizing: border-box;
}

/* Disposition interne (Texte à gauche, boutons à droite mais resserrés) */
.cookie-banner-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* Aligne le texte à gauche et les boutons à droite dans la limite des 800px */
  gap: 20px; /* Espace minimal de sécurité entre le texte et les boutons */
  padding: 15px 25px;
  box-sizing: border-box;
  height: auto;
}

/* Le texte reprend son étirage mais reste confiné dans la limite de la carte */
.cookie-banner-text {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #333333 !important;
  margin: 0 !important;
  text-align: left;
  flex: 1; /* Permet au texte d'occuper l'espace restant disponible à gauche des boutons */
}

.cookie-banner-root {/* Masqué par défaut */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

/* Devient visible lorsque le JavaScript ajoute la classe .show */
.cookie-banner-root.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Zone des boutons */
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; /* Empêche les boutons de se déformer */
}

/* Boutons spécifiques isolés du reste du thème */
.cookie-btn {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
}

/* Bouton principal (Reprend votre charte #006599) */
.cookie-btn-primary {
  background-color: #006599 !important;
  color: #ffffff !important;
}
.cookie-btn-primary:hover {
  background-color: #2790c6 !important;
}

/* Bouton secondaire */
.cookie-btn-secondary {
  background-color: #e0e0e0 !important;
  color: #333333 !important;
}
.cookie-btn-secondary:hover {
  background-color: #d5d5d5 !important;
}

/* Évite l'effet d'enfoncement global */
.cookie-btn:active {
  transform: scale(0.98);
}

/* ==========================================
   BANDEAU MOBILE CARTE CENTRÉE MOBILE (Écrans tactiles)
   ========================================== */

@media (max-width: 575px) {
  .cookie-banner-root {
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(15px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px; /* Marges externes réduites */
  }
  
  .cookie-banner-root.show {
    transform: translateY(0);
  }

  .cookie-banner-container {
    max-width: 100%;
    border-radius: 8px; /* Coins légèrement plus discrets */
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.12);
  }

  .cookie-banner-content {
    flex-direction: row; /* Aligne le texte et les boutons côte à côte */
    align-items: center;
    justify-content: space-between;
    gap: 12px; /* Espace réduit entre les éléments */
    padding: 10px; /* Moins de vide intérieur */
  }

  .cookie-banner-text {
    text-align: left !important; /* Alignement à gauche plus naturel sur une ligne */
    font-size: 12.5px !important; /* Police plus petite et discrète */
    line-height: 1.4 !important;
  }

  .cookie-banner-actions {
    width: auto;
    flex-direction: row; /* Boutons côte à côte horizontalement */
    gap: 6px;
  }

  .cookie-btn {
    width: auto !important; /* Les boutons reprennent leur taille minimale */
    padding: 8px 14px !important; /* Boutons plus fins et moins hauts */
    font-size: 12px !important; /* Taille de texte des boutons ajustée */
  }
}

/* --- NOUVEAU STYLE POUR LE FORMULAIRE DE RÉSERVATION (9 CHAMPS) --- */
.tm-booking-form {
    max-width: 630px; /* Aligné sur la structure générale du template */
    margin-top: 20px;
}

.booking-grid {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace vertical entre les champs */
}

.booking-group {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Espace entre l'intitulé et la case à cocher/saisir */
}

.booking-group label {
    font-size: 1.1rem;
    font-weight: 400;
    color: #0a6697;
}

.booking-submit-container {
    margin-top: 30px;
    text-align: center;
}

/* Sécurité Honeypot anti-spam (strictement masqué) */
.hp_field {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* --- AFFICHAGE SUR DEUX COLONNES (ÉCRANS PC ET TABLETTES) --- */
@media (min-width: 600px) {
    .booking-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        column-gap: 30px;
    }
    
    /* Configuration par défaut : les champs occupent la moitié de la largeur (6/12) */
    .booking-group {
        grid-column: span 6;
    }
    
    /* Champs occupant toute la largeur (Ligne complète) */
    .booking-group.full-width {
        grid-column: span 12;
    }
    
    /* Optimisation de l'adresse : Code Postal (4/12) et Ville (8/12) */
    .booking-group.cp-field {
        grid-column: span 4;
    }
    
    .booking-group.ville-field {
        grid-column: span 8;
    }
}

