/* * * * * *, h1, h2, h3, h4, h5, h6, img {outline: 3px solid orangered;} */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@supports (background-color: Canvas) and (color: CanvasText) {
  :root {
      --bg-color: Canvas;
      --txt-color: CanvasText;
      --text-color: #0B253F;
      --cta-color: #007DC7;
      --turquoise-color: #3BC0CF;
      --red-color: #d2261e;
      --jaune-color: #FAF1D2;
      --font-s-serif: "PT Sans Narrow", sans-serif;
      --font-serif: "Playfair Display", serif;
  }
}
.btn4 {
  color: #ffffff;
  background-color: var(--red-color);
  font-size: 1.2em;
}

.btn4:hover {
  color: #ffffff;
  background-color: var(--text-color);
}

.sep {border-bottom: 2px solid #DEDEDE;}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    font-size: 12px;
    color: #002c53;
    text-shadow: none;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0em;
    word-spacing: 0em;
    line-height: 1.2;
    background-color: #ffffff;
  }

header {
  width: 100%;
  height: 9vh;
  top: 0;
  left: 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav {
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background-color: #ffffff;
}

nav li:first-child {
  margin-left: 40px;
}

nav li:last-child {
  margin-left: auto; /* Pour pousser le dernier élément à droite */
  padding-right: 40px;
}

p {
  font-size: clamp(1.9rem, 1vw, 2.2rem); 
  line-height: 1.7em;
  color: var(--text-color);
}

h1, h2, h3 {
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: var(--text-color);
	-webkit-hyphens: none;
	    -ms-hyphens: none;
	        hyphens: none;
}

.resp {display:none;}
.noresp {display: block;}

.logo {
  max-height: 90px;
}

/* =========================================
----			        	MENU 		         	----
============================================ */

.toggle {
  display: none;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-size: 1.9rem;
  gap: 20px;
}

.menu li a {
  color: var(--text-color);
  padding: 5px;
  text-decoration: none;
  -webkit-transition: color 0.5s;
  -o-transition: color 0.5s;
  transition: color 0.5s;
}

.menu li a:hover {
  color: var(--cta-color);
  text-underline-offset: 0.3em;
}

#content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	height:100dvh;
}

.sous-menu {display: none;}

