

/* CURSORS */
* {
  cursor: crosshair;
}

/* LOGO (CSS ✅) */
.logo {
  width: 200px;
  height: 40px;
  background-image: url("../assets/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1);
}



.logo3 {
  width: 200px;
  height: 40px;
  background-image: url("../assets/logo.png");
  background-size: contain;
  background-repeat: no-repeat;

}


/* MENU IMAGE (CSS ✅) */
.menu-image {
  margin-top: -70px;
  width: 100%;
  height: 200px;
  background-image: url("../assets/4.jpg");
  background-size: cover;
  background-position: center;
}

.text {
  text-align: center;
  color: rgb(255, 255, 255);
  font-family: var(--roboto);
}

.hero-text-0 {
  margin: 100px 0px 0 50px; /* top 100px, bottom 0, left 50px */
  text-align: left;
  color: rgb(255, 255, 255);
  font-family: var(--roboto);
}

.hero-text-1 {
  margin: 100px 50px 0 0; /* top 100px, right 50px */
  margin-bottom: 75px;
  text-align: right;
  color: rgb(255, 255, 255);
  font-family: var(--roboto);
}

/* Titre h2 dans hero-text-0 */
.hero-text-0 h2, .hero-text-1 h2 {
  font-size: 28px;  /* taille du titre */
  line-height: 1.2; /* hauteur de ligne */
  margin-bottom: 30px;
}

/* Paragraphe p dans hero-text-0 */
.hero-text-0 p, .hero-text-1 p{
  font-size: 22px; /* taille du paragraphe */
  line-height: 1.6;
  margin-bottom: 50px;
}

:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-menu-bg: #ffffff;
  --color-menu-text: #000000;
  --font-main: Arial, Helvetica, sans-serif;
}

.main {
  position: relative;
  margin-top: 80px; /* exactement la hauteur de la nav : aucun espace noir avant la 1re image */
  flex: 1; /* Permet à main de prendre tout l'espace restant */
  width: 100%;
  transition: filter 0.3s ease;

}
  

.page-link {  
    height: 100%; /* Assure que html et body prennent toute la hauteur de la fenêtre */
    margin: 0;
    padding: 0;
    max-width: 100%;
    min-height: 100vh; /* Utilise min-height pour permettre le défilement */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    cursor: crosshair;
  
  z-index: -1;          /* derrière nav, footer et contenu */
  /* Le fond porte toutes les informations de contact : il doit rester
     centré. L'ancien decalage de -150px les faisait sortir du cadre. */
  background-image: url(../assets/carte\ de\ visite\ finale.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



/* Effet de flou sur le contenu principal */
.main.blur {
  filter: blur(5px);
  transition: filter 0.4s ease;
}



.footer {
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.355);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  bottom: 0;
  top: 0px;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  backdrop-filter: blur(3px);
}


.footer-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 10px;
  /* Pas de decalage : les deux boutons restent centres dans la page. */
}

.contact-btn {
  background-color: #000;
  padding: 0;
  font-size: 26px;
  font-family: var(--roboto);
  color: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  text-align: center;
  width: fit-content
}

.contact-btn:hover {
  color: #000;
  background-color: white;
}

.contact-btn:focus {
  outline: none;
}

html {
    scroll-behavior: smooth;
    height: 100%; /* Assure que html et body prennent toute la hauteur de la fenêtre */
    margin: 0;
    padding: 0;
}
body {
    height: 100%; /* Assure que html et body prennent toute la hauteur de la fenêtre */
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh; /* Utilise min-height pour permettre le défilement */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;

    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    cursor: crosshair;

    /* Background */
    /* background-image: url('/xpics/x.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; Effet parallaxe */
}




/* ---------------------------------------------------------------------
   UTILITAIRES
   --------------------------------------------------------------------- */

/* Bloque le défilement de la page quand une fenêtre est ouverte */
body.no-scroll {
  overflow: hidden;
}

/* Étiquette lue par les lecteurs d'écran mais invisible à l'oeil */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Les images ne débordent jamais de leur conteneur */
img {
  max-width: 100%;
}
