@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --light-bg: #eef1f6;
  --dark-bg: #858da2;
  --text-dark: #000;
  --text-light: #6d7382;
  --color-primary: #B8860B;
}
::selection {
  background: #f0d8be55;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  outline: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  font: 400 18px "Inter", sans-serif;
  background: #fff;
  color: var(--text-light);
}
a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

h1 {
  margin: 0 0 20px 0;
  font-weight: 800;
  font-size: 80px;
  letter-spacing: -3px;
  color: var(--text-dark);
  line-height: 1.3em;
}
h2 {
  margin: 0 0 20px 0;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -1px;
  color: var(--text-dark);
  line-height: 1.3em;
}
h3 {
  margin: 0 0 20px 0;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  line-height: 1.4em;
}
h4 {
  margin: 0 0 20px 0;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: var(--text-light);
  line-height: 1.4em;
}
p {
  margin: 0 0 20px;
  line-height: 1.8em;
}
strong {
  color: var(--text-dark);
}

section h2::before {
  content: " ";
  display: block;
  clear: both;
  border-left: 1px solid var(--text-dark);
  height: 50px;
  width: 1px;
  margin: 0 0 30px;
}
section h2 {
  font-size: 58px;
  letter-spacing: -1px;
}
.intro h3::before,
.solutions h3::before {
  content: " ";
  display: block;
  clear: both;
  border-left: 1px solid var(--text-dark);
  height: 30px;
  width: 1px;
  margin: 0 0 30px;
}

.img {
  width: 100%;
  height: 425px;
  background: var(--dark-bg);
}

header {
  position: relative;
  background: linear-gradient(var(--light-bg), #fff);
}
body.page header {
  background: var(--light-bg);
  height: auto;
}

.x:before,
.x:after {
  content: " ";
  display: table;
}
.x:after {
  clear: both;
}

/* animations */
.animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}
.animate.appear {
  opacity: 1;
  transform: translateY(0px);
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

.button,
input[type="submit"] {
  display: inline-block;
  background: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 18px 34px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.button:hover,
input[type="submit"]:hover {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  padding: 18px 44px;
}

.button svg {
  float: right;
  margin: 5px 0 0 10px;
  width: 30px;
  stroke: #fff;
}

.logo {
  float: left;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 20px 0 0;
}
.logo span {
  color: var(--color-primary);
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.3s ease-out 0s;
  padding: 0 3%;
  height: 90px;
  z-index: 25;
}
nav.sticky {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: -2px 3px 90px -20px rgb(0 0 0 / 25%);
}

.menu {
  float: right;
  margin: 32px 0 0;
}
.menu li {
  display: inline;
  font-size: 17px;
}
.menu li a {
  float: left;
  margin: 0 0 0 55px;
}

.menu li a.button {
  font-weight: 500;
  text-transform: none;
  padding-top: 7px;
}

/* insta logo */

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 30px;
  margin-top: 32px;
  float: right;
}

.social-icons img {
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  /* filter: brightness(0) invert(1); rend les logos blancs si fond sombre */
}

.social-icons img:hover {
  transform: scale(1.15);
  opacity: 0.75;
}





.c {
  clear: both;
  position: relative;
  margin: 0 auto;
  max-width: 1300px;
}
section {
  padding: 120px 0;
}

.pitch-caption {
  position: absolute;
  bottom: -20%;
  left: auto;
  z-index: 0;
  font-size: 600px;
  font-weight: 800;
  letter-spacing: -10px;
  color: #eef1f6;
}

.pitch {
  padding: 150px 0;
  width: 100%;
  z-index: 10;
}
.pitch-left {
  padding: 100px 0 0;
}
.pitch h1 {
  float: left;
  display: inline;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--color-primary);
  color: var(--text-dark);
  font-size: 280px;
  letter-spacing: -10px;
  line-height: 0.4em;
}
.pitch h1 span {
  color: var(--text-dark);
  color: var(--color-primary);
  font-size: 88px;
  letter-spacing: -3px;
}
.subline {
  width: 40%;
  margin: 0 0 60px 0;
  font-size: 20px;
  color: var(--text-light);
}

.half {
  float: left;
  width: 46%;
}
.half.last {
  float: right;
}
.offset {
  position: relative;
  margin-top: 73px;
}

/* intro section */
.intro {
  padding: 0;
}
.intro .half {
  margin: 0 0 40px;
}
.intro .img {
  background: var(--light-bg);
}

/* solutions section */
.solutions {
  position: relative;
}
.solutions h2 {
  margin-bottom: 140px;
}
.solutions h4 {
  font-size: 36px;
  color: var(--text-dark);
}
.solutions .half {
  margin-bottom: 120px;
}
.solutions .icon {
  float: right;
  width: 170px;
  margin: 0 0 20px 0;
}
.solutions .icon svg {
  width: 100%;
  stroke: var(--color-primary);
}
.solutions .half.last .icon {
  float: left;
}
.solutions .half .text {
  padding-left: 25%;
  width: 75%;
}
.solutions .half.last .text {
  padding-left: 0;
  width: 75%;
}

