/* Réinitialisation & styles globaux */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins;
  scroll-behavior: smooth;
}
/* Titres */
h1 {
  font-size: 2.8rem;
  line-height: 3.5rem;
  color: #272727;
  font-weight: 200;
  margin-top: 5rem;
  margin-bottom: 3rem;
}
h2 {
  font-size: 1.9rem;
  line-height: 2rem;
  color: #272727;
  font-weight: 200;
  margin-bottom: 1.2rem;
  margin-top: 1.9rem;
}
h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 20px;
}
/* Autres éléments */
strong {
  font-weight: 600;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}
.one {
  max-width: 70%;
  max-height: 100%;
  display: block;
  margin: auto;
}
.link {
  margin-right: 8rem;
  color: white;
  font-size: 1.1rem;
}
.basic ul {
  list-style: none;
}
/* Navigation & header */
header {
  background-color: #E3963E;
}
.navigation {
  display: flex;
  justify-content: start;
  align-items: center;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 25px 0;
}
.logo {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #1a1a1a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}
.menu {
  display: flex;
  align-items: center;
}
.menu li a {
  margin: 0 30px;
  color: white;
  letter-spacing: 0.5px;
  font-weight: 400;
  transition: all 0.3s ease;
}
.nav-social {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-social a {
  color: white;
  margin-left: 20px;
  transition: all 0.3s ease;
}
.nav-social a:first-child {
  margin-left: 0;
}
.menu li a:hover, .nav-social a:hover {
  color: #ffffff;
}
/* Images & arrière-plan */
.background {
  background-image: url("../images/collage1.webp");
  width: 100%;
  height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}
.more {
  width: 100%;
  height: 300px;
  margin: 2rem auto;
  object-fit: cover;
  text-align: center;
  display: block;
}
.full {
  width: 100%;
  height: 100%;
  margin: 2rem auto;
  object-fit: cover;
  text-align: center;
  display: block;
}
.dessin {
  max-width: 100%;
  max-height: 100%;
}
/* Contenu principal */
.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 7rem auto;
  max-width: 1500px;
  text-align: center;
}
.main-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin-bottom: 10px;
}
.main-content strong {
  color: #fefefe;
  font-size: 1.6rem;
  font-weight: 700;
}
.main-content span {
  color: #8d94b4;
  font-weight: 400;
  font-size: 0.9rem;
}
.main-content h1 {
  font-size: 4rem;
  color: #ffffff;
  line-height: 3.4rem;
  margin-top: 20px;
  font-weight: 650;
  text-shadow: 2px 0px 0px #000, 1.75517px 0.958851px 0px #000, 1.0806px 1.68294px 0px #000, 0.141474px 1.99499px 0px #000, -0.832294px 1.81859px 0px #000, -1.60229px 1.19694px 0px #000, -1.97998px 0.28224px 0px #000, -1.87291px -0.701566px 0px #000, -1.30729px -1.5136px 0px #000, -0.421592px -1.95506px 0px #000, 0.567324px -1.91785px 0px #000, 1.41734px -1.41108px 0px #000, 1.92034px -0.558831px 0px #000;
}
.main-content p {
  color: #5e5e5e;
  margin-top: 20px;
  letter-spacing: 0.3px;
}
/* Section "About" */
#article {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}
.about-text {
  margin-top: 30px;
  max-width: 85%;
  margin-left: auto;
}
.about-text p {
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.4rem;
  letter-spacing: 0.3px;
}
/* Section "Our Services" */
#our-services {
  width: 100%;
  margin: 50px auto 0;
  background-color: #161616;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #eeeeee;
}
.services-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 90%;
  margin: auto;
}
.services-heading-text strong {
  color: #8d94b4;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.services-heading-text h2 {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 700;
  max-width: 600px;
}
.services-box-container, .team-box-container {
  max-width: 1200px;
  width: 90%;
  margin: 40px auto;
  overflow: hidden;
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}
.service-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 100%;
  border: 1px solid #242424;
  padding: 30px;
  background-color: #1a1a1a;
}
.service-box:hover {
  border: 1px solid #8d94b4;
}
.service-box i {
  font-size: 2rem;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(141, 148, 180, 0.24);
}
.service-box strong {
  color: #ffffff;
  font-size: 1.4rem;
  margin-top: 20px;
  font-weight: 600;
}
.service-box p {
  font-size: 0.9rem;
  line-height: 1.4rem;
  color: #e7e7e7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-btn {
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
  padding: 0 10px;
}
/* Section "Contact" */
#contact {
  width: 90%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 80px auto;
  text-align: center;
}
.contact strong {
  color: #8d94b4;
  font-size: 0.87rem;
  letter-spacing: 1px;
  font-weight: 600;
}
.contact h3 {
  color: #1d1d1d;
  font-size: 2.37rem;
  letter-spacing: 1px;
}
.contact p {
  color: #202020;
  max-width: 640px;
  margin: 15px 0;
  letter-spacing: 1px;
}
.contact p b {
  color: #252525;
  font-weight: 500;
}
/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 950px;
  width: 100%;
  margin: 70px auto 0;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #d8d8d8;
}
footer span {
  color: #313131;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
footer .footer-logo {
  color: #1f1f1f;
  font-weight: 500;
  letter-spacing: 3px;
  font-size: 1.3rem;
}
/* Navigation responsive */
.menu-icon, .menu-btn {
  display: none;
}
@media (max-width: 1000px) {
  .navigation {
    justify-content: space-between;
    padding: 15px;
    position: relative;
    width: 100%;
    z-index: 103;
  }
  .logo {
    margin-right: auto;
    margin-left: 20px;
  }
  .navigation .menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #131313;
    width: 100%;
    padding: 0;
    margin: 0;
    box-shadow: 2px 30px 30px rgba(0, 0, 0, 0.05);
  }
  .navigation .menu li {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #000;
  }
  .navigation .menu li a {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 20px;
    border-bottom: 1px solid #161616;
  }
  .menu-icon {
    display: block;
  }
  .navigation .menu-icon {
    cursor: pointer;
    float: right;
    padding: 10px 0;
    position: relative;
    user-select: none;
    z-index: 106;
  }
  .navigation .menu-icon .nav-icon {
    background-color: #ffffff;
    display: block;
    position: relative;
    height: 2px;
    transition: background 0.2s ease-out;
    width: 25px;
  }
  .navigation .menu-icon .nav-icon::before, .navigation .menu-icon .nav-icon::after {
    background-color: #ffffff;
    content: '';
    position: absolute;
    height: 100%;
    transition: all 0.2s ease-out;
    width: 100%;
  }
  .navigation .menu-icon .nav-icon::before {
    top: 9px;
  }
  .navigation .menu-icon .nav-icon::after {
    top: -9px;
  }
  .navigation .menu-icon:checked ~ .menu-icon .nav-icon, .navigation .menu-btn:checked ~ .menu-icon .nav-icon {
    background-color: transparent;
  }
  .navigation .menu-btn:checked ~ .menu-icon .nav-icon::before {
    transform: rotate(-45deg);
    top: 0;
  }
  .navigation .menu-btn:checked ~ .menu-icon .nav-icon::after {
    transform: rotate(45deg);
    top: 0;
  }
  .navigation .menu-btn:checked ~ .menu {
    display: block;
  }
}
/* Responsive services */
@media (max-width: 850px) {
  .services-box-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 724px) {
  .about-text h1 {
    font-size: 2.1rem;
    line-height: 2.4rem;
    font-weight: 200;
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
}
@media (max-width: 724px) {
  #article h2 {
    font-size: 1.6rem;
    line-height: 2rem;
  }
  .about-text h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 20px;
  }
  .services-heading h2 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  .contact h3 {
    font-size: 2rem;
    line-height: 2.5rem;
  }
}
/* Mise en page pour l'article et la pub/widget */
.container-ad {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
#article {
  flex: 1;
  min-width: 600px;
}
.vertical-ad {
  width: 350px;
  margin-left: 50px;
  margin-top: 150px;
}
.container-ad {
  padding: 0 10px;
}
@media (max-width: 1026px) {
  #article {
    min-width: 0;
    width: 100%;
    padding: 0 10px;
  }
  /* On supprime display: none */
  .vertical-ad {
    /* On la rend visible */
    display: block;
    /* On remet la marge à 0 pour qu’elle descende proprement */
    margin-left: 0;
    margin-top: 30px;
    /* On peut aussi forcer la largeur pour éviter qu’elle ne dépasse */
    width: 100%;
  }
  .container-ad {
    justify-content: center;
  }
}
