/* ============================= */
/* RESET / BASE                 */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px */
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
  }

  :root {
    --primary-color: #2563eb;
  }

  @font-face {
    font-family: 'ClashDisplay-Variable';
    src: url('./fonts/ClashDisplay-Variable.woff2') format('woff2');
        font-weight: 200 700;
        font-display: swap;
        font-style: normal;
  }
  
  
  @font-face {
    font-family: 'ClashDisplay-Extralight';
    src: url('./fonts/ClashDisplay-Extralight.woff2') format('woff2');
         font-weight: 200;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'ClashDisplay-Light';
    src: url('./fonts/ClashDisplay-Light.woff2') format('woff2');
         font-weight: 300;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'ClashDisplay-Regular';
    src: url('./fonts/ClashDisplay-Regular.woff2') format('woff2');
         font-weight: 400;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'ClashDisplay-Medium';
    src: url('./fonts/ClashDisplay-Medium.woff2') format('woff2');
         font-weight: 500;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'ClashDisplay-Semibold';
    src: url('./fonts/ClashDisplay-Semibold.woff2') format('woff2');
         font-weight: 600;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'ClashDisplay-Bold';
    src: url('./fonts/ClashDisplay-Bold.woff2') format('woff2');
         font-weight: 700;
         font-display: swap;
         font-style: normal;
  }
  
  /* ============================= */
  /* LAYOUT UTILITY CLASSES       */
  /* ============================= */
  
  .container {
    max-width: 970px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-content: center;
  }

  .flex {
    display: flex;
    gap: 1rem;
  }
  
  .grid {
    display: grid;
    gap: 1rem;
  }
  
  .text-center {
    text-align: center;
  }
  
  .hidden {
    display: none;
  }
    
  
  /* ============================= */
  /* HEADINGS                     */
  /* ============================= */
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'ClashDisplay-Variable';
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: .5px;
  }
  
  h1 { 
    font-size: 3rem; 
    line-height: 1.1em;
  }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  /* ============================= */
  /* NAVBAR                        */
  /* ============================= */

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    width: 100%;
    margin: 0;
    top: 0;
    height: 64px;
    position: fixed;
    z-index: 99;
    background-image: linear-gradient(180deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7));
    backdrop-filter: saturate(170%) blur(30px);
    border-bottom: 1.5px solid #f3f3f3;;
  }
  
  .logo {
    font-weight: bold;
    font-size: 22px;
    font-family: 'ClashDisplay-Semibold';
    display: flex;
    flex-flow: row;
    align-items: center;
  }

  .logo img {
    width: 46px;
    height: 46px;
    /* padding-bottom: 2px; */
  }
  
  .nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: var(--primary-color);
  }
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* ============================= */
  /* LINKS & BUTTONS              */
  /* ============================= */
  
  a {
    color: var(--primary-color);
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  
  button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    gap: .4rem;
  }
  
  button:hover {
    background: #005fa3;
  }

  button img {
    height: 16px;
  }

  b {
    font-weight: 700;
  }
  
  /* ============================= */
  /* IMAGES & MEDIA               */
  /* ============================= */
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  section {
    padding: 6rem 0 6rem 0;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    align-items: center;
  }

  .ellipses {
    /* position: relative;
    padding: 6rem 2rem;
    background: #0f0f11;
    overflow: hidden; */

    z-index: -1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    display: flex
;
    position: absolute;
    inset: 0%;
    opacity: 0.3;
  }

 .circle {
    position: absolute;
    pointer-events: none;
    z-index: 0;
  }
  
  /*  .circle-1 {
    top: -300px;
    left: -300px;
    width: 1200px;
    opacity: 0.05;
  }
  
  .circle-2 {
    bottom: -200px;
    right: -200px;
    width: 1000px;
    opacity: 0.03;
  }
  
  .ellipses > *:not(.circle) {
    position: relative;
    z-index: 1;
  } */

  header .header {
    align-items: center;
    text-align: center;
    max-width: 560px;
    display: flex;
    flex-flow: column;
    gap: 16px;
    padding-bottom: 6rem;
    padding-top: calc(6rem + 64px);
  }

  header .header {
    gap: 40px;
  }

  header .header p {
    color: #5e5f6e;
    font-weight: 100;
  }

  .div-preheader {
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    border: 1px solid #f3f3f3;
    border-radius: 99999px;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 6px 14px;
    display: flex;
    font-size: 14px;
    font-weight: 100;
    color: #5e5f6e;
  }

  .div-preheader .dot {
      background-color: var(--primary-color);
      border-radius: 99999px;
      width: 8px;
      height: 8px;
      box-shadow: 0 0 5px #8549ff33;
  }

  .div-header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 560px;
    padding-bottom: 40px;
    text-align: center;
  }

  .div-header p {
    color: #5e5f6e;
    font-weight: 100;
  }

  .div-cta {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 1rem;
  }

  .div-cta .special-offer {
    color: #5e5f6e;
    font-size: 14px;
    display: flex;
    align-items: center;
  }

  .emphasis {
    color: var(--primary-color);
    /* text-decoration: underline; */
    /* font-weight: 500; */
    /* font-style: italic; */
  }

  .trust-companies {
    display: flex;
    flex-flow: column;
    font-weight: 100;
  }

  .trust-companies .logos {
    display: flex;
    flex-flow: row;
    gap: 2rem;
  }

  .trust-companies .logos img {
    max-width: 92px;
  }

  .benefits .grid-2x2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(50px, 1fr));
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 12px;
    /* margin-top: 2rem; */
  }
  
  .benefits .card {
    background: #f3f3f3;
    padding: 1.5rem;
    border-radius: 24px;
    font-size: 16px;
    width: 210px;
    height: 210px;
    display: flex;
    flex-flow: column;
    gap: 12px;
  }

  .benefits .card .icon {
    width: 32px;
    height: 32px;
  }

  .benefits .card .header {
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    line-height: 1.2em;
    padding-bottom: 0;
  }

  .benefits .card .text {
    font-size: 14px;
    font-weight: 100;
    text-align: left;
    line-height: 1.1em;
  }