.menu-nav__item--activ {
  background-color: white;
  -khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
  color: var(--cta-color);
  font-weight: 900;
  /* text-decoration: underline;
  text-underline-offset: 0.3em; */
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

.menu-nav__item--activ a:visited {
  color: var(--cta-color);
}

.menu li {
  text-align: center;
}
/* =========================================
----			        	TITRES 		        	----
============================================ */

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

ul {line-height: 2em;}

.titre-centre-mob {text-align: left;}




/* =========================================
----			     	BOUTONS		      	----
============================================ */

.btn-centre-mob {text-align: inherit;}

/* ==============================
----	 	 	 	LINKS 	  			----
================================= */
 
a {
  padding: 5px 5px 5px 5px;
  }
  
  a:link {
      color:#002c53;
      text-decoration:underline;
      font-weight: bold;
  }
  
  a:visited {
      color:#002c53;
      text-decoration:none;
      padding: 5px 5px 5px 5px;
  }
  
  a:hover {
      color:#002c53;
      text-decoration: none;
  }
  
  a:active {
      color:#002c53;
      text-decoration:none;
  }
  

/* ==============================
----	 	 	 	EFFETS 	  			----
================================= */

.arrondi {
  -khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

/* || ACCUEIL */

/* les blocs accueil */

.regles_liste {
  font-size: 1.6em;
}

.content{
  /* background-color: white; */
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  justify-content: center;

}

.content img{
  max-width: 300px;
}

.home-infos__block--logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/accueil_fond-bandeau-logo.jpg);
  height: 35vh;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-infos__block--logo-big {
max-width: 300px;
}

.home-infos__block--logo-img {max-height: 90px;}
.home--logo-signature {max-width: 250px;}

.home-texte__fond {
  background: url(../img/accueil_fond.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.fede-texte__fond {
  background: url(../img/accueil_fond.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
}

p {
  text-align:left;
  font-size: clamp(1.9rem, 1vw, 2.2rem); 
  line-height: 1.7em;
  color: var(--text-color);
}

/* home FAQ */
.home-faq__block--point-fort {
  background: rgb(255,255,255);
  background: linear-gradient(170deg, rgba(255,255,255,1) 0%, rgba(250,241,210,1) 36%); 
}

/* accordeon */

 /* Style the buttons that are used to open and close the accordion panel */

 .accordion {
  background-color: transparent;
  font-size: clamp(1.9rem, 1vw, 2.9rem);
  line-height: clamp(2.5rem, 4vw, 3rem);
  font-family: var(--font-s-serif);
  color: var(--text-color);
  cursor: pointer;
  padding: 40px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  color: white;
  background-color: var(--turquoise-color);
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
  padding: 40px;
} 



/* ACCUEIL écran anim */
.logo-bloc {width: 100%;}
.logo-bloc-contact {width: 60%;}

/* anim home hero galerie */
span.rise-shake {
  animation: jump-shaking 0.83s infinite;
}

@keyframes jump-shaking {
  0% { transform: translateX(0) }
  25% { transform: translateY(-9px) }
  35% { transform: translateY(-9px) rotate(17deg) }
  55% { transform: translateY(-9px) rotate(-17deg) }
  65% { transform: translateY(-9px) rotate(17deg) }
  75% { transform: translateY(-9px) rotate(-17deg) }
  100% { transform: translateY(0) rotate(0) }
}

.home-hero__block--galerie span {display: inline-block;}

.acc-liste-conseil {
  background-image: -o-linear-gradient(0deg,#088ca8 27%,#094d5c 100%);
	background-image: linear-gradient(0deg,#088ca8 27%,#094d5c 100%);	
}

.acc-titre-eho {
  padding: 4rem;
}

.cta__block h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8em;
  line-height: 1.4em;
}


/* =============== contact =============== */

.form {max-width: 720px;}
.form-champ {text-align: left;}
.form-input {width: 100%; border-top: 0px; border-right: 0px; border-bottom: 1px solid var(--text-color); border-left: 0px;}
.form-input:last-child {border-bottom: 0px;}
.contact_visuel {max-width: 50%;}
.contact_text-coordo {text-align: center; font-size: 2rem; line-height: 2em; text-underline-offset: 0.4em; height: 100%;}
.contact_text-coordo a:hover {color: var(--cta-color);}
.contact_telephone--bloc {min-height: 40vh;}
.contact_tarif--bloc {
  min-height: 50vh;
  background-image: -o-linear-gradient(180deg,var(--cta-color) 17%,var(--txt-color) 100%);
  background-image: linear-gradient(175deg,var(--cta-color) 17%,var(--txt-color) 100%);
}
.contact_situation {
  background-color: #e19764;
  /* background-color: var(--orange-color); */
}

/* =========================================
----		           FOOTER 	            ----
============================================ */
.call-contact {max-width: 600px;}
footer {background: rgb(7,44,84);}

footer a {color: #ffffff; text-decoration: none; font-size: 1.2em;}
footer a:hover {color: #ffffff;text-decoration: none;}
footer, .footer__block--legals a, .footer__block--legals a:hover, .footer__block--legals a:visited, .footer__block--raccourcis a {color: #ffffff;}

.footer__block--raccourcis {width: 100%;}
.footer__block--legals {color: #ffffff; font-weight: 300;}

.nav-social {width: 3em;}
/* =========================================
----		           COMMONS	            ----
============================================ */
.mw640p {max-width: 640px;}
.bg-beige {background-color: #f9eade;}
.bg-bleu-clair {background-color: #088ca8;}
.bg-beige {background-color: #f9eade;}
.bg-beige-degrade {background-image: -o-linear-gradient(180deg,#f9eade 27%,#ffffff 100%);
  background-image: linear-gradient(180deg,#f9eade 27%,#ffffff 100%);}
.bg-bleu-degrade {background-image: -o-linear-gradient(180deg,#094d5c 27%,#088ca8 100%);
  background-image: linear-gradient(180deg,#094d5c 27%,#088ca8 100%);}
.font-blanc {color: #ffffff;}
.lien-blanc a, .lien-blanc:hover, .lien-blanc:visited {color: #fff;}
.marge-4-mob2 {margin: 4rem;}
.marge-2-mob0 {margin: 2rem;}
.padding-4-mob-2 {padding: 4rem;}
.retina {max-width: 300px;}
.penche {transform: skew(-8deg);}

/* backtotop */
#backtotop {
	cursor : pointer;
	display : none;
	position : fixed;
	bottom : 10px;
	right: 5px;
	padding	: 5px;
	width : 130px;
	text-align : center;
	background-color : transparent;
	color : #FFF;
	z-index	: 1000;
}
#backtotop:hover
{
	filter : alpha(opacity=90);
	-khtml-opacity : 0.8;
	-moz-opacity : 0.8;
	opacity	: 0.8;
  margin-bottom: 5px;
}

#backtotop img {
  width: 130px;
}

/* || Effets */

/* survol lien footer */
.two-lines {
  position: relative;
}

.two-lines::before,
.two-lines::after {
  content: "";
  position: absolute;
  background: #ffffff;
  height: 1px;
  opacity: 0;
  left: 50%;
  transform: translate(-50%, 8px);
  transition: all 0.2s ease-in-out;
}

.two-lines::before {
  width: 90%;
  bottom: 0;
}

.two-lines::after {
  width: 60%;
  bottom: -5px;
}

.two-lines:hover::before,
.two-lines:hover::after {
  opacity: 1;
  transform: translate(-50%, 0px);
}

.two-lines::before,
.two-lines:hover::after {
transition-delay: 0.1s;
}

.two-lines:hover::before {
  transition-delay: 0s;
}
/* fin survol lien footer */

/* clignote */
.clignote {
  animation: blinkopacitysmooth linear 1s infinite alternate;
}
@keyframes blinkopacitysmooth {   
  0% { opacity: 1; } 
  100% { opacity: 0; }  
}
/* fin clignote */


/* ------------------------------------------------------------- */
/* ------------      MOBILE max width 991px     --------------- */
/* ------------------------------------------------------------- */


/* @media all and (max-width:1280px) { */
@media all and (max-width:1280px) {

h1, h2, h3, h4, p, li {margin: 0 15px;}
.contact_visuel {max-width: 75%;}


/* ------------------------------------------------------------- */
/* ------------      MOBILE max width 991px     --------------- */
/* ------------------------------------------------------------- */


/* @media all and (max-width:991px) { */
@media all and (max-width:820px) {

	.resp{display:block;}
	.noresp{display:none;}

  .btn-centre-mob {text-align: center;}

  body, p {
    -webkit-hyphens: none;
     -ms-hyphens: none;
     hyphens: none;
   }
   .grid-4{
     display:inline-block;
   }
   .grid-3{
     display:inline-block;
   }
 
  .toggle {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 20;
    width: 70px;
  }

  .logo {
    position: relative;
    z-index: 20;
    top: 5px;
  }

  .ouvrir {
    display: block;
  }

  .fermer {
    display: none;
  }

  .open .ouvrir {
    display: none;
  }

  .open .fermer {
    display: block;
  }

  .menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(0,148,222);
    background: linear-gradient(350deg, rgba(0,148,222,1) 0%, rgba(8,43,84,1) 50%);
    flex-direction: column;
    justify-content: space-around;
    transform: translateX(-100%);
    transition: transform 1s;
    font-size: 3rem;
    z-index: 10;
    padding-top: 1em;
    gap: 0;
  }

  .open .menu {
    transform: translateX(0);
  }

  .menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }

  .sous-menu {
    display: block;
    font-size: 1.2rem;
    line-height: 3rem;
  }

  nav li:first-child {
    padding-left: 0px;
  }  

  nav li:last-child {
    margin-left:0 ; /* Pour pousser le dernier élément à droite */
    padding-right: 0px;
  }

/* --------------- ACCUEIL --------------- */

.logo-bloc {width: 60%; margin: auto; padding-top: 8em; padding-bottom: 8em; z-index: 1;}

/* --------------- CONTACT --------------- */
	.form {width: 90%;margin:auto;}
	.form-champ {text-align: center;width: 90%}
	.form-input {width: 90%}
  .text-coordo {text-align: left; font-size: 1.4rem; line-height: 2rem;}
  .contact_visuel {max-width: 100%;}


/* =========================================
----			        	TITRES 		        	----
============================================ */

h2 {
	font-size: 4.1rem;
	line-height: 4.8rem;
}

h4 {
	font-size: 2rem;
	line-height: 2.4rem;
}

h5 {
	font-size: 1.5rem;
	line-height: 1.7rem;
}

h6 {
	font-size: 1.2rem;
	line-height: 2.1rem;
}

.titre-centre-mob {text-align: center;}

/* --------------- FOOTER --------------- */
.call-contact {max-width: 300px;}


/* =========================================
----		           COMMONS	            ----
============================================ */

.marge-4-mob2 {margin: 2rem;}
.marge-2-mob0 {margin: 0rem;}
.padding-4-mob-2 {padding: 2rem;}

/* --------------- PORTFOLIO --------------- */
.container {margin-bottom:2em;}
.portfolio_bloc-tri {font-size: 0.8rem;}

}
/* ------------ FIN AFFICHAGE NAVIGATION MOBILE --------------- */


/* fading */

	.fading:hover {
		-webkit-transition: 0.3s ease;
		-o-transition: 0.3s ease;
		transition: 0.3s ease;
		opacity:0.5;
	}

	.fading {
		-webkit-transition: 0.3s ease;
		-o-transition: 0.3s ease;
		transition: 0.3s ease;
		opacity:1;
		
	}
	
.bloc-centre {
	position : absolute;
	left:25%;
	top:25%;
}