
/* --- Reset / Normalize de base --- */

/* Box sizing global pour tous les éléments */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margins and paddings */
body, h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol, li, fieldset, legend {
  margin: 0;
  padding: 0;
}

/* Listes sans décoration par défaut */
ul, ol {
  list-style: none;
}

/* Liens */
a {
  text-decoration: none;
  color: inherit;
}

/* Images, vidéos, SVG, canvas — afficher de façon responsive, bloc, ne pas dépasser */
img, picture, video, svg, canvas {
  display: block;
  max-width: 100%;
}

/* Inputs / Buttons / selects hériteront de la police de caractère du body */
input, button, textarea, select {
  font: inherit;
  font-size: inherit;
  color: inherit;
}

/* Rendre plus lisible / éviter débordements de texte */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Corps de page : hauteur minimum + bonne interligne */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Décoration de texte par défaut plus propre */
html {
  -webkit-text-size-adjust: 100%; /* éviter redimensionnement texte sur iOS/Safari */
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans';
    font-size: normal;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Sen';
    font-size: normal;
    font-weight: 400;
}
:root{
    --jaune : #ffcd05;
    --noir : #0a0500;
    --gris: #f7f7f7;
}
.wrap {max-width: 1400px; width:100%; margin: 0 auto;}
header .image{
    height: 100vh;
    width: auto;
    position: relative;
}
header .image img {
    filter: brightness(50%);
}
header .wrap .nav_bar {
    position: absolute;
    top: 5%;
    width: 100%;
    max-width: 1400px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
header .wrap .nav_bar svg{
    width: 15%;
}
header .wrap .nav_bar .liens{
    height: 100%;
}
header .wrap .nav_bar .liens nav{
    height: 100%;
}
header .wrap .nav_bar .liens nav ul {
    display: flex;
    color :grey;
}
header .wrap .nav_bar .liens nav ul li a {
  display: flex;           
  height: 100%;            
  padding: 2rem;           
}
header .wrap .nav_bar .liens nav ul li a:hover{
    background-color: var(--jaune);
    color: var(--noir);
    transition: 0.4s;
}

header .wrap .nav_bar .infos {
    display: flex;
    align-items: center;
    font-weight: 400;
    gap: 1rem;
}
header .wrap .nav_bar .infos p span {
    font-weight: bold;
}
header .wrap .nav_bar .infos i {color: grey;}

header .wrap .text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
header .wrap .text h1 {
    font-size: 70px;
    font-weight: bold;
}
#services{
    background-color: var(--noir);
    position: relative;
}
#services .wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
#services .wrap .formulaire {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem;
    width: 100%;
    max-width: 1400px;
    gap: 2rem;
    position: absolute;
    top: -20%;
}
#services .wrap .formulaire h2 {
    font-weight: bold;
}
#services .wrap .formulaire form{
    width: 100%;
    display: flex;
    gap: 1rem;
    
}
#services .wrap .formulaire form input, #services .wrap .formulaire form select{
    width: 100%;
    padding: 1rem;
    border: none;
    background-color: var(--gris);
    
}
#services .wrap .formulaire form #submit {
    background-color: var(--noir);
    color: white;
}
#services .wrap .titles {
    color: white;
    padding: 20rem 0 10rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
#services .wrap .titles h2{
    font-weight: bold;
    font-size: 44px;
}
#services .wrap .titles p {
    font-size: 22px;
    width: 67%;
    color: var(--gris);
    font-family: 'sen';
}
#services .wrap .content {
    position: absolute;
    bottom: -60%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
#services .wrap .cards {
    display: flex;
    gap: 2rem;
}
#services .wrap .cards .card{
    background-color: white;
    border: solid 1px var(--gris);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 3rem;
    gap: 1rem;
    text-align: center;
}
#services .wrap .cards .card h3, #services .wrap .cards .card span{
    font-weight: bold;
}
#services .wrap .cards .card span{
    padding-top: 1rem;
}
#services .wrap .content .buttons{
    display: flex;
    gap: 2rem;
}
#services .wrap .content .buttons a {
    padding: 1rem 3rem;
    border: solid  2px var(--noir);
}
#services .wrap .content .buttons .b1{
    background-color: var(--noir);
    color: white;
}
#about {
    padding-top: 35rem;
}
#about .wrap .cards {
    display: flex;
    flex-direction: column;
    gap: 7rem;
}
#about .wrap .cards .card{
    display: flex;
    align-items: center;
    gap : 7rem ;

}
#about .wrap .cards .card .image {
    width: 100%;
}
#about .wrap .cards .card .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    
    
}
#about .wrap .cards .card2 {
    flex-direction: row-reverse;
}
#about .wrap .cards .card .text h2{
    font-weight: bolder;
    font-size: 44px;
}
#about .wrap .cards .card .text p {
    line-height: 2rem;
}
#about .wrap .cards .card .text ul{
    padding-top: 2rem;
}
#about .wrap .cards .card .text ul li {
    font-weight: bold;
    padding: 1rem  0;
    display: flex;
    align-items:  center;
    gap: 1rem ;
    
}#about .wrap .cards .card .text .lien {
    padding-top : 3rem;
}
#about .wrap .cards .card .text a {
    padding: 1rem 3rem;
    background-color: var(--noir);
    color: white;
    text-align: center;
}
#about .wrap .work {
    padding: 10rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5rem;
}
#about .wrap .work .titles  {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#about .wrap .work .titles h2 {
    font-size: 44px;
    font-weight: bold;
}
#about .wrap .work .cards {
    display: flex;
    flex-direction: row;
    gap:2rem ;

}
#about .wrap .work .cards .card {
    border: solid 1px var(--gris);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
}
#about .wrap .work .cards .card h3{
    font-weight: bold;
    font-size: 22px;
}
#blog .wrap .title {
    font-family: 'Sen';
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-bottom: 5rem;
}
#blog .wrap .title h2 {
    font-size: 44px;
    font-weight: bold;
}
#blog .wrap .cards {
    display: flex; 
    gap: 1rem;
    
}
#blog .wrap .cards .card {
    border: solid 1px var(--gris);
    padding: 2rem;
     line-height: 2rem;
}
#blog .wrap .cards .card i {
    font-size: 24px;
    color: var(--jaune);
}
#blog .wrap .cards .card .comment {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
#blog .wrap .cards .card .comment .avatar {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#blog .wrap .cards .card .comment .avatar img {
    width: 20%;
}
#blog .wrap .cards .card .comment .avatar .text h3{
    font-weight: bold
}
#blog .wrap .partners {
    padding:  7rem 5rem;
    display: flex;
    justify-content: space-around;
    gap: 10rem;
}
#contact {
    background-image: url('./images/home-contact-section-background.webp');
    background-repeat: no-repeat;
    background-size: cover;
}
#contact .filter {
    backdrop-filter: brightness(60%);
}
#contact .wrap {
    display: flex;
    align-items: center;
}
#contact .wrap .text {
    padding: 10rem 0;
    color: white;
    font-family: 'Sen';
    font-weight: bold;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#contact .wrap .text .down  {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
#contact .wrap .text .down h2 {
    font-size: 48px;
    font-weight: bold;
}
#contact .wrap .text .down a {
    padding: 1rem 3rem;
    background-color: white;
    color: var(--noir);
    font-family: 'Open Sans';
    font-weight: normal;
}
footer .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;

}
footer .wrap .up {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}
footer .wrap .up .right{
    display: flex;
    justify-content: space-between;
}