/* video section */
/* .video {
  position: relative;
}
.video .bg {
  background: var(--light-bg);
  position: absolute;
  top: 0;
  right: 0;
  left: 56%;
  bottom: 0;
} */

/* contact section */
.contact {
  position: relative;
}
.contact-subtitle {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
}

/* footer */
footer {
  clear: both;
  padding: 80px 0 100px;
  font-size: 17px;
  margin: 0;
  background: #fff;
}
footer .logo {
  margin: 0 0 40px;
}
footer .copy {
  clear: both;
  float: left;
  width: 30%;
  font-size: 16px;
}
footer .legal {
  float: right;
  width: 10%;
}
footer .legal a {
  color: var(--text-dark);
}

/* scroll to top arrow */
.scroll-top {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  right: 30px;
  width: 22px;
  height: 22px;
  padding: 8px;
  transition: all 0.3s ease-out;
  opacity: 0;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0px 0px 35px 0px #97a7af55;
}
.scroll-top svg {
  width: 100%;
}

.slide-up {
  animation: slide-up 1.4s ease both;
  animation-delay: 0.1s;
}
.slide-up-slow {
  animation: slide-up 1s ease both;
  animation-delay: 0.5s;
}
@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* mobile definitions */
@media only screen and (max-width: 640px) {
  html {
    width: 100%;
  }
  body {
    font-size: 19px;
  }

  section h2 {
    font-size: 40px;
  }
  .c {
    width: 80%;
    padding: 0 10%;
  }
  .offset {
    margin-top: 0;
  }
  .img {
    height: 350px;
  }

  .social-icons {
    justify-content: center;
    margin: 20px 0 0;
  }
  

  
  @keyframes fadeAppear {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .logo {
    margin: 18px 0 0;
  }
  nav {
    padding: 0 10%;
    height: 80px;
  }

  .menu-icon {
    position: absolute;
    top: 30px;
    right: 10%;
    width: 30px;
    height: 27px;
    cursor: pointer;
    z-index: 30;
    transition: transform 1s ease-in;
  }
  .menu-icon span {
    display: block;
    position: absolute;
    height: 1px;
    right: 0;
    opacity: 1;
    transition: 0.25s ease-in-out;
    background: var(--text-dark);
  }
  .menu-icon.active span {
    background: #fff;
  }
  .menu-icon span:nth-child(1) {
    top: 0;
    width: 50%;
  }
  .menu-icon span:nth-child(2) {
    top: 10px;
    width: 75%;
  }
  .menu-icon span:nth-child(3) {
    top: 20px;
    width: 100%;
  }
  .menu-icon.active span:nth-child(1) {
    width: 100%;
    top: 12px;
    transform: rotate(135deg);
  }
  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.active span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
  }

  body.menu-active {
    position: fixed;
    width: 100%;
  }
  .menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    background: var(--text-dark);
    padding: 50% 10% 16%;
    opacity: 0;
    z-index: 20;
    box-sizing: border-box;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
  }
  .menu.active {
    display: block;
    opacity: 1;
    pointer-events: all;
  }
  .menu li {
    font-size: 40px;
    font-weight: 700;
  }
  .menu li a {
    float: none;
    display: block;
    margin: 0 0 20px;
    padding: 0;
    color: #fff;
  }

  .pitch-caption {
    bottom: -10%;
    left: -50px;
    font-size: 300px;
  }
  .pitch h1 {
    font-size: 80px;
    letter-spacing: -2px;
    margin: 0 0 20px;
    line-height: 1.4em;
  }
  .pitch h1 span {
    display: block;
    font-size: 34px;
    letter-spacing: -0.5px;
    line-height: 1.2em;
  }
  .pitch p.subline {
    width: 100%;
    font-size: 16px;
    margin: 0 0 40px;
  }

  .half,
  .half.last {
    float: none;
    width: 100%;
  }

  .solutions h2 {
    margin-bottom: 0;
  }
  .solutions .half .icon,
  .solutions .half.last .icon {
    float: left;
    display: block;
    width: 50px;
    margin: 50px 0 40px;
  }
  .solutions h4 {
    clear: both;
    font-size: 28px;
  }
  .solutions .half {
    margin-bottom: 40px;
  }
  .solutions .half .text,
  .solutions .half.last .text {
    padding-left: 0;
    width: 100%;
  }

  footer {
    padding: 100px 0 90px 0;
  }
  footer .logo,
  footer .copy,
  footer .legal {
    float: none;
    width: 100%;
  }
}
