* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.grey {
  background-color: #565e5f10;
}

.separator {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 20px 0;
}

/* HEADER  */

header {
  padding: 10px 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.min-logo {
  width: 70px;
}

.nav ul {
  display: flex;
  gap: 40px;
}

.nav ul li {
  list-style: none;
  font-weight: 500;
  font-size: 20px;
  font-family: "League Spartan", sans-serif;
}

.nav ul li a {
  color: #565e5f;
}

.nav ul li:not(:last-child) a:hover {
  color: #3aabb8;
  transition: color 0.3s ease;
}

.call-btn {
  padding: 10px 20px;
  background-color: #3aabb8;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  width: 180px;
  font-size: 20px;
  font-weight: 500;
  font-family: "League Spartan", sans-serif;
}

.phone {
  color: #fff;
  font-size: 15px;
  margin-right: 7px;
}

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
}

.burger {
  display: none;
  cursor: pointer;
  width: 34px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #565e5f;
  border-radius: 3px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

@media (max-width: 860px) {
  header {
    justify-content: space-between;
    padding: 10px 16px;
  }

  .burger {
    display: flex;
    order: 2;
  }

  .desktop-only {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 16px;
  }

  .nav ul li {
    font-size: 20px;
  }

  .nav ul a {
    display: block;
    padding: 14px 6px;
  }

  .mobile-only {
    display: block;
    margin-top: 10px;
  }

  .mobile-only .call-btn {
    width: 180px;
    padding: 14px;
    font-size: 18px;
    color: white;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 340px;
  }

  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
  }

  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
  }
}

/* MAIN */

main {
  min-height: 100vh;
  margin: 150px auto 0;
}

.presentation {
  display: flex;
  align-items: stretch;
  max-width: 1500px;
  margin: 0 auto;
}

.left {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.right {
  width: 50%;
}

.left h1 {
  font-size: 48px;
  width: 90%;
}

.left h1 span {
  color: #3aabb8;
}

.left p {
  margin-top: 15px;
  text-align: justify;
  width: 90%;
  color: #565e5f;
}

.left ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.left ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-family: "League Spartan", sans-serif;
  color: #565e5f;
}

.left ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #3aabb8;
  color: #3aabb8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.left-btns {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.contact-us-btn {
  padding: 20px;
  background-color: #3aabb8;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  font-family: "League Spartan", sans-serif;
  box-sizing: border-box;
  white-space: nowrap;
}

.pictures-btn {
  padding: 20px;
  background-color: white;
  color: #3aabb8;
  border: #3aabb8 solid 2px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  font-family: "League Spartan", sans-serif;
  box-sizing: border-box;
  white-space: nowrap;
}

.right {
  width: 50%;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.image-wrapper img {
  height: 400px;
  width: 80%;
  border-radius: 20px;
}

.experience-badge {
  position: absolute;
  bottom: -9px;
  left: 30px;
  background-color: #3aabb8;
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.experience-badge strong {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  font-family: "League Spartan", sans-serif;
}

.experience-badge span {
  font-size: 14px;
  font-family: "League Spartan", sans-serif;
  opacity: 0.95;
}

.photos {
  margin-top: 50px;
}

#realisations-preview-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.realisation-preview-item {
  position: relative;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.realisation-preview-item:hover {
  transform: translateY(-10px);
  transition: transform 0.5s ease;
}

.realisation-preview-item img {
  width: 100%;
  height: 300px;
}

.realisation-preview-item {
  position: relative;
  display: inline-block;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.712);
  border-radius: 20px;
  overflow: hidden;
}

.realisation-preview-item img {
  display: block;
  width: 100%;
  height: 400px;
}

.realisation-preview-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  box-sizing: border-box;
  font-family: "League Spartan", sans-serif;
}

@media (max-width: 1440px) {
  .left ul {
    margin-top: 30px;
  }
}

@media (max-width: 1170px) {
  .right {
    display: none;
  }
  .left {
    width: 50%;
    margin: 0 auto;
  }
  .left-btns {
    margin-top: 15px;
  }
}

@media (max-width: 860px) {
  .presentation {
    flex-direction: column;
  }
  .left {
    width: 85%;
    margin: 0 auto;
  }
  .pictures-btn {
    width: 323px;
  }
}

@media (max-width: 720px) {
  .left-btns {
    flex-wrap: wrap;
  }
}

.services {
  max-width: 1500px;
  margin: 100px auto 0;
  height: 920px;
}

.services h2,
.photos h2,
.reviews h2,
.infos h2 {
  text-align: center;
  padding-top: 50px;
  font-size: 40px;
  font-family: "League Spartan", sans-serif;
}

.services span,
.photos span,
.reviews span,
.infos span {
  color: #3aabb8;
  font-size: 40px;
  font-family: "League Spartan", sans-serif;
}

.pres-section {
  width: 50%;
  margin: 0 auto;
  margin-top: 15px;
  text-align: center;
  color: #565e5f;
  font-size: 18px;
  font-family: "League Spartan", sans-serif;
}

.service {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 30px;
  justify-content: center;
}

.service-item {
  width: calc(33.333% - 30px);
  padding: 20px;
  background-color: white;
  height: 200px;
  border-radius: 15px;
}

.service-item i,
.service-item h3,
.service-item p {
  padding: 10px;
}

.service-item h3 {
  font-weight: 500;
}

.service-item h3,
.service-item p,
.infos-1 h3,
.infos-1 p,
.infos-2 h3,
.infos-2 p {
  color: #565e5f;
  font-family: "League Spartan", sans-serif;
}

.service-item i,
.infos-1 i,
.infos-2 i {
  font-size: 30px;
  color: #3aabb8;
  background-color: #565e5f10;
  border-radius: 15px;
  margin-bottom: 10px;
}

