@import url('variables.css');

@font-face {
  font-family: 'Brandon Text';
  src: url('../fonts/BrandonText/HVD Fonts - BrandonText-Regular.otf') format("opentype");
}
@font-face {
  font-family: 'Brandon Text Bold';
  font-weight: bold;
  src: url('../fonts/BrandonText/HVD Fonts - BrandonText-Bold.otf') format("opentype");
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans/OpenSans-Regular.ttf') format("truetype");
}

body {
  margin: 0;
  overflow-x: hidden;
}
.container {
  width: 100vw;
}
.main {
  background: var(--gradient-main);
}
.main div {
  z-index: 2;
}
.mobile {
  display: none;
}
.social-buttons.mobile {
  display: none;
}
.logo {
  height: 90px;
  margin-top: 25px;
  margin-left: 10vw;
}
.main .header {
  display: flex;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  box-shadow: var(--shadow-soft);
}
.header div {
  flex: 1;
  margin: auto;
  z-index: 3;
}
h1 {
  font-family: 'Brandon Text Bold';
  color: white;
  font-size: 60px;
  user-select: none;
  font-weight: 200;
  line-height: 70px;
}
h1 .heading-orange {
  color: var(--color-orange);
}
.download-links img:first-child {
  margin-top: 20px;
  margin-right: 22px;
}
.about-app div {
  flex: 1;
}
.about-app {
  display: flex;
  padding-left: 10vw;
  padding-right: 10vw;
  position: relative;
}
.about-app::before{
  content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    position: absolute;
    background-image: url(../images/plane-only-white.svg);
    background-repeat: no-repeat;
    background-size: 130vw auto;
    background-position: bottom 40px left -30px;
    opacity: 0.3;
}
.about-app div:last-child {
  align-self: end;
}
.large-mockup {
  height: 780px;
  display: block;
  margin: auto;
  margin-top: -100px;
  margin-bottom: -45px;
}
.mobile .large-mockup {
  width: 115%;
  margin-top: -10vw;
  margin-bottom: -10vw;
  margin-left: -3vw;
  height: auto;
}
.about-app .description {
  color: white;
  font-family: 'Brandon Text';
  font-size: 40px;
  margin-right: 14vw;
}
.app-availability {
  color: white;
  font-family: 'Brandon Text';
  font-size: 20px;
  margin-top: 20px;
  margin-right: 14vw;
}
.download-app {
  color: white;
  font-family: 'Brandon Text';
  font-size: 18px;
  margin-top: 30px;
}
.download-links img {
  width: 200px;
}
.navigation-buttons {
  display: flex;
}
.navigation-buttons a.button {
  display: block;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  width: fit-content;
  margin-right: 10vw;
}
.social-buttons {
  display: flex;
  flex-direction: row-reverse;
}

.social-buttons img {
  height: 20px;
  display: block;
  margin: auto;
  margin-top: 7px;
}

.social-buttons img.twitter-icon {
  height: 17px;
  margin-top: 10px;
  margin-right: 7px;
}

.social-buttons a {
  background-color: white;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  margin-right: 20px;
  transition: 0.25s all linear;
  box-shadow: var(--shadow-soft);
}
.social-buttons a:hover {
  background-color: rgba(255, 255, 255, 0.377);
}
.social-buttons a:first-child {
  margin-right: 40px;
}
.separator {
  color: white;
  opacity: 0.2;
  margin: 30px;
  margin-left: 10vw;
  margin-right: 10vw;
}
.features-app {
  padding-bottom: 20px;
}
.features-app h2 {
  font-family: 'Brandon Text Bold';
  color: white;
  font-size: 40px;
  user-select: none;
  font-weight: 200;
  line-height: 70px;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
}
.features-app .description {
  color: white;
  font-family: 'Brandon Text';
  font-size: 20px;
  margin-top: 15px;
  text-align: center;
  margin-left: 18vw;
  margin-right: 18vw;
  margin-bottom: 25px;
}
.features-app .demo {
  display: flex;
  overflow: hidden;
}
.demo .mockup {
  flex: 9;
  text-align: center;
}
.mockup img {
  width: 37%;
  margin-right: -18%;
}
.mockup img:not(:last-child):not(:first-child) {
  position: relative;
  width: 45%;
  top: 9%;
  left: 1%;
}
.demo .features {
  flex: 8;
}
.features {
  margin: auto;
  display: flex;
  flex-direction: column;
}
.features img {
  margin-top: 12px;
  height: 60px;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.35));
}
.features > div {
  margin-bottom: 2vw;
  display: flex;
  align-items: center;
}
.features > div > div {
  margin-top: 15px;
  display: inline-block;
  margin-left: 1vw;
}
.features .feature-name {
  color: white;
  font-family: 'Brandon Text Bold';
  font-size: 1.6vw;
}
.features .feature-description {
  color: white;
  font-family: 'Brandon Text';
  font-size: 1.6vw;
}
.subscription-app {
  background-color: var(--color-navy);
  padding-right: 10vw;
  padding-top: 30px;
  padding-bottom: 45px;
  display: flex;
}
.subscription-app > div {
  flex: 0.33;
  margin-top: auto;
}
.subscription-app > div:first-child {
  flex: 0.5;
  margin: auto;
}
.subscription-title {
  font-family: 'Brandon Text Bold';
  color: white;
  padding-left: 10vw;
  padding-right: 10vw;
  font-size: 28px;
  user-select: none;
  font-weight: 200;
  line-height: 70px;
  margin-top: 0px;
  margin-bottom: 10px;
}
.subscription-description {
  font-size: 20px;
  color: white;
  font-family: 'Brandon Text';
  padding-left: 10vw;
}
.subscription-description .bold {
  font-family: 'Brandon Text Bold';
}
.subscription-button {
  background-color: var(--color-orange);
  border-radius: 5px;
  margin: 20px;
  padding: 20px;
  padding-top: 15px;
  padding-bottom: 20px;
  width: 300px;
  height: 50px;
  margin: auto;
}
.inactive .subscription-button {
  opacity: 0.5;
}
.inactive {
  background-color: white;
  border-radius: 5px;
  width: fit-content;
  margin: auto;
}
.subscription-button > div {
  display: inline-block;
}
.subscription-months {
  font-family: "Brandon Text Bold";
  text-transform: uppercase;
  font-size: 22px;
  color: white;
}
.subscription-name {
  font-family: "Open Sans";
  text-transform: uppercase;
  font-size: 16px;
  color: white;
}
.subscription-cost {
  font-family: "Open Sans";
  text-transform: uppercase;
  font-size: 24px;
  color: white;
  padding: 14px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: var(--color-navy);
  border-radius: 5px;
  vertical-align: top;
  float: right;
}
.footer {
  color: var(--color-footer);
  font-family: "Brandon Text Bold";
  text-align: center;
}
.footer .app-name {
  margin-top: 35px;
  font-size: 12px;
  margin-bottom: 5px;
}
.footer .terms-link {
  margin-bottom: 25px;
  font-size: 14px;
}
.footer .terms-link a {
  color: var(--color-footer);
}
a.button {
  background-color: var(--color-orange);
  color: white;
  box-shadow: var(--shadow-soft);
  font-weight: 100;
  font-size: 16px;
  font-family: 'Brandon Text Bold';
  text-decoration: none;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  transition: .25s all linear;
}
a.button:hover {
  background-color: var(--color-orange-dark);
}

