@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;500;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
section {
  margin-top: 50px;
}
body {
  position: relative;
}
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 10%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255 255 255 /0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
.menu {
  display: flex;
}
.logo {
  color: #f5c434;
  font-weight: 700;
  font-size: 25px;
}
.logo span {
  color: #273e60;
}
.menu li {
  margin: 0 15px;
  list-style: none;
}
.menu li a {
  font-size: 14px;
  text-decoration: 0;
  color: #999;
  position: relative;
}
.menu li a::before {
  position: absolute;
  top: -5px;
  left: 0;
  content: '';
  width: 0;
  height: 2px;
  border-radius: 6px;
  background-color: #f5c434;
  transition: 0.5s;
}
.menu li a:hover::before {
  width: 100%;
}
.menu li a::after {
  position: absolute;
  bottom: -5px;
  right: 0;
  content: '';
  width: 0;
  height: 2px;
  border-radius: 6px;
  background-color: #f5c434;
  transition: 0.5s;
}
.menu li a:hover::after {
  width: 100%;
}
.menu li a:hover {
  color: #000;
}

/* home CSS */
#home {
  margin-top: 50px;
  display: flex;
  align-items: center;
  margin-left: 10%;
  margin-right: 10%;
  height: calc(100vh - 50px);
  justify-content: space-between;
}
#home .left {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#home .left h4 {
  font-size: 32px;
  color: #f5c434;
  font-weight: 700;
}
#home .left h1 {
  font-size: 40px;
}
#home .left p {
  font-size: 14px;
  color: #999;
}
#home .left button {
  margin-top: 20px;
  width: fit-content;
  padding: 5px 10px;
  background-color: #000;
  border: 0;
  transition: 0.5s;
  position: relative;
  cursor: pointer;
}
#home .left button a {
  text-decoration: 0;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.5s;
}
#home .left button::before {
  position: absolute;
  left: 5px;
  top: 5px;
  content: '';
  height: 100%;
  width: 100%;
  z-index: -1;
  background-color: #f5c434;
}
#home .left button:hover a {
  letter-spacing: 1px;
}

#home .right {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#home .right img {
  width: 80%;
}

/* prestations CSS */

#prestations {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 50px 10px;
}
.mini_title {
  margin-top: 25px;
  font-size: 19px;
  color: #f5c434;
  text-transform: capitalize;
}
.title {
  font-size: 28px;
  text-transform: uppercase;
  color: #273e60;
  margin-bottom: 25px;
  text-align: center;
}
.prestas {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  justify-content: space-around;
}
.prestas .presta {
  min-height: 310px;
  height: auto;
  width: 30%;
  background-color: #fff;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  border-radius: 6px;
  margin-bottom: 35px;
  transition: 0.5s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.prestas .presta img {
  width: 130px;
  height: 120px;
  margin-bottom: 15px;
}
.prestas .presta p {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #273e60;
  margin-bottom: 8px;
}
.prestas .presta h2 {
  font-size: 14px;
  font-weight: 300;
}
.prestas .presta a {
  margin-top: 10px;
  font-size: 14px;
  text-decoration: 0;
  background-color: #f5c434;
  padding: 5px 60px;
  color: #fff;
  border-radius: 6px;
}
.prestas .presta .desc {
  font-size: 13px;
  color: #555;
  text-align: center;
  margin: 12px 0;
  line-height: 1.6;
  font-weight: 400;
}
.prestas .presta ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  width: 100%;
}
.prestas .presta ul li {
  font-size: 12px;
  color: #555;
  padding: 5px 0;
  text-align: center;
  font-weight: 400;
}
/*Scrollbar CSS*/
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #f5c434;
}

/* about us CSS */

#a_propos {
  display: flex;
  align-items: center;
  height: calc(100vh - 50px);
  flex-direction: column;
  padding: 50px 10%;
  width: 100%;
}
.about {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  height: 70vh;
}
.about .left {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.about .left img {
  width: 90%;
}
.about .right {
  width: 60%;
  padding-left: 50px;
}
.about .right h3 {
  font-size: 22px;
  color: #273e60;
  margin: 10px 0;
}
.about .right li {
  list-style: none;
  font-size: 14px;
  color: #999;
}
.about .right button {
  margin: 20px 0;
  padding: 5px 60px;
  background-color: #f5c434;
  border: 0;
}
.about .right button a {
  color: #fff;
  text-decoration: 0;
  font-weight: bolder;
}

/* devis CSS */

#devis {
  margin: 50px auto 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#devis p {
  font-size: 14px;
  padding-bottom: 10px;
}
#devis form {
  display: flex;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 25px;
  border-radius: 6px;
  flex-direction: column;
  max-width: 420px;
}
#devis form label {
  margin-bottom: 8px;
  font-size: 14px;
}
#devis form input {
  margin-bottom: 10px;
  padding: 5px;
  border: 1px solid transparent;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  outline: 0;
}
#devis form input:focus {
  outline: 1px solid #f5c434;
}
#devis form textarea {
  margin-bottom: 10px;
  padding: 5px;
  border: 1px solid transparent;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  outline: 0;
  resize: vertical;
}
#devis form textarea:focus {
  outline: 1px solid #f5c434;
}
#devis form input[type='submit'] {
  margin-top: 15px;
  color: #fff;
  background-color: #f5c434;
  border: 1px solid #f5c434;
  cursor: pointer;
}

