@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* charte graphique 

Bleu : #292459
Vert : #6CBE96
Noir : #2D2D2D
Blanc : #F4F4F4

*/

html {
  scroll-behavior: smooth;
  margin: 0px;
  padding: 0px;
}

body {
	font-family: Roboto;
	color: #2d2d2d;
	margin: 0px;
	padding: 0px;
}

/* Affichage menu */

/* Logo plein écran (début) */
.logo-full {
  text-align: center;
  padding: 40px 0;
  max-height: 200px;
  max-width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: 
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
  overflow: hidden;
}

.logo-full img {
  max-width: 80%;
  max-height: 200px;
  transition: max-height 0.5s ease;
}

/* Menu caché au départ */
#main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: none;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo img {
  max-height: 60px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

/* SCROLL ACTIVÉ */
body.scrolled .logo-full {
  max-height: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(-20px);
}

body.scrolled #main-nav {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Container */

.container {
  max-width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
  padding: 40px 10%;
  scroll-margin-top: 50px;
}

.box-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 50px;
  column-gap: 10px;
}

.box {
  width: 20%;
  text-align: center;
  box-sizing: border-box;
  border-radius: 15px;
  transition: box-shadow 0.3s ease;
  padding: 0px 20px;
  box-shadow: -2px 2px 2px #2d2d2d80;
  justify-content: space-between;
  margin: auto;
}

.box:hover {
  box-shadow: -5px 5px 5px #2d2d2d80;
}

.noshadow {
  box-shadow: none;
}

.noshadow:hover {
  box-shadow: none;
}

.prestaBox {
  width: 30%;
  display: flex;
	flex-direction: column;
	justify-content: space-between; /* pousse le prix en bas */
	min-height: 300px;
}

.doubleFlex {
  flex: 2;
  margin: auto;
}

.column {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex; /* ← important */
  flex-direction: row;
  justify-content: space-between; /* ou space-between si tu veux les pousser */
  gap: 20px; /* 👈 espace horizontal entre les spans */
  flex-wrap: wrap;
}

.footerText {
  width: 60%;
}

.gapRow {
  row-gap: 15px;
}

.boxForm {
  width: 50%;
}

.boxImgFooter {
  width: 20%;
}

/* Colorisation des box */

.blue {
  background-color: #292459;
  color: white;
}

.white {
  background-color: #FFF;
  color: black;
}

.whitebreak {
  background-color: #F4F4F4;
  color: #2d2d2d;
}

.green {
  background-color: #6CBE96;
  color: #2d2d2d;
}

/* Colorisation des Textes */

.blueText {
  color: #292459;
}

.whiteText {
  color: #FFF;
}

.greenText {
  color: #6CBE96;
}

.blackText {
  color: #2d2d2d;
}

/* Séparateur */

hr {
  border: none;
  height: 7px;
  width: 10%; /* ou 100%, selon le rendu souhaité */
  margin: 15px auto;
  border-radius: 5px;
}

/* Boutton */

.button {
  border : none;
  color: #F4F4F4;
  border-radius: 15px;
  font-size: 1em;
  padding: 10px 30px;
  margin: 20px auto;
  box-shadow: -2px 2px 2px #2d2d2d80;
  transition: box-shadow 0.3s ease;
}

.button:hover {
  box-shadow: -5px 5px 5px #2d2d2d80;
}

/* Formatage de textes général */

a, a:hover, a:visited {
  text-decoration: none;
  color: none;
}

h1 {
  font-family: Orbitron;
  padding: 0px;
  margin: 0px auto;
}

/* Réalisations */

.realpres {
  width: 75%;
}

.real {
  background-color: #6CBE96;
}

.realImg {
  width: 20%;
}

/* Prestations */

.prixPresta {
  display: inline-flex;
  margin: 20px auto 10px;
}

.prestaPic {
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: bottom 10px right 15px;
}

.info {
  background-image: url(../medias/presta/info.webp);
}

.ddd {
  background-image: url(../medias/presta/3d.webp);
}

.forma {
  background-image: url(../medias/presta/forma.webp);
}

.prestaButton {
  margin: 20px 10px;
}

/* Qui suis-je */

.me {
  width: 90%;
}

/* Formulaire de contact */

.formText {
  color: #f4f4f4;
  font-weight: lighter;
}

label {
	margin-top: 15px;
}

input,
textarea {
	padding: 10px;
	border: none;
	border-radius: 5px;
	margin: 5px auto auto;
  width: 40%;
}

textarea {
  	resize: vertical;
}

.vcf {
  display: none;
}

/* Footer */

img.footer {
	max-height: 130px;
	max-width: 100%;
}

.dot {
  font-weight: bold;
}

.footerHr {
  display: none;
}

@media(max-width: 1910px) {

  img.footer {
    max-width: 100%;
    max-height: fit-content;
    margin: auto;
  }

  .boxImgFooter {
    width: 30%;
  }

}

@media(max-width: 900px) {
  
  .box {
    width: 40%;
  }

  .boxForm {
    width: 90%;
  }

  .vcf {
    display: block;
  }

  .nav-links {
    gap: 10px;
  }

  .boxFooter {
    flex-direction: column;
    width: 100%;
  }

  .footerText {
    width: 100%;
  }

  .footerHr {
    display: block;
  }
  
}

@media(max-width: 800px) {

  
  hr {
    width: 60%;
  }

  .box {
    width: 90%;
  }

  .realImg {
    width: 90%;
  }

  input, textarea {
    width: 80%;
  }

  .formText {
    color: #f4f4f4;
    font-weight: normal;
  }

  .dot {
    display: none;
  }

  .footerText {
    flex-direction: column;
  }
}