.project {
  width: 90%;
  margin: 50px auto 0;
  background-color: #3aabb8;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  line-height: 40px;
}

.project h4 {
  color: white;
  font-size: 28px;
}

.project p {
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
  font-family: "League Spartan", sans-serif;
}

.project-btn {
  background-color: white;
  color: #3aabb8;
  border: #3aabb8 solid 2px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  font-family: "League Spartan", sans-serif;
  padding: 1.5%;
}

@media (max-width: 925px) {
  .services {
    height: 1100px;
  }
  .service-item {
    width: calc(50% - 30px);
    padding: 10px;
  }
  .project {
    padding: 5px;
  }
  .project p {
    margin-bottom: 2px;
  }
}

@media (max-width: 660px) {
  .pres-section {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .service-item {
    width: 90%;
    text-align: center;
  }
  .services {
    height: 1800px;
  }
}

#reviews-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 30px;
}

.review-item {
  background: #3aabb810;
  border-radius: 16px;
  padding: 25px;
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stars {
  color: #27b7c2;
  margin: 10px 0;
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
}

.review-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.link {
  text-align: center;
  margin-bottom: 20px;
}

.link a {
  display: inline-block;
  background: #3aabb810;
  padding: 15px 30px;
  border-radius: 8px;
  color: #3aabb8;
  font-weight: bold;
  font-size: 25px;
  font-family: "League Spartan", sans-serif;
  text-decoration: none;
  transition: 0.3s ease;
}

.link a:hover {
  background: #3aabb820;
  transform: translateY(-2px);
}

.infos {
  padding-bottom: 30px;
}

.private-infos {
  background-color: white;
  width: 80%;
  margin: 20px auto 0;
  border-radius: 20px;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.infos-1,
.infos-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  gap: 30px;
}

.infos-1 i,
.infos-2 i {
  font-size: 30px;
  color: #3aabb8;
  background-color: #565e5f10;
  border-radius: 15px;
  padding: 10px;
}

.info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 15px;
  align-items: start;
}

.info-item i {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 30px;
  color: #565e5f10;
  background-color: #565e5f10;
  border-radius: 15px;
  padding: 10px;
}

.outline1 {
  color: transparent;
  -webkit-text-stroke: 2px #3aabb8;
}

.info-item h3 {
  grid-column: 2;
  margin-top: 15px;
}

.info-item p {
  grid-column: 2;
  margin-top: 5px;
  line-height: 20px;
}

.zone {
  display: flex;
}

.map {
  width: 40%;
  margin: 0 auto;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 20px;
}

.interventions {
  background-color: #3aabb821;
  width: 50%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 15px;
}

.location-badge {
  color: white;
  background-color: #3aabb8;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 18px;
}

.outline2 {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.title-intervention {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.title-intervention h3 {
  color: #565e5f;
  font-size: 25px;
  font-family: "League Spartan", sans-serif;
}

.interventions p {
  color: #565e5f;
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
}

.interventions ul {
  padding: 20px;
  line-height: 30px;
  list-style: disc;
}

.interventions ul li {
  color: #565e5f;
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
}

.interventions ul li::marker {
  color: #3aabb8;
  font-size: 20px;
}

.interventions span {
  color: #3aabb8;
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 1430px) {
  .grid {
    display: block;
  }
  .infos-1,
  .infos-2 {
    display: block;
    text-align: center;
  }
  .info-item {
    display: block;
    text-align: center;
    margin-top: 25px;
  }
  .info-item h3 {
    display: none;
  }
  .zone {
    display: block;
    height: auto;
  }
  .map,
  .interventions {
    width: 96%;
  }
  .map {
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .title-intervention h3 {
    font-size: 20px;
  }
  .interventions p,
  .interventions span {
    font-size: 16px;
  }
  .location-badge {
    padding: 15x 10px;
  }
}

@media (max-width: 860px) {
  .private-infos {
    width: 90%;
  }
}

@media (max-width: 520px) {
  .title-intervention h3 {
    font-size: 18px;
  }
}

/* FOOTER */

footer {
  background-color: #565e5f;
}

.footer-content {
  display: flex;
}

.left-block {
  width: 33.33%;
  gap: 20px;
  padding: 30px;
}

.left-block p {
  width: 50%;
  color: rgba(255, 255, 255, 0.63);
  font-family: "League Spartan", sans-serif;
  margin-bottom: 15px;
}

.networks ul {
  display: flex;
  gap: 20px;
}

.networks ul li {
  list-style: none;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.networks ul li i {
  font-size: 16px;
}

.networks ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-3px);
  cursor: pointer;
}

.middle-block ul li a:hover,
.right-block ul li:hover {
  color: white;
  transform: translateY(-3px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-block {
  display: flex;
  width: 90%;
}

.middle-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70%;
}

.middle-block ul {
  margin-top: 15px;
  list-style: none;
}

.middle-block ul li a {
  line-height: 30px;
  color: rgba(255, 255, 255, 0.63);
  font-family: "League Spartan", sans-serif;
  width: fit-content;
}

.right-block {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.right-block ul {
  margin-top: 15px;
}

.right-block ul li {
  list-style: none;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.63);
  font-family: "League Spartan", sans-serif;
  width: fit-content;
}

.middle-block h4,
.right-block h4 {
  color: white;
  font-size: 20px;
  font-family: "League Spartan", sans-serif;
}

@media (max-width: 1310px) {
  .footer-content {
    display: block;
  }
  .left-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .left-block p {
    width: 100%;
    text-align: center;
  }
  .middle-block {
    align-items: center;
    padding-top: 40px;
  }
}