/* footer CSS */

footer {
  background-color: rgba(0, 0, 0, 0.05);
}
footer .services_list {
  padding: 10px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.service img {
  width: 40px;
  background-color: #f5c434;
  padding: 10px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.service {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 25px auto;
}
.service p {
  color: #333;
}
.toggle_menu {
  display: none;
}
/* Mobile (320px - 480px) */
@media (max-width: 480px) {
  /* Header */
  html {
    font-size: 55%;
  }
  header {
    padding: 0 15px;
    height: 50px;
  }
  .logo {
    font-size: 22px;
  }
  header .menu {
    display: none;
  }
  .toggle_menu {
    display: flex;
    height: 35px;
    width: 35px;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
  }
  .toggle_menu::before {
    position: absolute;
    content: '';
    height: 3px;
    width: 25px;
    background-color: #f5c434;
    border-radius: 6px;
    box-shadow: 0 9px 0 #f5c434;
    transform: translateY(-9px);
    transition: 0.5s;
  }
  .toggle_menu.active::before {
    transform: translateY(0) rotate(135deg);
    box-shadow: 0 0 0 #f5c434;
  }
  .toggle_menu::after {
    position: absolute;
    content: '';
    height: 3px;
    width: 25px;
    background-color: #f5c434;
    border-radius: 6px;
    transform: translateY(9px);
    transition: 0.5s;
  }
  .toggle_menu.active::after {
    transform: translateY(0) rotate(-135deg);
  }
  header .menu.responsive {
    display: flex;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    z-index: 999;
  }
  header .menu.responsive li {
    margin: 12px 0;
  }
  header .menu.responsive li a {
    font-size: 15px;
  }
  
  /* Section Home */
  section {
    margin-top: 30px;
  }
  #home {
    flex-direction: column;
    padding: 15px;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    min-height: auto;
  }
  #home .left,
  #home .right {
    width: 100%;
    padding: 0;
  }
  #home .left {
    margin: 70px 0 30px 0;
    text-align: center;
  }
  #home .left h4 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  #home .left h1 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  #home .left p {
    font-size: 14px;
    line-height: 1.5;
  }
  #home .left button {
    margin-top: 20px;
    padding: 8px 15px;
    margin-left: auto;
    margin-right: auto;
  }
  #home .left button a {
    font-size: 12px;
  }
  #home .right {
    margin-top: 30px;
  }
  #home .right img {
    width: 100%;
    max-width: 300px;
  }
  
  /* Section Prestations - 1 colonne sur mobile */
  #prestations {
    padding: 40px 15px;
  }
  .mini_title {
    font-size: 16px;
  }
  .title {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .prestas {
    width: 100%;
  }
  .prestas .presta {
    width: 100%;
    max-width: 320px;
    min-height: auto;
    padding: 20px;
    margin-bottom: 25px;
  }
  .prestas .presta img {
    width: 100px;
    height: 95px;
    margin-bottom: 12px;
  }
  .prestas .presta p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .prestas .presta .desc {
    font-size: 12px;
    line-height: 1.5;
    margin: 10px 0;
  }
  .prestas .presta ul {
    margin: 12px 0;
  }
  .prestas .presta ul li {
    font-size: 11px;
    padding: 4px 0;
  }
  .prestas .presta a {
    margin-top: 12px;
    padding: 8px 40px;
    font-size: 13px;
  }
  
  /* Section À Propos */
  #a_propos {
    padding: 40px 15px;
    height: auto;
  }
  .about {
    flex-direction: column;
    height: auto;
  }
  #a_propos .left,
  #a_propos .right {
    width: 100%;
  }
  #a_propos .left {
    height: auto;
    margin-bottom: 25px;
  }
  #a_propos .left img {
    width: 70%;
    max-width: 250px;
  }
  #a_propos .right {
    text-align: center;
    padding: 0 15px;
  }
  #a_propos .right h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  #a_propos .right p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-bottom: 10px;
  }
  #a_propos .right li {
    font-size: 12px;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  #a_propos .right li:first-of-type {
    margin-top: 20px;
  }
  #a_propos .right button {
    margin-top: 20px;
    padding: 8px 40px;
  }
  #a_propos .right button a {
    font-size: 12px;
  }
  
  /* Section Devis / Formulaire */
  #devis {
    padding: 40px 15px;
    margin: 30px auto;
  }
  #devis .mini_title {
    font-size: 16px;
  }
  #devis p {
    font-size: 13px;
  }
  #devis form {
    max-width: 100%;
    width: 100%;
    padding: 20px 15px;
  }
  #devis form label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  #devis form input,
  #devis form textarea {
    font-size: 14px;
    padding: 8px;
  }
  #devis form input[type='submit'] {
    font-size: 14px;
    padding: 10px;
  }
  
  /* Footer */
  footer .services_list {
    padding: 20px 15px;
    flex-direction: column;
  }
  .service {
    width: 100%;
    margin: 15px 0;
  }
  .service img {
    width: 35px;
    padding: 8px;
  }
  .service h2 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .service p {
    font-size: 13px;
  }
}

