@import url("https://fonts.googleapis.com/css2?family=Aboreto&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

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

:root {
  --box-shadow: 5px 5px 15px #c1c8d3, -5px -5px 15px #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
  background: #dce1e4;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8%;
  background: #ffffff26;
  backdrop-filter: blur(18px);
  z-index: 10;
}
section {
  padding: 80px 10% 40px;
  min-height: auto;
}
header a {
  text-decoration: none;
  font-size: 18px;
  font-family: sans-serif;
  color: #000;
}
header ul {
  list-style: none;
}

.nav-links {
  display: flex;
}

.nav-links a {
  padding: 0 20px;
}

.logo img {
  width: 120px;
}

.icons i {
  height: 40px;
  width: 40px;
  font-size: 18px;
  border-radius: 50%;
  background-color: #00000040;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s ease;
}
#Home {
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: 40% 60%;
  margin-top: 50px;
  align-items: stretch;
}

.hero-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #000;
}

.eyebrow {
  margin-bottom: 22px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: 4.1rem;
  font-weight: 300;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.02rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-actions i {
  display: inline-block;
  transform: rotate(-45deg);
  font-size: 20px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
}

.btn.primary {
  padding: 0 24px;
  background: #000;
}

.icon-btn {
  width: 52px;
  background: #f2841f;
}

.picture {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.picture img {
  box-shadow: var(--box-shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: url(#hero-photo-shape);
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.scroll-animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-timeline: view(75% 25%);
}

.scroll-animate-left {
  animation: fadeInLeft 0.8s ease-out forwards;
  animation-timeline: view(75% 25%);
}

.title {
  font-size: 2.4rem;
  text-align: center;
  font-weight: 500;
  color: #000;
}

.container {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.container .left {
  display: flex;
  justify-content: center;
  opacity: 0;
}

.container .right {
  color: #000;
  max-width: 600px;
  text-align: justify;
  font-size: 18px;
  line-height: 1.3;
  opacity: 0;
}

.container .left img {
  width: min(100%, 520px);
  display: block;
  clip-path: url(#hero-photo-shape);
}

.container .stats {
  margin-top: 40px;
  display: flex;
  gap: 30px;
  color: #000;
}

.stats .table-box {
  background: #dce1e4;
  border-radius: 15px;
  padding: 20px;
  height: 120px;
  width: 200px;
  transition: 0.4s;
  cursor: pointer;
  box-shadow: var(--box-shadow);
}

.stats .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.stats .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

#autoShow {
  animation: AutoShowAnimation both;
  animation-timeline: view(70% 5%);
}

@keyframes AutoShowAnimation {
  from {
    opacity: 0;
    transform: translateY(150px) scale(0.3);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.services-intro {
  text-align: center;
  margin: 50px 0;
  font-family: "Playfair";
  font-size: 1.4rem;
}

.service-wrapper {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 50px;
  opacity: 0;
}

.service-right {
  flex-direction: row-reverse;
  animation: showContent both;
  animation-timeline: view(85% 5%);
}

@keyframes showContent {
  from {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.service-card {
  position: relative;
}

.service-card img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 18px;
  clip-path: url(#service-photo-shape);
}

.service-text {
  max-width: 550px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2841f;
}

.service-icon i {
  font-size: 25px;
}

.service-text h3 {
  margin: 20px 0 15px;
}

.service-text p {
  margin: 0 !important;
  text-align: left !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.7;
}

.projects-wrapper {
  margin-top: 50px;
}

.logos-slider {
  width: 100%;
  height: var(--height);
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.logos-list {
  position: relative;
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  height: 100%;
}

.logo-item {
  position: absolute;
  top: 0;
  left: 100%;
  width: var(--width);
  height: var(--height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  animation: autoRun 10s linear infinite;
  animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s);
  transition: filter 0.5s;
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.5s;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.projects-grid .project-card {
  text-align: center;
  padding: 15px;
}
.project-card {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s ease;
}
.active .project-card {
  transform: translateY(0);
  opacity: 1;
}
.project-card:nth-child(1) {
  transition-delay: 0.2s;
}

.project-card:nth-child(2) {
  transition-delay: 0.4s;
}
.project-card:nth-child(3) {
  transition-delay: 0.6s;
}

.project-card:nth-child(4) {
  transition-delay: 0.8s;
}

.project-card span {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 30px;
  top: 2px;
  height: 40px;
  width: 40px;
  padding: 10px;
  font-size: 15px;
  background: #f2841f;
  border-radius: 50%;
  z-index: 1;
  color: #000;
  font-weight: 700;
  margin-bottom: 100px;
}
.project-card .des {
  font-size: 18px;
  margin-top: 10px;
  font-family: "Aboreto";
  font-weight: bold;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: url(#service-photo-shape);
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

.logos-slider:hover .logo-item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.logos-slider .logo-item:hover {
  filter: grayscale(0);
}

.contact-section {
  min-height: 80vh;
}

.contact-intro {
  max-width: 560px;
  margin: 18px auto 50px;
  color: #000;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
}

.contact-heading {
  max-width: 560px;
}

.contact-heading .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #f2841f;
}

.contact-heading h2 {
  max-width: 470px;
  font-family: "Inter";
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.contact-heading p {
  max-width: 500px;
  margin-top: 20px;
  color: #3d4348;
  font-size: 1.05rem;
  line-height: 1.6;
}

.operation-cities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.city-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 105px;
  padding: 18px;
  border-radius: 15px;
  background: #dce1e4;
  box-shadow: var(--box-shadow);
}

.city-icon {
  display: flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2841f;
  color: #000;
}

.city-card h3 {
  font-size: 1.15rem;
}

.city-card p {
  margin-top: 6px;
  color: #000;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
}

.contact-socials h3 {
  margin: 20px 0;
  font-size: 1rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: flex;
  width: 40px;
  height: 40px;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: #f2841f;
  color: #000;
  transform: translateY(-3px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 18px;
  background: #000;
  color: #fff;
  box-shadow: 12px 12px 0 #f2841f;
}

.form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #f2841f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form label {
  margin-top: 12px;
  color: #dce1e4;
  font-size: 0.82rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ffffff66;
  padding: 12px 0;
  outline: none;
  background: transparent;
  color: #fff;
  font: inherit;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff80;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f2841f;
}

.contact-submit {
  align-self: flex-start;
  gap: 14px;
  margin-top: 25px;
  border: 0;
  cursor: pointer;
  color: #f2841f;
}

.contact-submit i {
  transform: rotate(-45deg);
}

/* RESPONSIVE DESIGN */
header input {
  display: none;
}

header .nav-bi,
header ul label {
  display: none;
}

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

/* ---------- TABLETTES : 1100px et moins ---------- */

@media screen and (max-width: 1100px) {
  header {
    padding: 10px 5%;
  }

  section {
    padding: 100px 8% 50px;
    min-height: auto;
  }

  /* HERO */

  .hero {
    grid-template-columns: 45% 55%;
  }

  .hero-content {
    padding: 30px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  /* ABOUT */

  .container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .container .right {
    max-width: 100%;
    font-size: 17px;
  }

  /* SERVICES */

  .service {
    gap: 30px;
  }

  .service-card {
    flex: 1 1 50%;
  }

  .service-text {
    flex: 1 1 50%;
    max-width: 100%;
  }

  /* PROJECTS */

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CONTACT */

  .contact-layout {
    gap: 50px;
  }
}

/* =========================================================
   TABLETTES / PETITS ÉCRANS : 850px et moins
   ========================================================= */

@media screen and (max-width: 850px) {
  section {
    padding: 90px 7% 45px;
  }

  /* HEADER */

  header {
    padding: 10px 8%;
    position: fixed;
  }

  .logo img {
    width: 105px;
  }

  /*
   * Le bouton menu reste à gauche du logo
   * et l'utilisateur reste à droite.
   */

  header {
    justify-content: space-between;
  }

  header .nav-bi {
    display: flex;
    align-items: start;
    position: absolute;
    left: calc(8% + 100px);
  }

  .nav-bi label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff26;
    cursor: pointer;
  }

  .nav-bi label i {
    font-size: 18px;
  }

  header .icons {
    margin-left: auto;
  }

  /* MENU MOBILE */

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(320px, 80%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 90px 30px 40px;
    background: #dce1e4;
    box-shadow: 10px 0 30px #00000020;
    transition: left 0.4s ease;
    z-index: 20;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 17px 10px !important;
    font-size: 18px;
  }

  .nav-links > label {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dce1e4;
    box-shadow: var(--box-shadow);
    color: #000;
    cursor: pointer;
  }

  #menu-bar:checked ~ .nav-links {
    left: 0;
  }

  /* HERO */

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 20px 10px 40px;
    order: 1;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(2.8rem, 7vw, 4rem);
  }

  .hero p {
    max-width: 600px;
  }

  .picture {
    height: 100%;
    width: 100%;
    padding: 10px;
    order: -1;
  }

  /*
   * Ton clip-path est conservé.
   */
  .picture img {
    width: 100%;
    height: 100%;
  }

  /* ABOUT */

  .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .container .left {
    width: 100%;
  }

  .container .left img {
    width: min(100%, 600px);
  }

  .container .right {
    max-width: 700px;
    margin: auto;
    font-size: 17px;
  }

  .container .stats {
    justify-content: center;
  }

  /* SERVICES */

  .service,
  .service-right {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .service-card {
    width: 100%;
  }

  .service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .service-text {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }

  /* PROJECTS */

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* CONTACT */

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-details {
    max-width: 700px;
  }

  .contact-heading h2 {
    max-width: 650px;
  }

  .contact-form {
    width: 100%;
    max-width: 700px;
  }

  .operation-cities {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   MOBILES : 600px et moins
   ========================================================= */

@media screen and (max-width: 600px) {
  section {
    padding: 75px 6% 40px;
  }

  /* HEADER */

  header {
    padding: 9px 18px;
  }

  .logo img {
    width: 95px;
  }

  .icons i,
  .nav-bi label {
    width: 38px;
    height: 38px;
  }

  /* TITRES */

  .title {
    font-size: 2rem;
  }

  /* HERO */

  .hero {
    margin-top: 15px;
  }

  .hero-content {
    padding: 20px 0 35px;
  }

  .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 25px;
  }
  .hero {
    margin-top: 30px;
  }

  .btn.primary {
    padding: 0 20px;
  }

  .picture {
    height: 100%;
    width: 100%;
    padding: 5px;
  }

  /* ABOUT */

  .container {
    margin-top: 35px;
    gap: 35px;
  }

  .container .left img {
    width: 100%;
  }

  .container .right {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

  .container .stats {
    margin-top: 30px;
    gap: 15px;
    flex-wrap: wrap;
  }

  .stats .table-box {
    width: calc(50% - 8px);
    min-width: 140px;
    height: 110px;
    padding: 16px;
  }

  .stats .stat-number {
    font-size: 1.3rem;
  }

  .stats .stat-label {
    font-size: 0.65rem;
  }

  /* SERVICES */

  .services-intro {
    margin: 30px auto 40px;
    font-size: 1.15rem;
    line-height: 1.5;
    max-width: 500px;
  }

  .service-wrapper {
    margin-top: 35px;
  }

  .service {
    margin-bottom: 45px;
    gap: 20px;
  }

  .service-card img {
    height: 100%;
    width: 100%;
  }

  .service-text {
    padding: 20px;
  }

  .service-icon {
    width: 45px;
    height: 45px;
  }

  .service-icon i {
    font-size: 20px;
  }

  .service-text h3 {
    margin: 17px 0 12px;
    font-size: 1.25rem;
  }

  .service-text p {
    font-size: 0.92rem !important;
    line-height: 1.65;
  }

  /* PROJECTS */

  .projects-wrapper {
    margin-top: 35px;
  }

  .logos-slider {
    margin-top: 25px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 30px;
  }

  .projects-grid .project-card {
    padding: 10px;
  }

  .project-card span {
    left: 20px;
    top: 0;
  }

  .project-card img {
    width: 100%;
    height: 100%;
  }

  .project-card .des {
    font-size: 15px;
    line-height: 1.5;
  }

  /* CONTACT */

  .contact-section {
    min-height: auto;
  }

  .contact-intro {
    margin: 18px auto 40px;
    font-size: 1rem;
  }

  .contact-layout {
    gap: 45px;
  }

  .contact-heading {
    max-width: 100%;
  }

  .contact-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .contact-heading p {
    font-size: 0.95rem;
  }

  .operation-cities {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .city-card {
    min-height: 90px;
    padding: 15px;
  }

  .contact-socials h3 {
    margin: 10px 0 18px;
  }

  .social-links {
    gap: 10px;
  }

  .contact-form {
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 8px 8px 0 #f2841f;
  }

  .contact-submit {
    width: 100%;
    align-self: stretch;
  }
}

/* =========================================================
   PETITS MOBILES : 400px et moins
   ========================================================= */

@media screen and (max-width: 400px) {
  section {
    padding: 65px 5% 35px;
  }

  header {
    padding: 8px 14px;
  }

  .logo img {
    width: 85px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .picture {
    height: 100%;
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn.primary {
    flex: 1;
  }

  .icon-btn {
    flex: 0 0 52px;
  }

  .stats .table-box {
    width: 100%;
  }

  .service-card img {
    height: 100%;
    width: 100%;
  }

  .project-card img {
    height: 100%;
    width: 100%;
  }

  .contact-form {
    padding: 22px 17px;
  }

  .form-topline {
    font-size: 0.7rem;
  }
}
