/* Styles généraux */

/* Font Imports */
@font-face {
  font-family: "OverusedGrotesk-Light";
  font-weight: 300;
  src: url("/assets/fonts/OverusedGrotesk-Light.woff2") format("woff2"),
    url("/assets/fonts/OverusedGrotesk-Light.woff") format("woff"),
    url("/assets/fonts/OverusedGrotesk-Light.ttf") format("truetype");
}
@font-face {
  font-family: "OverusedGrotesk-Regular";
  font-weight: 400;
  src: url("/assets/fonts/OverusedGrotesk-Roman.woff2") format("woff2"),
    url("/assets/fonts/OverusedGrotesk-Roman.woff") format("woff"),
    url("/assets/fonts/OverusedGrotesk-Roman.ttf") format("truetype");
}
@font-face {
  font-family: "OverusedGrotesk-SemiBold";
  font-weight: 600;
  src: url("/assets/fonts/OverusedGrotesk-SemiBold.woff2") format("woff2"),
    url("/assets/fonts/OverusedGrotesk-SemiBold.woff") format("woff"),
    url("/assets/fonts/OverusedGrotesk-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "OverusedGrotesk-Bold";
  font-weight: 700;
  src: url("/assets/fonts/OverusedGrotesk-Bold.woff2") format("woff2"),
    url("/assets/fonts/OverusedGrotesk-Bold.woff") format("woff"),
    url("/assets/fonts/OverusedGrotesk-Bold.ttf") format("truetype");
}

/* Variables */
:root {
  --primary-color: #053333;
  --secondary-color: #c7f266;
  --padding-20: 20px;
  --padding-16: 16px;
}

body {
  font-family: "OverusedGrotesk-Regular", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

html,
body {
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: center;
}

header {
  padding: var(--padding-20);
  background-color: white;
  border-bottom: 1px solid #f1f1f1;
}

.logo {
  width: 120px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 8px;
}

.hero-image img {
  width: 100%;
  max-width: 250px;
}

.hero-text {
  max-width: 600px;
  text-align: left;
  padding-left: var(--padding-16);
  padding-right: var(--padding-16);
}

.hero-text h1 {
  font-size: 44px;
  color: #000;
  font-family: "OverusedGrotesk-SemiBold", sans-serif;
  line-height: 50px;
  letter-spacing: -1.5px;
}

.hero-text p {
  font-size: 16px;
  color: #333;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 10px 0;
  font-size: 16px;
}

/* Form */
#contact-form {
  display: block;
  width: 100%;
  text-align: left;
}
.form-container,
.contact-form {
  display: flex;
  flex-direction: column;
}
.form-container input,
textarea {
  display: block;
  width: 100%;
  padding: 16px var(--padding-20);
  flex: 1;
  border: 0;
  background-color: #f1f1f1;
  border-radius: 8px;
  margin: 12px 0;
  box-sizing: border-box;
}

button {
  display: block;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 14px var(--padding-20);
  margin: 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: var(--primary-color);
}
p.privacy {
  font-size: 12px;
  font-weight: 100;
}

/* Success Message */
.success-message {
  display: none;
  font-size: 18px;
  color: #026d3d;
  margin-top: 20px;
}

.hero-subtitle {
  font-size: 20px !important;
  font-weight: normal;
  line-height: 24px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 30px;
  letter-spacing: -1.5px;
}

footer {
  border-top: 1px solid #f1f1f1;
  background-color: #fff;
  padding: 16px;
  /* flex-direction: row-reverse; */
}

.footer-nav,
.copyright {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  row-gap: 8px;
}
.footer-nav a {
  color: #000;
  text-decoration: none;
}

::placeholder {
  font-size: 16px;
  font-weight: 400;
  font-family: "OverusedGrotesk-Light", sans-serif;
}
input:focus,
textarea:focus {
  outline: 1px solid var(--primary-color);
}

.features li {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
}
.features li .icon {
  display: block;
}
#feedback-form {
  width: 100%;
  text-align: left;
}

#feedback-form label {
  padding-top: 8px;
  padding-bottom: 8px;
}

.contact-page-hero,
.contact-page-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 8px;
}

/* Responsive Design */
@media screen and (min-width: 769px) {
  html,
  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    height: 100vh;
  }

  .hero {
    display: flex !important;
    flex-direction: row !important;
    column-gap: 54px;
    align-items: center;
    justify-content: center;
    padding: 30px 8px;
    /* background-color: red !important; */
  }

  .hero-image {
    max-width: 50% !important;
    width: 350px;
  }

  .hero-image img {
    width: 100%;
    max-width: 300px;
  }

  .hero-text {
    width: 50% !important;
    max-width: 600px;
    text-align: left;
    padding-left: var(--padding-16);
    padding-right: var(--padding-16);
    flex: 1;
  }
  h2,
  form#feedback-form {
    width: 50% !important;
    max-width: 600px;
  }

  .form-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-items: center;
    column-gap: 16px;
    margin-top: 20px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-page-content {
    max-width: 600px;
  }

  input {
    width: 70%;
    font-size: 16px;
  }
  button {
    width: auto;
  }

  footer {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  .footer-nav,
  .copyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
  }
}

@media screen and (min-width: 768px) and (max-width: 769px) {
  h2,
  form#feedback-form {
    width: 100% !important;
    max-width: 600px;
  }
}