@media (min-width: 2000px) {
  .app-availability {
    font-size: 24px;
  }
  .download-app {
    font-size: 22px;
  }
  .features-app .description {
    font-size: 24px;
  }
}

@media (max-width: 1250px) {
  .features-app h2 {
    font-size: 30px;
  }
  .download-links img {
    width: 150px;
  }
  .mockup img:last-child, .mockup img:first-child {
    margin-bottom: 7%;
  }
  .demo {
    align-items: center;
  }
  .demo .mockup {
    margin-left: -150px;
    margin-right: -100px;
    margin-bottom: -60px;
  }
  .subscription-app {
    padding-top: 20px;
    padding-right: 0;
    flex-direction: column;
  }
  .subscription-title {
    margin-bottom: -5px;
  }
  .subscription-button {
    margin-top: 25px;
  }
  .features-app .description {
    margin-top: -10px;
    margin-bottom: 25px;
  }
  .features-app .demo {
    flex-direction: column;
  }
  .features {
    margin: 0
  }
}

@media (max-width: 992px) {
  .background-plane-mobile{
    display: flex;
    top: 100px;
    width: 100%;
    height: 100vh;
    position: absolute;
    background-image: url(../images/plane-only-white.svg);
    background-repeat: no-repeat;
    background-size: 130vw auto;
    background-position: -30px 0px;
    opacity: 0.3;
  }
  .features img {
    height: 60px;
  }
  .separator {
    margin-top: 36px;
    margin-bottom: 30px;
  }
  .features {
    margin-left: 4vw;
  }
  .features > div > div {
    margin-top: 8px;
  }
  .features .feature-name {
    font-size: 18px;
  }
  .features .feature-description {
    font-size: 16px;
  }
  .background-plane {
    top: 48%;
    background-size: 150vw auto;
  }
  .mobile {
    display: block;
  }
  .social-buttons.mobile {
    margin-top: 20px;
    margin-bottom: 20px;
    display: inline-flex;
  }
  .social-buttons.mobile a:first-child {
    margin-right: 0;
  }
  .social-buttons.mobile a {
    background-color: var(--color-navy);
  }
  .social-buttons img.twitter-icon {
    height: 15px;
    margin-top: 11px;
    margin-right: 8px;
  }
  .desktop {
    display: none;
  }
  .logo {
    height: 62px;
    margin-top: 15px;
  }
  h1 {
    font-size: 35px;
    line-height: 45px;
  }
  .about-app::before{
    background-size: 170vw auto;
    background-position: top 25% left -10px;
  }
  .about-app .description {
    font-size: 25px;
  }
  .mockup img {
    width: 32%;
  }
  .mockup img:not(:last-child):not(:first-child) {
    width: 40%;
  }
  .features {
    margin-left: -15px;
  }
  .app-availability {
    font-size: 15px;
  }
  .download-app {
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
  }
  .download-links {
    text-align: center;
  }
  .download-links img:first-child {
    margin-right: 10px;
  }
  .features-app .description {
    margin-left: 5vw;
    margin-right: 5vw;
  }
  .subscription-description, .subscription-title {
    text-align: center;
    padding-left: 10vw;
    padding-right: 10vw;
  }
  .footer .app-name {
    margin-top: 0;
  }
}


@media (max-width: 400px) {
  .download-links img {
    width: 140px;
  }
}

@media (max-width: 370px) {
  .download-links img {
    width: 34vw;
  }
}

/* ---- Pages réglementaires (Privacy / Terms) ---- */
.regulatory-text {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1.25em 4em;
  color: #222;
  line-height: 1.6;
}
.regulatory-text .reg-back {
  display: inline-block;
  margin-bottom: 1.5em;
  color: var(--color-orange);
  text-decoration: none;
  font-family: 'Brandon Text Bold', sans-serif;
}
.regulatory-text .reg-back:hover {
  color: var(--color-orange-dark);
}
.regulatory-text h1 {
  font-family: 'Brandon Text Bold', sans-serif;
  color: var(--color-navy);
  font-size: 32px;
  line-height: 1.2;
}
.regulatory-text a {
  color: var(--color-orange);
}
