@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Times';
  src: url('../fonts/times.ttf') format('truetype');
}
@font-face {
  font-family: 'TimesItalic';
  src: url('../fonts/timesi.ttf') format('truetype');
}
@font-face {
  font-family: "TimesBold";
  src: url("../fonts/timesbd.ttf") format("truetype");
}

@font-face {
  font-family: "TimesBoldItalic";
  src: url("../fonts/timesbi.ttf") format("truetype");
}


:root {
  --viewport-min: 360;
  --viewport-max: 1850;
  --container-min: 360;
  --container-max: 1850;
}
.containerMap
{
width: 100%;
}

.containerMap iframe
{
width: 100%;
height: 100%;
}
.page-wrapper {z-index: 2;}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; overflow-x: hidden; height: 100%; }
body { background-color: #2c3e50; height: 100%; width: 100%; padding: 0; margin: 0; font-family: 'Times', sans-serif; color: #f1f1f1; font-size: 1.5rem; font-weight: 300; -webkit-text-size-adjust: none; }
.p1 strong { font-weight: 400; background-color: #6e7eb7; font-family: "TimeBold", serif; padding: 0 5px;}
.p2 strong { font-weight: 900 ; font-family: "TimeBold", serif; text-decoration: underline; text-decoration-color: #6e7eb7; text-underline-offset: 6px;}
#page-right .p2:last-child {
  margin-bottom: 0 !important;
}
/* #page-contact a { color: #6e7eb7; text-decoration: underline; text-underline-offset: 10px; text-decoration-color: #f1f1f1; } */
a, button { font-family: 'Times'}
.tabs button {font-size: 22px; text-transform: uppercase;}

.email { position: relative; display: inline-block; color: #f1f1f1; text-decoration: none; }
.email::after { content: ''; position: absolute; top: 0; left: -3px; width: 106%; height: 0;  background-color: #6e7eb7; transition: height 0.3s ease;z-index: -1; }
.email:hover::after { height: 100%; /* Au survol, augmentez la hauteur pour remplir l'élément parent */ }
.menu-normal { position: relative; }
.menu-normal::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background-color: #6e7eb777; transition: height 0.3s ease; }

#page-contact .p2.font-fluid { text-align: center; }
.menu-normal:hover::before {  height: 100%; /* Remplit le pseudo-élément de bas en haut */}
em {font-size: 18px;}
.page-left img { max-width: 100%; height: auto; }
.page-right { position: relative; z-index: 2;}

.logo-menu { display: inline-block; }
.logo-menu img { position: absolute; top: 0; left: 0; width: auto; height: 60px; }

/* .logo-xs { display: none; } */
.logo-xs { background-color: #fff; text-align: center; }
.hidden { display: none !important; }
/* #page-honoraire p.font-fluid { margin-top: 30px;} */
/* .font-fluid {text-align: justify;} */
button.logo { position: absolute; left: 0; border: none; font-size: 0; }
button img { height: 60px; font-size: 0; }
h1 { font-size: 40px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; text-align: center}
.m20 {margin-top: 00px; display: block;}

/* #page-accueil .blue-square1, #page-accueil .blue-square2  { width: 50px; height: 50px; background-color: rgba(119, 119, 230); position: absolute; } */
/* #page-accueil .blue-square1 { top: 26%; left: 6%; z-index: -1; } */
/* #page-accueil .blue-square2 { top: 80%; right: 9%; z-index: -1; } */


#menu-normal {display: none;}

/* rajout françois menu burger*/
.menu, .menu-burger, .menu-bg { position: absolute; width: 40px; height: 40px; font-size: 26px; text-align: center; border-radius: 100%; right: 10px; top: 28px;}
.menu-bg { background: #010e3b; pointer-events: none; transition: 0.4s linear; right: 30px; top: 50px; transform: translate3d(50%, -50%, 0); transform-origin: center center; }
.menu-bg.fs { transform: translate3d(50%, -50%, 0); width: 500vw; height: 500vw; }
.menu-burger { color: #f1f1f1; padding-top: 2px; cursor: pointer; transition: 0.4s; transform-origin: center; }
.menu-burger.fs { transform: rotate(-180deg) translateY(0px); }
.menu-items { position: absolute; font-weight: bold; font-size: 40px; letter-spacing: 10px; color: #f1f1f1; width: 100%; text-align: center; opacity: 0; transition: 0.4s; margin-top: 100px; transform: translateY(-200%); pointer-events: none; }
.menu-items div { transition: 1s; opacity: 0; margin-top: 0px; }
.menu-items.fs { transform: translateY(0); pointer-events: auto; opacity: 1; }
.menu-items.fs div { opacity: 1; margin-top: 55px; }
#menu {position: relative; z-index: 10;}

/* Couleur du menu  */
.menu-items.fs a:visited { color: #f1f1f1; }
.menu-items.fs a:active { color: #f1f1f1; }
.menu-items.fs a:hover { color: #f1f1f1; }
.tabs {display: none;}
.menu-items.fs a,.menu_screen { box-shadow: inset 0 0 0 0 #6e7eb7; color: #6e7eb7; margin: 0 -.25rem; padding: 0 .25rem; transition: color .3s ease-in-out, box-shadow .3s ease-in-out; text-decoration: none;}
.menu-items.fs a:hover { box-shadow: inset 400px 0 0 0 #6e7eb7; color: white; padding: 5px 10px; }
.menu_screen .menu-normal:hover {text-decoration: underline !important; text-underline-offset: 8px; text-decoration-color:#6e7eb7}

#page-accueil h1, #page-acces h1, #page-engagement h1, #page-exclusivite h1, #page-honoraire h1, #page-contact h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; margin-top: 100px; margin-bottom: 100px; }

.page-right .text p { margin-bottom: clamp(20px, 5vw, 50px) !important; }
.page-right .text { --min-size: 18; --max-size: 40; margin: 0% 5%; }
.page-right .text p.p1 { --min-size: 28; --max-size: 40;  line-height: 1.4; }
.page-right .text p.p2 { --min-size: 22; --max-size: 30;  line-height: 1.3;}

span.nowrap {white-space: nowrap;}

@media (min-width: 360px) {
.mobile-br {display: none;}
  /* #page-engagement .page-right {line-height: 1.6;} */
  #page-contact .m20 {font-size: 20px; text-align: center; padding-top: 20px; line-height: 1.5; margin-bottom:  50px;}
  /* #page-accueil .font-fluid { line-height: 1.8;} */
  #page-accueil h1, #page-acces h1,#page-exclusivite h1,#page-honoraire h1,#page-contact h1 { font-size: 40px; line-height: 1; text-decoration: underline; text-underline-offset: 19px;margin-top: 50px; margin-bottom: 50px; }
  #page-engagement h1 { font-size: 40px; line-height: 1; text-decoration: underline; text-underline-offset: 19px;margin-top: 20px; margin-bottom: 40px; }
  .tabs__container { display: flex; position: relative; gap: 10px; padding-top: 15px;}
  .mobile-br {display: inline; }
}

@media (min-width: 576px) {
  .page-left, .page-right { display: flex;  height: 100%; }
  #page-acces .m20 {font-size: 40px; text-align: center; padding-top: 20px;}
  .page-wrapper {display: inline !important;}
  .page-right { justify-content: center;}
  .page-right div { line-height: 1.3; }
  /* .logo-xs img { position: fixed; top: 22px; right: 20px; display: inline; width: 330px; z-index: -1;} */
  
  #menu-normal {display: none;}
  #page-contact .font-fluid .m20{ line-height: 1.4; font-size: 26px;}
  .mobile-br {display: inline; }
}

@media (min-width: 768px) {
  .logo-xs {display: block;}
  h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; }
  .mobile-br {display: none; }
}

@media (min-width: 992px) {
  #menu-normal {display: flex;}
  #menu { display: none;}
  .menu_screen {margin-left: 150px; width: 75% !important;}
  .logo-xs, .logo-xs {display: none}
  #page-accueil h1, 
  #page-acces h1, 
  #page-engagement h1, 
  #page-honoraire h1,
  #page-contact h1 { font-size: 80px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; margin-top: 60px; margin-bottom: 100px;}
#tabs {display: block; padding-left: 200px;}
.tabs__container { display: flex; position: relative; gap: 40px; padding-top: 7px; }
  .mobile-br {display: none; }
}
@media (min-width: 1200px) {
  .tabs {display: block; padding-left: 200px;}
  .tabs__container { display: flex; position: relative; gap: 100px; padding-top: 2px; z-index: 4;}
  .page-wrapper, .page-accueil, .page-acces, .page-engagement, .page-exclusivite, .page-honoraire, .page-contact { display: flex; width: 100%; height: calc( 100% - 60px); }
  .page-left { background-size: auto; background-size: cover; width: 40%; }
  .page-left, .page-right { display: flex; height: 100%; }
  .page-right { justify-content: center; align-items: center; width: 60%; }
  .page-left img { display: none; }
  
  h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; }
  #page-accueil h1, 
  #page-engagement h1, 
  #page-honoraire h1, 
  #page-contact h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; margin-bottom: 40px; }
  #page-contact .font-fluid .m20{ line-height: 1.4; font-size: 32px;}
  #page-accueil .page-left { background: url('../images/christelle-morin-lg.webp') center center no-repeat;  background-size: cover; width: 50%; }
  #page-engagement .page-left { background: url('../images/christelle-morin-profile-lg.webp') center center no-repeat;  background-size: cover; width: 40%; }
  #page-honoraire .page-left { background: url('../images/christelle-morin-travail-lg.webp') center center no-repeat;  background-size: cover; width: 40%; }
  #page-contact .page-left { background: url('../images/contact-lg.webp') center center no-repeat;  background-size: cover; width: 40%; }
    .mobile-br {display: none; }
}
@media (min-width: 1400px) {
  .page-wrapper, .page-accueil,  .page-engagement, .page-honoraire, .page-contact { display: flex; width: 100%; height: calc( 100% - 60px); }
  .tabs__container { display: flex; position: relative; gap: 100px; padding-top: 2px;}
  
  #page-accueil .page-left { background: url('../images/christelle-morin-lg.webp') center center no-repeat; background-size: cover; width: 40%; }
  #page-engagement .page-left { background: url('../images/christelle-morin-profile-lg.webp') center center no-repeat;  background-size: cover; width: 40%; }
  #page-honoraire .page-left { background: url('../images/christelle-morin-travail-lg.webp') center center no-repeat;  background-size: cover; width: 40%; }
  #page-contact .page-left { background: url('../images/contact-lg.webp') center center no-repeat;  background-size: cover; width: 40%; }

  .page-left { background-size: cover; width: 40%; }
  .page-left, .page-right { display: flex; height: 100%; }
  .page-right { justify-content: center; align-items: center; width: 60%;  }
  .page-left img { display: none; }
  
  h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; }
    .mobile-br {display: none; }
}

@media (min-width: 1920px) {
  .tabs__container { display: flex; position: relative; gap: 100px; padding-top: 2px;}
  em {font-size: 26px;font-family: "TimeItalic";}
  h1 { font-size: 60px; line-height: 1; text-decoration: none; text-underline-offset: 19px; }
  #page-accueil h1, 
  #page-exclusivite h1, 
  #page-honoraire h1, 
  #page-contact h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; margin-top: 30px; margin-bottom: 80px; }
  #page-engagement h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; margin-top: 30px; margin-bottom: 80px; }
  .page-right { justify-content: center; align-items: center; width: 60%; z-index: 2; }
  #page-exclusivite .page-right { --min-size: 18; --max-size: 36; }
  #page-honoraire .page-right { --min-size: 18; --max-size: 36; }
  /* #page-accueil .font-fluid, #page-acces .font-fluid {padding-top: 100px;} */

  #page-contact .font-fluid .m20{ line-height: 1.3;font-size: 46px; }
  .mobile-br {display: none; }
}

@media (min-width: 2500px) {
  .tabs__container { display: flex; position: relative; gap: 100px; padding-top: 15px;}
  /* h1 { font-size: 60px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; } */
  #page-accueil h1, #page-acces h1, #page-engagement h1, #page-exclusivite h1, #page-honoraire h1, #page-contact h1 { font-size: 120px; line-height: 1; text-decoration: underline; text-underline-offset: 19px; margin-top: 150px; margin-bottom: 100px; }
  #page-right {align-items: normal;}
    .mobile-br {display: none; }
} 

.menu-wrapper { width: 100%; display: flex; justify-content: center; /* Centre le menu horizontalement */ }
.menu_screen { display: flex; justify-content: space-around; /* Pour espacer les éléments */ align-items: center; width: 60%; /* Utilise 60% de la largeur de l'écran */ color: #fff; padding: 10px 0; }

.menu-normal {color: #f1f1f1}
.menu-normal  {text-decoration: none; font-size: 20px; font-weight: bold; padding: 5px 10px;}
.menu-item { margin: 0 10px; transition: color .3s ease-in-out, box-shadow .3s ease-in-out;}

.selected { text-decoration: underline !important; text-underline-offset: 8px; text-decoration-color:#6e7eb7}

.menu-normal:hover { box-shadow: inset 400px 0 0 0 #6e7eb7; color: white; cursor: pointer; }

/* Menu google  */
.tabs { width: fit-content; margin: 0 auto; height: 60px; }
/* .tabs__container { display: flex; position: relative; gap: 100px; padding-top: 15px;} */
.tabs__tab { padding: 8px 8px 4px 8px; font-size: 18px; border: none; background: none; cursor: pointer; color: #f1f1f1; }
.tabs__smart-bar { width: 0px; height: 3px; background-color: #6e7eb7; border-radius: 99px; transition: transform 0.2s ease-out, width 0.2s ease-out; }



.cube { position: relative; }
.cube:before { content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 100px; height: 100px; background-color: #6e7eb7; z-index: -1; }
.cube:first-child:before { left: -75px;}

.cube:last-child:before { right: -75px; }

/* PUT THIS IN END OF YOU CSS */
.font-fluid {
  --font-size: calc(var(--min-size) * 1px + (var(--max-size) - var(--min-size)) * (100vw - var(--viewport-min) * 1px) / (var(--viewport-max) - var(--viewport-min)));
  --font-size-container: calc(var(--min-size) * 1px + (var(--max-size) - var(--min-size)) * (100cqw - var(--container-min) * 1px) / (var(--container-max) - var(--container-min)));
  font-size: clamp(var(--min-size) * 1px, var(--font-size-container), var(--max-size) * 1px);
}
