@import url('menu.css');
@import url('index.css');
@import url('seances.css');
@import url('outils.css');
@import url('contact.css');
@import url('cabinet.css');
@import url('tarifs.css');


@font-face {
    font-family: myFont;
    src: url('../assets/fonts/CaviarDreams.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: myFont;
  src: url(../assets/fonts/CaviarDreams_Bold.ttf) format('truetype');
  font-weight: bold;
}

:root{
  --title-font: myFont, Helvetica, sans-serif;
  --main-font: 'Gill Sans', sans-serif;
  --primary-color: white;
  --secondary-color: #90ecf3;
  --tertiary-color: #14abb6;
}

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

html, body {
  height: 100%;
  width: 100%;
  font-size: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font);
  color: var(--primary-color);
}

body {
  /* width: 100%; */
  position: relative;
  margin: 0px;
  background-image: linear-gradient(to bottom right, rgba(5, 158, 156, 0.665),rgba(10, 144, 113, 0.683)), url(../assets/images/bkg_feather_blue.jpg);
  background-size: cover;        /* L’image couvre toute la page */
  background-repeat: no-repeat;  /* Empêche la répétition de l’image */
  background-position: center;   /*Centre l’image dans la fenêtre */
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
header{
  width: 100%;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0px;
  background: #047083e4;
  /* box-shadow: 0px 4px 6px rgb(2, 37, 47); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  z-index: 10;

}
#banner{
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  box-shadow: 2px 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  margin-top: 110px;
}
main{
  width: 85%;
  margin: 160px auto 0 auto;
}
footer{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 20px 0px;
  font-family: var(--main-font);
  color: var(--primary-color);
  font-size: 2rem;
  background: #047083cd;
  height: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
footer h6 {
  padding-right: 50px;
  font-size: 1rem;
}
ul, li, a{
  list-style-type: none;
  text-decoration: none;
  color: var(--primary-color);
}
a:hover{
  padding-bottom: 5px;
  text-decoration:none;
  border-bottom: 1px solid white;
}
u{
  padding-bottom: 5px;
  text-decoration: none;
  border-bottom: 1px solid white;
}
.header{
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* gap: 120px; */
  padding: 20px 20px;
}
.header img{
  height: 100px;
}
.title{
  display: flex;
  align-items: center;
  gap: 20px;
}
#img1{
  border-radius: 26% 36% 54% 26% / 51% 44% 36% 19%;
}
#img2{
  border-radius: 34% 66% 21% 79% / 73% 32% 68% 27% ;
}
#img3{
  border-radius: 25% 75% 31% 69% / 48% 50% 50% 52% ;
}
#img4{
  border-radius: 50% 55% 50% 60% / 40% 50% 55% 70% ;
}
#img5{
  border-radius: 40% 60% 70% 30% / 60% 40% 60% 40% ;
}
#img6{
  border-radius: 30% 70% 50% 50% / 50% 60% 40% 60% ;
}

/* -----------------------------
   Responsive / Media queries
   ----------------------------- */

/* Large desktops */
@media (min-width: 1440px) {
  main {
    width: 80%;
    max-width: 1240px;
  }
}

/* Laptops / smaller desktops */
@media (max-width: 1200px) {
  html, body {
    font-size: 18px;
  }
  main {
    width: 90%;
  }
  footer {
    gap: 30px;
  }
  .title{
    font-size: 0.9rem;
  }
  nav {
    font-size: 0.9rem;
  }
}

/* Tablets */
@media (max-width: 900px) {
  html, body {
    font-size: 17px;
  }
  header {
    height: auto;
    padding: 12px 0;
  }
  .header {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
  }
  .header img{
  height: 80px;
  }
  .title{
    font-size: 0.7rem;
  }
  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.7rem;
  }
  #banner {
    height: 260px;
    margin-top: 120px;
  }
  main {
    width: 92%;
    margin: 140px auto 0 auto;
  }

  /* Common “text + image” blocks */
  .block-txt-img,
  .block-seance,
  #textMap {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .block-txt-img img,
  .block-seance img,
  .photosCabinet img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
  .citations {
    flex-direction: column;
    gap: 24px;
  }
  .citation {
    width: 100%;
    gap: 20px;
  }
  .citation img{
  width: 80px;
  height: 100px;
  }

  /* Sliding panels (séances) */
  #seance-tcp,
  #seance-poids,
  #seance-tabac {
    width: min(92vw, 520px);
    top: 110px;
    padding: 0 20px 20px 0;
    max-height: 70vh;
  }
  footer {
    flex-wrap: wrap;
    gap: 16px;
    height: auto;
    padding: 16px;
    text-align: center;
  }
  footer h6 {
    padding-right: 0;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  html, body {
    font-size: 16px;
  }
  #banner {
    height: 200px;
    margin-top: 140px;
  }
  main {
    width: 94%;
    margin: 150px auto 0 auto;
  }
  .header img {
    height: 50px;
  }
  .title {

    gap: 8px;
    text-align: center;
  }
  nav {
    font-size: 0.8rem;
    gap: 12px;
  }
  /* Cards padding reduction */
  .index-card,
  .card {
    padding: 18px;
  }
  /* Contact page */
  .contact {
    font-size: 2.4rem;
  }
  .contact p {
    font-size: 1rem;
  }
  .blockInfo {
    width: 100%;
    max-width: 360px;
  }
  /* Tarifs */
  .tarifs {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }
  .card-tarif {
    width: 100%;
    height: auto;
  }
}

/* Small phones */
@media (max-width: 380px) {
  html, body {
    font-size: 15px;
  }
  .index-card,
  .card {
    padding: 14px;
  }
}