/* test scroll */
  /* .scroll-gallery {
    display: flex;
    gap: 1rem;
    height: 600px;
    overflow: hidden;
    padding: 2rem;
  } */
  
  .scroll-column {
    flex: 1;
    /* overflow: hidden; */
    position: relative;
    /* top: -20%; */

    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
  }

  .wrapper-column {
    display: flex;
    gap: 1rem;
  }
  
  .item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .item img {
    width: 100%;
    display: block;
    object-fit: cover;
  }

  .scroll-gallery {
    position: relative;
    display: flex;
    gap: 1rem;
    height: 600px;
    overflow: hidden;
    padding: 2rem;
    margin-bottom: 7rem;
  }

  .scroll-gallery img {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
  }
  
  /* Dégradé haut */
  .scroll-gallery::before,
  .scroll-gallery::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 10;
    pointer-events: none;
  }
  
  /* .scroll-gallery::before {
    top: 0;
    background: linear-gradient(to bottom, white, transparent);
  }
  
  .scroll-gallery::after {
    bottom: 0;
    background: linear-gradient(to top, white, transparent);
  } */

  .border {
    border: 2px solid #f3f3f3;
    border-radius: 24px;
  }

  .wrapper-testimonial {
    max-width: 400px;
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 24px;
  }

  .testimonial .author {
    display: flex;
    flex-flow: row;
    gap: 12px;
    padding-top: 10px;
  }

  .testimonial .name {
    font-size: 14px;
    font-weight: 100;
    line-height: 1.3rem;
  }

  .testimonial .name span {
    font-weight: 600;
  }

  .testimonial img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
  }

  .testimonial .text {
    color: #5e5f6e;
    font-size: 16px;
    font-style: italic;
    font-weight: 100;
    text-align: center;
  }

  .packages .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 12px;
    width: 100%;
    height: 50vh;
  }

  .packages .cards .card {
    height:100%;
    background: #f3f3f3;
    padding: 1.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
  }

  .packages .cards .card .card-header {
    font-size: 24px;
    font-weight: 700;
  }

  .packages .cards .card .card-ul {
    display: flex;
    flex-flow: column;
    gap: 8px;
  }

  .packages .cards .card .card-li {
    display: flex;
    flex-flow: row;
    gap: .3em;
    align-items: flex-start;
    line-height: 1.5rem;
  }

  .packages .cards .card .card-li.no-check {
    color: #8c8c8c;
  }

  .packages .cards .card .card-li img {
    width: 24px;
  }

  .packages .cards .card .card-footer  {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 6px;
  }

  .packages .cards .card .card-footer .card-price {
    font-size: 14px;
    font-weight: 500;
  }

  .packages .cards .card .card-footer button {
    width: 90%;
  }

  .about-us .founder {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
    align-items: center;
    font-size: 14px;
    color: #5e5f6e;
  }

  .about-us img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
  }

  .wrapper-process {
    max-width: 560px;
    display: flex;
    flex-flow: column;
    align-items: center;
  }

  .process .steps {
    display: flex;
    flex-flow: column;
    gap: 3.5rem;
  }

  .process .step {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 12px;
  }
  
  .process .step-number {
    font-family: 'ClashDisplay-Variable';
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }

  .process .step-content  {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 12px;
    max-width: 70%;
  }
  
  .process .step-content h4 {
    font-weight: 600;
    font-size: 17px;
  }
  
  .process .step-content p {
    font-size: 16px;
    color: #5e5f6e;
    font-weight: 100;
    line-height: 1.3;
    text-align: center;
  }

  .usecases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* gauche 1/3, droite 2/3 */
    gap: 2rem;
    align-items: start;
  }
  
  .usecases-grid .left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: calc(400px + 6px);
  }
  
  .usecases-grid .card {
    background: #f3f3f3;
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    transition: 0.3s ease;
    font-size: 17px;
    font-weight: 600;

    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 1rem;
  }

  .usecases-grid .card img {
    width: 64px;
    height: 64px;
  }

  .usecases-grid .card .text {
    display: flex;
    flex-flow: column;
    gap: .2rem;
  }

  .usecases-grid .card .text .title {

  }

  .usecases-grid .card p {
    font-size: 14px;
    font-weight: 100;
    line-height: 1.2em;
  }
  
  .usecases-grid .right {
    border-radius: 16px;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    overflow: hidden;
    height: 400px;

    /* border: 1px solid #f3f3f3; */
    outline: 3px solid #f3f3f3;
  }

  .usecases-grid .right:hover {
    outline: 3px solid #f3f3f3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  }

  .usecases-grid .right img {
    transform: scale(1.02, 1);
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
    backface-visibility: hidden;
  }

  .usecases-grid .right img:hover {
    transform: scale(1.05) rotate(2deg) translateX(-15px) translateY(15px);
    /* transform-style: preserve-3d;
    transition: transform 0.2s ease-out; */
  }

  .services .wrapper-services {
    display: grid;
    grid-template-columns: repeat(4,minmax(50px,1fr));
    grid-template-rows: repeat(3,minmax(50px,1fr));
    padding: 2rem;
    gap: 12px;
    width: 100%;
    height: 50vh;
  }

  .services .card {
    height: 100%;
    background: #f3f3f3;
    padding: 1.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    line-height: normal;
  }

  .services .card.col-span-2 {
    grid-column: span 2;
  }

  .services .features-list {
    grid-column: span 2;
    grid-row: span 3;
  }

  .services .features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .services .features-list li {
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .services .features-list li.grey{
    color: #8c8c8c;
  }

  .services .features-list li img {
    width: 28px;
    height: 28px;
  }
  
  .services .badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-weight: 500;
    border: 1px solid #8c8c8c;
    color: #8c8c8c;
  }

  .services .card.card-solo{
    gap: 0px;
    font-size: 16px;
    justify-content: flex-start;
    font-weight: 100;
    background: var(--primary-color);
    color: #fff;
  }

  .services .card.card-solo .emphasis{
    color: #fff;
    font-weight: 700;
  }

  .services .card .card-header{
    font-size: 32px;
    font-weight: 600;
    font-family: 'ClashDisplay-Variable';
    letter-spacing: .5px;
  }

  .contact-us {
    gap: 0;
  }

  form {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  input,
  textarea {
    padding: 1rem;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s ease;
    resize: none;
    font-family: inherit;
    width: 100%;
    background: #f3f3f3;
    border: none;
  }
  
  input::placeholder,
  textarea::placeholder {
    color: #8c8c8c;
    font-family: inherit;
    font-size: inherit;
  }
  
  input:focus,
  textarea:focus {
    outline: none;
  }
  
  .contact-us button {
    border: none;
    padding: .7rem;
    font-weight: 500;
    font-size: 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  footer {
    /* height: 20vh; */
    /* background-color: #222; */
    color: #222;
    border-top:2px solid #f3f3f3;
  }

  footer img {
    width:100%;
  }

  footer .wrapper-footer .logo img{
    width: 80px;
    height: 80px;
  }
  
  footer .wrapper-footer {
    padding: 3rem 0;
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
  }
  
  
  /* ============================= */
  /* RESPONSIVE UTILITIES         */
  /* ============================= */
  
  @media (max-width: 768px) {
    /* html {
      font-size: 90%;
    }
  
    .flex {
      flex-direction: column;
    }
  
    .grid {
      grid-template-columns: 1fr;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      width: 200px;
      padding: 1rem;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }

    .grid-2x2 {
      grid-template-columns: 1fr;
    } */
  }
  
  @media (max-width: 480px) {
    html {
    }

    body {
    }

    section {
      padding: 2rem 0 2rem 0;
      /* margin: 3rem 0 3rem 0; */
    }

    .border {
      margin: 2rem 0 2rem 0;
    }
  
    h1 {
      font-size: 36px;
    }

    .container {
      align-items: center;
    }

    .navbar {
      justify-content: center;
      position: relative;
    }
    
    .navbar button {
      display: none;
    }

    .ellipses :first-child {
      display: none;
    }
    
    .ellipses img{
      width: 95%;
      /* top: 60px; */
    }

    .header {
      padding-bottom: calc(2 * 1.5rem);
      padding-top: 0;
    }
    
    header .header {
      padding-top: calc(.2rem + 64px);
      padding-bottom: 50px;
      gap: 60px;
    }

    .div-header {
      padding-bottom: 0;
    }

    .div-cta {
      gap: .5rem;
    }

    .trust-companies .logos {
      padding-top: .5rem;
      grid-column-gap: 2rem;
      grid-row-gap: .5rem;
      grid-template-rows: auto auto;
      grid-template-columns: 1fr 1fr;
      grid-auto-columns: 1fr;
      place-items: center;
      max-height: none;
      display: grid;
    }

    .scroll-gallery {
      height: 30vh;
      padding:0;
      margin-bottom: 2rem;
    }

    .testimonial {
      padding: 1.5rem;
    }

    .benefits .grid-2x2 {
      grid-template-columns: repeat(1, minmax(50px, 1fr));
    }

    .benefits .card {
      width: 90%;
      margin: 0 auto;
      height: 100%;
    }

    .benefits .card .header {
      align-items: flex-start;
    }

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

    .usecases-grid .right {
      order: -1;
    }

    .usecases-grid .left {
      height: 100%;
    }

    .usecases-grid .card .text .title {
      line-height: normal;
    }
    
    .services .wrapper-services {
      grid-template-columns: repeat(2, minmax(50px, 1fr));
      grid-template-rows: repeat(3);
      height: 100%;
      padding: 0;
    }

    .process {
      padding: 1.5rem;
    }

    .process .step-content {
      max-width: 90%;
    }

    .container {
      max-width: 100%;
      margin: 0 auto;
      padding: 0 1rem;
      justify-content: center;
    }
  }