/* CSS supplémentaire pour le pitch professionnel */
.about .right p {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  padding-bottom: 10px;
}
.about .right li {
  margin-bottom: 8px;
}
.about .right li:first-of-type {
  margin-top: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablette paysage (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  /* Header */
  header {
    padding: 0 5%;
  }
  
  /* Section Home */
  #home {
    margin-left: 5%;
    margin-right: 5%;
  }
  #home .left {
    width: 45%;
  }
  #home .right {
    width: 50%;
  }
  #home .left h4 {
    font-size: 28px;
  }
  #home .left h1 {
    font-size: 32px;
  }
  
  /* Prestations - 2 colonnes sur tablette */
  .prestas {
    width: 90%;
  }
  .prestas .presta {
    width: 45%;
    min-height: 380px;
  }
  .prestas .presta p {
    font-size: 18px;
  }
  .prestas .presta .desc {
    font-size: 12px;
  }
  .prestas .presta ul li {
    font-size: 11px;
  }
  
  /* Section À Propos */
  #a_propos {
    padding: 50px 5%;
  }
  .about .right {
    padding-left: 30px;
  }
  .about .right h3 {
    font-size: 20px;
  }
  .about .right p {
    margin-bottom: 25px;
    padding-bottom: 10px;
  }
  .about .right li {
    font-size: 13px;
  }
  .about .right li:first-of-type {
    margin-top: 20px;
  }
  
  /* Formulaire */
  #devis form {
    max-width: 500px;
  }
  
  /* Footer */
  footer .services_list {
    padding: 10px 5%;
  }
  .service {
    width: 48%;
    margin: 20px 0;
  }
}

/* Tablette portrait et petit paysage (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
  /* Header */
  header {
    padding: 0 20px;
  }
  header .menu {
    display: none;
  }
  .toggle_menu {
    display: flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
  }
  .toggle_menu::before {
    position: absolute;
    content: '';
    height: 3px;
    width: 28px;
    background-color: #f5c434;
    border-radius: 6px;
    box-shadow: 0 10px 0 #f5c434;
    transform: translateY(-10px);
    transition: 0.5s;
  }
  .toggle_menu.active::before {
    transform: translateY(0) rotate(135deg);
    box-shadow: 0 0 0 #f5c434;
  }
  .toggle_menu::after {
    position: absolute;
    content: '';
    height: 3px;
    width: 28px;
    background-color: #f5c434;
    border-radius: 6px;
    transform: translateY(10px);
    transition: 0.5s;
  }
  .toggle_menu.active::after {
    transform: translateY(0) rotate(-135deg);
  }
  header .menu.responsive {
    display: flex;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    z-index: 999;
  }
  header .menu.responsive li {
    margin: 15px 0;
  }
  
  /* Section Home */
  #home {
    flex-direction: column;
    padding: 20px;
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }
  #home .left,
  #home .right {
    width: 100%;
  }
  #home .left {
    margin: 80px 0 40px 0;
    text-align: center;
  }
  #home .left h4 {
    font-size: 24px;
  }
  #home .left h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  #home .left p {
    font-size: 15px;
  }
  #home .right img {
    width: 100%;
  }
  
  /* Prestations - 1 colonne sur tablette portrait */
  .prestas {
    width: 95%;
  }
  .prestas .presta {
    width: 80%;
    max-width: 400px;
    min-height: 400px;
    margin-bottom: 30px;
  }
  .prestas .presta p {
    font-size: 19px;
  }
  .prestas .presta .desc {
    font-size: 13px;
  }
  .prestas .presta ul li {
    font-size: 12px;
  }
  
  /* Section À Propos */
  #a_propos {
    padding: 40px 20px;
    height: auto;
  }
  .about {
    flex-direction: column;
    height: auto;
  }
  #a_propos .left,
  #a_propos .right {
    width: 100%;
  }
  #a_propos .left {
    height: auto;
    margin-bottom: 30px;
  }
  #a_propos .left img {
    width: 60%;
  }
  #a_propos .right {
    text-align: center;
    padding: 0 20px;
  }
  #a_propos .right h3 {
    font-size: 20px;
  }
  #a_propos .right p {
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 10px;
  }
  #a_propos .right li {
    font-size: 13px;
    text-align: left;
    margin-bottom: 10px;
  }
  #a_propos .right li:first-of-type {
    margin-top: 20px;
  }
  
  /* Formulaire */
  #devis {
    padding: 0 20px;
  }
  #devis form {
    max-width: 100%;
    width: 100%;
  }
  
  /* Footer */
  footer .services_list {
    padding: 20px 5%;
  }
  .service {
    width: 48%;
    margin: 20px 0;
  }
  .service h2 {
    font-size: 16px;
  }
  .service p {
    font-size: 13px;
  }
}
