@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  max-width: 100vw;
  height: 100vh;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  height: 10vh;
  border-bottom: 1px solid #64748b2f;
}
.main-logo {
  height: 48px;
}

.main-logo img {
  height: 100%;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-mobile,
#btn-menu {
  display: none;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  color: #64748b;
}

nav a:hover {
  border-bottom: 2px solid #17274d;
}

header .tel-devis {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tel-devis span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tel {
  color: #00597c;
  font-size: 14px;
  font-weight: bold;
}

.btn-devis {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background-color: #0f172a;
  padding: 12px 24px;
  border-radius: 20px;
}

.btn-devis:hover,
.hero-left a:hover,
form button:hover {
  transform: scale(1.1);
  background-color: #17274d;
}

/* HERO */

.hero-container {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 50px 64px;
}

h1 {
  font-size: 64px;
  font-weight: bold;
  max-width: 590px;
}

h1 .passion {
  color: #0070ba;
}

h1 .precision {
  color: #a2006c;
}

.hero-desc {
  font-size: 18px;
  max-width: 450px;
  color: #64748b;
  line-height: 30px;
}

.hero-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: bold;
  width: fit-content;
  background-color: #0f172a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 15px;
}

.services {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service:not(:last-child) {
  padding-right: 32px;
  border-right: 1px solid #e2e8f0;
}

.chiffre {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.service .title {
  font-size: 14px;
  font-weight: bold;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service p {
  color: #64748b;
  max-width: 126px;
  font-size: 12px;
}

.img-wraper {
  position: relative;
  width: 100%;
  height: 815px;
}

.img-wraper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-right .badge {
  position: absolute;
  right: 64px;
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background-color: #fff;
  border-radius: 32px;
}

.badge .logo {
  color: #fff;
  background-color: #10b981;
  padding: 12px;
  border-radius: 50%;
}

.badge .title {
  font-size: 14px;
  font-weight: bold;
}

.badge .infos p {
  max-width: 190px;
  color: #64748b;
  font-size: 12px;
}

/* APROPOS */

#avis,
#prestations {
  padding: 96px 80px;
}

.container-apropos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.container-apropos h2 {
  margin-bottom: 0;
}

.container-apropos .divider {
  height: 4px;
  width: 64px;
  background-color: #f59e0b;
}

.container-apropos .sec-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.container-apropos .sec-left h2 {
  text-align: start;
}

.container-apropos .sec-left p {
  text-align: start;
  max-width: 100%;
  line-height: 30px;
}

.container-apropos .img-wraper {
  width: 100%;
  height: 450px;
}

.container-apropos .img-wraper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* PRESTATIONS */

h2 {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.sec-desc {
  font-size: 18px;
  color: #64748b;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.container-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 33px;
  margin-top: 64px;
}

.container-card .card {
  border-radius: 16px;
  background-color: #f1f5f935;
  border: 2px solid #e2e8f055;
}

.container-card .card img {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  width: 100%;
  object-fit: cover;
}

.container-card .card .infos {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 32px;
}

h3 {
  font-size: 24px;
  font-weight: bold;
}

.container-card .card .infos p {
  font-size: 14px;
  color: #64748b;
}

.container-card .card .infos a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.container-card .card .infos a.a {
  color: #0077cc;
}

.container-card .card .infos a.b {
  color: #956300;
}

.container-card .card .infos a.c {
  color: #aa0088;
}

#apropos-atelier,
#apropos {
  background-color: #e0e0e049;
}

.container-sec {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 96px 0;
}

.container-sec .sec-left {
  margin: 56px 0;
}

.container-sec .sec-left .title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
}

.container-sec .sec-left .desc {
  font-size: 16px;
  color: #64748b;
  max-width: 490px;
  margin-bottom: 30px;
}

.container-sec .sec-left .infos {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.container-sec .sec-left .info {
  display: flex;
  gap: 16px;
  align-items: center;
}

.container-sec .sec-left .info .logo {
  align-self: flex-start;
  border-radius: 50%;
  padding: 10px;
}

.logo.r {
  color: #8b5cf6;
  background-color: #8a5cf622;
}

.logo.g {
  color: #f59e0b;
  background-color: #f59f0b2f;
}

.logo.b {
  color: #10b981;
  background-color: #10b9812f;
}

.container-sec .sec-left .info .title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.container-sec .sec-left .info .desc {
  margin-bottom: 0;
}

.container-sec .sec-right .img-wraper {
  width: 100%;
  height: 500px;
}

.container-sec .sec-right .img-wraper img {
  height: 100%;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* REALISATIONS */

#realisations {
  padding: 96px 80px;
}

.container-slider {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.sliders {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.slider {
  height: 305px;
  width: calc(33.33% - 16px);
  flex-shrink: 0;
}

.slider img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.btn-slider {
  position: absolute;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  top: 54%;
  width: 100%;
  padding: 0 16px;
  pointer-events: none;
}

.btn-previous,
.btn-next {
  font-size: 30px;
  width: 48px;
  height: 48px;
  color: #fff;
  border: 0;
  background-color: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  pointer-events: all;
}
.btn-previous:hover,
.btn-next:hover {
  transform: scale(1.08);
}

/* AVIS */

.stars {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  font-size: 20px;
}

.stars i {
  color: #f59e0b;
}

.container-card-avis {
  display: flex;
  gap: 24px;
  margin-top: 64px;
  overflow: hidden;
}

.avis-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.container-card-avis .card-avis {
  min-width: calc(33.33% - 16px);
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  background-color: #f1f5f938;
}

.container-card-avis .card-avis .infos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.container-card-avis .card-avis .avis-person {
  color: #0f172a;
  font-weight: bold;
}

.container-card-avis .card-avis .date-avis {
  font-size: 14px;
  color: #64748b;
}

.container-card-avis .card-avis p {
  max-width: 340px;
  color: #64748b;
}

/* DEVIS */

#devis {
  padding: 96px 144px;
  background-color: #f1f5f949;
}

.container-form {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
}

.container-form .form-left,
.form-right {
  padding: 64px;
}

.container-form .form-left {
  overflow: hidden;
  position: relative;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  background-color: #0f172a;
  width: 45%;
}

.container-form .form-left::before {
  position: absolute;
  top: -17%;
  left: -25%;
  content: "";
  width: 320px;
  height: 320px;
  background-color: #8b5cf6;
  filter: blur(250px);
  border-radius: 50%;
}

.container-form .form-left::after {
  position: absolute;
  right: -25%;
  bottom: -17%;
  content: "";
  width: 320px;
  height: 320px;
  background-color: #f59e0b;
  filter: blur(250px);
  border-radius: 50%;
}

.container-form .form-left h2 {
  text-align: start;
  max-width: 390px;
  color: #fff;
}

.container-form .form-left .sec-desc {
  text-align: start;
  color: #ffffffb1;
  line-height: 30px;
}

.container-form .form-left .infos {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 35px;
}

.container-form .form-left .info {
  display: flex;
  gap: 15px;
}

.container-form .form-left .info .logo {
  padding: 10px;
  border-radius: 50%;
  width: fit-content;
  height: fit-content;
}

.container-form .form-left .info .logo.x {
  background-color: #8a5cf642;
  color: #8a5cf6;
}

.container-form .form-left .info .logo.y {
  background-color: #10b98145;
  color: #10b981;
}

.container-form .form-left .info .logo.z {
  background-color: #f59f0b3f;
  color: #f59e0b;
}

.container-form .form-left .info .details div {
  color: #ffffff88;
  margin-bottom: 5px;
}

.container-form .form-left .info .details p {
  font-weight: bold;
  color: #fff;
}

.container-form .form-right {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  background-color: #fff;
  width: 55%;
}

.container-form .form-right h3 {
  margin-bottom: 32px;
}

.container-form .form-right form .rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.container-form .form-right form .row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.container-form .form-right form .row label {
  font-weight: bold;
}

.container-form .form-right form .row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.container-form .form-right form .row input,
select,
option,
textarea {
  background-color: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
}

.container-form .form-right form .row select,
option,
::placeholder {
  font-family: "Space Grotesk", sans-serif;
}

.container-form .form-right form .row select,
option {
  font-weight: 500;
  color: #64748b;
}

.container-form .form-right form .row textarea {
  height: 140px;
}

.container-form .form-right form .row textarea::placeholder {
  max-width: 400px;
}

form button {
  width: 100%;
  padding: 16px 24px;
  background-color: #0f172a;
  border-radius: 24px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 30px;
  cursor: pointer;
}

form p {
  font-size: 14px;
  text-align: center;
  color: #64748b;
  max-width: 510px;
  margin: 0 auto;
}

/* FOOTER */

footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 64px;
  background-color: #0f172a;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff44;
  padding-bottom: 35px;
}

footer .f-left {
  display: flex;
  flex-direction: column;
}

footer .f-left .sec-desc {
  font-size: 14px;
  text-align: start;
  margin: 0;
  max-width: 250px;
  color: #fff;
}

footer .f-right {
  display: flex;
  gap: 64px;
}

h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff7d;
  letter-spacing: 0.1em;
}

footer .f-right ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer .f-right li,
a {
  list-style: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

footer .f-right li a {
  text-decoration: none;
}

footer .f-right li a:hover {
  text-decoration: underline;
}

footer .main-logo {
  margin-bottom: 18px;
}

.footer-bottom {
  font-size: 12px;
  color: #ffffff70;
  text-align: center;
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
}

.alert.success {
  background-color: #10b9812f;
  color: #10b981;
  border: 1px solid #10b98155;
}

.alert.error {
  background-color: #ef44442f;
  color: #ef4444;
  border: 1px solid #ef444455;
}

@media (max-width: 1024px) {
  .main-logo {
    height: 40px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
  }

  .container-apropos,
  .container-sec {
    max-width: 900px;
  }

  .container-apropos .img-wraper {
    height: 100%;
  }

  .container-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .container-sec {
    gap: 25px;
    padding: 72px 0;
  }

  #avis {
    padding: 48px 65px;
  }

  .card-avis {
    min-width: calc(50% - 12px);
  }

  .container-form {
    flex-direction: column;
  }

  .container-form .form-right {
    width: 100%;
    border-bottom-left-radius: 24px;
  }

  .container-form .form-left {
    width: 100%;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  #btn-menu {
    font-size: 16px;
    display: flex;
    border: 0;
    background-color: transparent;
  }

  .nav-mobile.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-bottom: 1px solid #64748b40;
  }

  .nav-mobile.open a:not(:last-child) {
    border-bottom: 1px solid #0f172a33;
    padding-bottom: 12px;
  }

  .nav-mobile.open a:not(.btn-devis) {
    text-decoration: none;
    font-size: 14px;
    color: #64748b;
    font-weight: bold;
  }

  .btn-devis {
    color: #fff;
  }

  header {
    padding: 16px 24px;
  }

  header .tel-devis {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-left {
    padding: 32px 24px;
  }

  .hero-left a {
    width: 100%;
    padding: 16px 24px;
    justify-content: center;
  }

  .services {
    gap: 20px;
  }

  .service:not(:last-child) {
    padding-right: 15px;
  }

  .chiffre {
    font-size: 30px;
  }

  .service .title {
    font-size: 12px;
  }

  .hero-right .img-wraper {
    height: 350px;
  }

  .hero-right .badge {
    right: 25px;
    bottom: -50px;
    padding: 16px;
  }

  .badge .infos p {
    max-width: 125px;
  }

  .container-apropos {
    max-width: 325px;
    display: flex;
    flex-direction: column;
    padding: 64px 0;
    gap: 24px;
  }

  #prestations,
  .container-sec,
  #realisations,
  #avis,
  #devis {
    padding: 64px 24px;
  }

  #avis {
    overflow: hidden;
  }

  .container-card .card .infos {
    padding: 24px;
  }

  .avis-track {
    width: 100%;
    gap: 0;
  }

  .container-card {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .container-card-avis {
    overflow: hidden;
    width: 100%;
  }

  .container-card-avis .card-avis {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .container-sec {
    grid-template-columns: 1fr;
  }

  .container-sec .sec-left {
    margin: 0;
  }

  .container-slider {
    border-radius: 16px;
  }

  .slider {
    width: 100%;
    border-radius: 16px;
  }

  .container-form .form-left .sec-desc {
    font-size: 16px;
  }

  .container-form .form-right form .rows {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .container-form .form-left,
  .form-right {
    padding: 64px 24px;
  }

  footer {
    padding: 40px 24px;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  footer .f-right {
    flex-direction: column;
    gap: 24px;
  }
}
