:root {
  --blue: #25a4eb;
  --red: #dc3545;
  --green: #28a745;
  --orange: #dc9115; /* #f58511 #e08e00 */
  --purple: #700695; /* #740081 #6d217e #7b258e */
  --purple-txt: #700695;
  --light: #f4f4f4;
  --text-muted: #888888;
  --shadow: #a4a4a4;
  --txt-small: 14px;
  --txt-normal: 16px;
  --txt-big: 18px;
  --text-color: #444;
  --min-width: 350px;
  --nav-height: 48px;
}

*,
::before,
::after {
  box-sizing: border-box;
}

body {
  font-size: var(--txt-normal);
  line-height: 1.2;
  margin: 0;
  color: var(--text-color);
  overflow: auto;
  font-family: Raleway, Arial, Helvetica, sans-serif;
  min-width: var(--min-width);
}
.mw {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  overflow: hidden;
  width: 100%;
}
.mb-1 {
  margin-bottom: 16px;
}
.mt-5 {
  margin-top: 50px;
}
.b-shadow {
  box-shadow: 0px 16px 25px 0px var(--shadow);
  padding: 30px 0;
}

/* BUTTON */

.btn {
  display: inline-block;
  font-weight: bold;
  color: white;
  user-select: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: var(--txt-normal);
  border: none;
  text-decoration: none;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 1px 1px 3px 0px #000000a6;
}
.btn:hover {
  text-decoration: none;
  /* box-shadow: 0 0 0px 3px rgba(0, 0, 0, 0.125); */
  position: relative;
  z-index: 2;
}
.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.125);
}
.btn:active {
  box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.25);
  outline: 0;
}
.btn:hover {
  opacity: 0.9;
}

/* BACKGROUND / COLORS */

.bg-orange {
  background-color: var(--orange);
}
.bg-purple {
  background: var(--purple);
}
.bg-light {
  background-color: var(--light);
}
.txt-white {
  color: white;
}
.txt-purple {
  color: var(--purple-txt);
}
.txt-orange {
  color: var(--orange);
}
.center {
  text-align: center;
}

/* NAV */

div.nav {
  position: relative;
  z-index: 2;
  background: white;
  min-height: var(--nav-height);
}

nav {
  /*! max-height: var(--nav-height); */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  /*! font-weight: 600; */
}

nav .lc {
  max-height: var(--nav-height);
  padding: 10px 0;
  margin-right: auto;
  width: 100px;
  display: block;
}

nav > .btn {
  box-shadow: none;
  padding: 15px 20px;
  margin-right: -16px;
}

nav .header-link {
  color: var(--text-color);
  margin: auto;
  padding: 8px 16px;
  text-decoration: none;
  margin-left: auto;
}

nav a.header-link:hover {
  text-decoration: underline;
}

nav a.header-link.active,
nav a.header-link.active.usage-toggle svg {
  color: var(--purple);
}

nav .usage-toggle > svg {
  display: inline;
  height: 18px;
  vertical-align: middle;

  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  stroke: var(--text-color);

  transition: transform 250ms;
}

nav .btn-burger {
  margin-left: auto;
  background-color: white;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-height);
  height: var(--nav-height);
  box-shadow: none !important;
}

.burger {
  background-color: transparent;
  border: 0px none;
  cursor: pointer;
  display: block;
  height: 24px;
  margin: 0px;
  padding: 0px;
  position: relative;
  width: 24px;
}

.burger span {
  background-color: rgb(23, 43, 77);
  border-radius: 3px;
  display: block;
  height: 3px;
  left: 0px;
  opacity: 1;
  position: absolute;
  transform: rotate(0deg);
  transition: all 0.3s ease 0s;
  width: 24px;
  transform-origin: center;
}
.burger span:nth-child(1) {
  top: 1.5px;
}
.burger span:nth-child(2) {
  top: 10.5px;
}
.burger span:nth-child(3) {
  top: 19.5px;
}
.open-burger .burger span:nth-child(1) {
  left: 0px;
  top: 10.5px;
  transform: rotate(45deg);
}
.open-burger .burger span:nth-child(2) {
  top: 10.5px;
  opacity: 0;
  width: 0%;
}
.open-burger .burger span:nth-child(3) {
  left: 0px;
  top: 10.5px;
  transform: rotate(-45deg);
}

/* usage */

div.nav.nav-usage {
  position: absolute;
  background: white;
  width: 100%;
  box-shadow: inset 0px 8px 10px -10px #b3b3b3;
  z-index: 1;
  min-width: var(--min-width);
  display: block !important;
}
@media screen and (min-width: 862px) {
  div.nav.nav-usage {
    margin-top: -500px;
    transition: margin 250ms;
  }
}

.nav-usage > div {
  padding-top: 12px;
  padding-bottom: 22px;
}

.nav-usage > div > nav {
  margin: -16px;
  display: flex;
  flex-wrap: wrap;
  padding-top: 11px;
  align-items: normal;
}
.nav-usage > div > nav > a {
  padding: 16px;
  flex: 1;
  min-width: 200px;
  text-decoration: none;
  color: var(--text-color);
  margin: 0;
}
.nav-usage > div > nav > a:hover,
.nav-usage > div > nav > a.active {
  background-color: #efc2ff;
  text-decoration: none;
}
.nav-usage > div h3 {
  margin-top: 0;
}

.backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #00000094;
  z-index: 0;
  display: none;
}

#body.open-usage .backdrop {
  display: block;
}
#body.open-usage .nav-usage {
  margin-top: 0;
}
#body.open-usage .usage-toggle svg {
  transform: rotate(180deg);
  transform-origin: center 35%;
}
#body.open-usage.open-burger .nav.nav-lg {
  /*! display: none; */
}

a.back {
  display: flex;
  align-items: center;
  margin-left: 0;
  display: none;
  font-weight: 700;
}

@media screen and (min-width: 862px) {
  .nav.nav-sm {
    display: none;
  }
}
@media screen and (max-width: 861px) {
  .backdrop {
    display: none !important;
  }
  .nav.nav-lg {
    top: var(--nav-height);
    left: 0;
    width: 100%;
    transition: 350ms;
    position: fixed;
    margin-top: -100vh;
    z-index: 0;
    transition-property: margin, height;
  }
  body.open-burger .nav.nav-lg {
    margin-top: 0px;
    height: 100%;
  }

  .nav.nav-sm nav > a:first-child {
    padding: 0 16px;
  }

  .nav.nav-lg nav {
    flex-direction: column;
    max-height: none;
    align-items: normal;
    background: white;
    justify-content: flex-start;
    margin: 0;
  }
  .nav.nav-lg:not(.nav-usage) nav > a:first-child {
    display: none;
  }
  .nav.nav-lg:not(.nav-usage) nav > a:nth-child(2),
  .nav.nav-lg.nav-usage nav > a:nth-child(1){
    border-top: 1px solid rgb(223, 225, 230);
  }
  .nav.nav-lg nav > a {
    min-height: var(--nav-height);
    border-bottom: 1px solid rgb(223, 225, 230);
    margin: 0;
    display: flex;
    align-items: center;
  }
  .nav.nav-lg nav > a.usage-toggle > svg {
    display: none;
  }
  .nav.nav-lg nav > a.usage-toggle::after,
  body.open-usage .nav.nav-sm .back::before {
    content: ' ';
    width: 8px;
    height: 13px;
    background-image: url('data:image/svg+xml,<svg  viewBox="0 0 8 13" xmlns="http://www.w3.org/2000/svg"><path fill="gray" d="m6.73053 5.59279c.36263.36263.38855.93447.07773 1.32699l-.07773.08722-4.99999 5c-.39052.3905-1.023684.3905-1.414209 0-.3626298-.3626-.3885324-.9345-.077707-1.327l.077707-.0872 4.292859-4.29362-4.292859-4.29216c-.3626291-.36263-.3885324-.9345-.077707-1.327017l.077707-.087201c.36263-.36263.934469-.388554 1.326989-.077729l.08722.077729z"></path></svg>');
  }
  .nav.nav-lg nav > a.usage-toggle::after {
    margin-left: auto;
    margin-right: -11px;
  }
  body.open-usage .nav.nav-sm .back::before {
    display: block;
    transform: rotate(180deg);
    margin-right: 8px;
  }
  body.open-usage .nav.nav-sm .back{
        display: flex;
  }
  body.open-usage .nav.nav-sm nav>a:first-child {
        display: none;
  }
  .nav.nav-lg nav > a.create-account {
    margin: 8px;
    margin-bottom: auto;
  }

  /* usage */
  .nav.nav-lg.nav-usage {
    margin-top: 0px;
    height: 100%;
    margin-right: -100vw;
    z-index: 1;
    right: 0;
    position: fixed;
    left: unset;
    box-shadow: none;
  }
  body.open-usage .nav.nav-lg {
    margin-right: 0;
  }
  .nav.nav-lg.nav-usage > div {
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav.nav-lg.nav-usage > div > nav {
    flex-direction: column;
    align-items: normal;
    padding-top: 0;
  }
  .nav.nav-lg.nav-usage nav > a {
    align-items: flex-start !important;
    flex-direction: column;
  }
  .nav.nav-lg.nav-usage nav > a:hover {
    background: none;
  }
  .nav.nav-lg.nav-usage > div > nav h3 {
    margin: 0;
    margin-bottom: 4px;
    font-size: var(--txt-normal);
  }
}

/* HEADER */

header {
  background: url('./cosmos.jpg') center 79%;
  background-size: 2800px;

  color: white;
  font-size: var(--txt-big);

  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 22px 0;
}

header > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 600;
  width: 100%;
  height: 100%;
  justify-content: space-evenly;
}

header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  max-width: 680px;
  text-transform: uppercase;
}

header > div > div {
  display: flex;
  align-items: center;
  width: 100%;
}

header ul {
  font-variant: small-caps;
}

header ul li + li {
  margin-top: 6px;
}

header .lock {
  max-width: 60px;
  max-height: 65px;
}

/* SECTIONS */

section {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
}

section > div {
  line-height: 1.6;
}

section > h2,
section > div,
section > ul {
  margin: 0;
  font-size: var(--txt-normal);
}

section > ul > li + li {
  margin-top: 12px;
}

h2 {
  font-size: 26px;
  font-weight: 600;
}

/* b2bb2c */

.b2bb2c {
  display: flex;
  flex-wrap: wrap;
  margin: 65px auto;
  padding: 0;
  justify-content: center;
}

.b2bb2c > section {
  hyphens: auto;
  flex: 1;
  max-width: 380px;
  min-width: 257px;
  margin: 16px;
  background: var(--light);
  padding: 16px;
  min-height: 340px;
}

.b2bb2c > section > h2 {
  flex: 0;
  align-self: center;
  font-size: 24px;
  min-height: 58px;
  text-align: center;
  flex-basis: auto;
  margin-bottom: 16px;
}

.b2bb2c > section > * {
  margin-left: 0;
  margin-right: 0;
}

.b2bb2c > section > div {
  display: flex;
  align-items: center;
  line-height: 1.2;
  margin-top: auto;
  padding-left: 1.2rem;
  padding-top: 1rem;
  flex: 0;
}

.b2bb2c > section > ul {
  padding-left: 1.2rem;
}

.b2bb2c > section a {
  font-size: var(--txt-big);
  text-decoration: none;
  color: var(--orange);
  font-weight: 600;
  margin-left: 20px;
  margin-top: auto;
  padding-top: 16px;
}

.feat {
  display: flex;
  margin: -8px;
  flex-wrap: wrap;
  hyphens: auto;
}

.feat > section {
  margin: 8px;
  min-width: 200px;
  flex: 1;
}

/* DATA */

.data {
  padding-top: 46px;
  padding-bottom: 46px;
  line-height: 22px;
}

.data h2 {
  margin-top: 0;
}

.data > div > div {
  display: flex;
  flex-wrap: wrap-reverse;
  /*! font-weight: 600; */
}
.data > div > div > div:first-child {
  flex: 2;
}
.data > div > div > div:last-child {
  flex: 1;
  max-width: 300px;
  min-width: 110px;
  padding-left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rgpd,
.lock-fr {
  max-width: 110px;
  max-height: 110px;
}
.lock-fr {
  margin-top: -20px;
  margin-left: -12px;
}

.data > div > div + div {
  margin-top: 32px;
}

/* CYBER */

.cyber {
  padding-top: 46px;
  padding-bottom: 46px;
  line-height: 22px;
}

.cyber h2 {
  color: var(--purple);
  line-height: 27px;
}

.cy1 {
  display: flex;
  text-align: center;
  justify-content: space-around;
}

.cy1 > div {
  width: 380px;
}

.cy1.strong {
  font-weight: 600;
  margin-bottom: 18px;
}

.cy1 > div.bg-purple {
  padding: 22px;
  color: white;
}

.cy1 > img,
.cy1 > span {
  min-width: 26px;
  width: 26px;
  align-self: center;
  margin: 12px;
}

.cy2 {
  display: flex;
  margin-top: 42px;
  align-items: center;
}

.cy2 > div {
  max-width: 524px;
  font-size: 20px;
  font-family: Raleway;
  font-weight: 600;
  font-variant: small-caps;
  line-height: 22px;
  margin-left: 20px;
  color: var(--purple);
}

.cy2 > img {
  width: 50px;
  height: 50px;
}

/* PRICING */

label {
  font-size: var(--txt-normal);
  display: inline-flex;
  align-items: center;
  margin: 16px;
  min-width: 265px;
}

label > input[type='radio'] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.pcontainer {
  margin: 40px -16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media screen and (max-width: 500px) {
  .pcontainer {
    flex-wrap: wrap;
  }
}

.price {
  max-width: 20em;
  margin: 0.64em;
  font-size: min(var(--txt-normal), 16px);
  box-shadow: 0px 2px 4px 0px var(--shadow);
  line-height: 25px;
}

.pname,
.price,
.paction {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.ctt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  text-align: left;
}

.pname,
.ctt,
.paction {
  padding: 8px;
}

.ctt {
  justify-content: space-around;
  height: 14rem;
}

.price {
  width: 311px;
  height: 455px;
  border-radius: 7px;
  min-width: 311px;
}

.price .pname {
  font-weight: bolder;
  line-height: 1.2;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  font-size: var(--txt-normal);
}
.price svg {
  margin-bottom: 0.8em;
  flex-shrink: 0;
}
.price .paction {
  height: 5em;
}
.price .paction {
  margin-bottom: 0.28em;
}

.price .btn {
  padding: 10px 20px;
}

.price .pricing {
  font-size: 18px;
  font-weight: 600;
  color: black;
}
.price .pricing > span {
  font-size: 20px;
  font-weight: 600;
}

.pname {
  background: var(--orange);
  padding: 16px;
  margin-bottom: 28px;
  overflow: visible;
}

.pricing.customizable {
  font-size: var(--txt-normal);
  color: var(--text-muted);
}

/* CLIENT */
/* TESTIMONY */

.testimony h2 {
  margin: 32px;
}

.ccontainer {
  display: flex;
  margin: -16px -16px;
  justify-content: center;
  flex-wrap: wrap;
}

.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px;
  margin-bottom: 60px;
}

.client > div:first-child {
  background-color: var(--light);
  width: 301px;
  height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  line-height: 1.25;
  font-weight: normal;
}

.client > div:first-child::before {
  content: ' ';
  background: url('./quote.svg') center no-repeat;
  height: 32px;
  width: 32px;
  background-size: contain;
}

.client .cname {
  font-size: 18px;
  margin-top: 1rem;
}

/* contact */

.contact section > div {
  line-height: 1;
}
.contact section > div > div {
  max-width: 560px;
}

.contact section a.btn {
  margin-top: 28px;
}

/* FOOTER */

.legal {
  padding: 38px 0;
  line-height: 22px;
}

.legal-container {
  display: flex;
  align-items: flex-start;
  font-weight: 600;
}

.legal-container img {
  width: 68px;
  margin-right: 22px;
}

.legal-container > div > div + div {
  margin-top: 12px;
}

.legal-container a {
  text-decoration: underline;
  color: white;
}

footer {
  padding: 8px 0;
  font-size: var(--txt-small);
  letter-spacing: 1px;
  background-color: #5b0073;
  font-weight: 600;
}

footer ul {
  display: flex;
  list-style: none;
  padding: 0;
  align-items: center;
}
footer ul li {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}
footer ul li a {
  text-decoration: none;
  color: white;
}
footer ul li a:hover {
  text-decoration: underline;
}

/* 
TARIFS
*/

nav .title {
  margin: auto;
  color: white;
  font-weight: bold;
}

.btn.btn-c {
  padding: 2px;
  border-radius: 7px;
  background: var(--light);
}
.btn.btn-c > svg {
  stroke: var(--purple);
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.gray {
  background-color: var(--light);
  /* box-shadow: 0 3px 5px 0px #00000045; */
  /* padding-bottom: 1px; */
}

.tarifs h1.sec {
  margin: 0;
  margin-top: 50px;
  font-size: var(--txt-big);
}
.tarifs .b2bb2c {
  margin-top: 16px;
  margin-bottom: 20px;
}
.tarifs .b2bb2c h2 {
  font-size: var(--txt-normal);
  color: black;
  margin-bottom: 0;
}

/* AUtre */

.h1 {
  padding: 28px;
  font-weight: 700;
}
.h1 h1 {
  font-size: 26px;
  margin: 0;
  margin-bottom: 8px;
}

.sect {
  padding-top: 40px;
  padding-bottom: 40px;
}
.sect h2 {
  color: var(--purple);
  margin-top: 0;
}
.sect p {
  line-height: 22px;
}
.sect ul li + li {
  margin-top: 6px;
}

.row {
  display: flex;
  align-items: center;
}
.row1-2 > :first-child,
.row2-1 > :last-child {
  flex: 1;
}
.row1-2 > :last-child,
.row2-1 > :first-child {
  flex: 2;
}

.pdf-links {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
}
.pdf-links .btn-pdf {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  background: white;
  border: 1px solid var(--orange);
  color: var(--orange);
  margin-right: 16px;
  padding-left: 0;
}
.pdf-links .btn-pdf img {
  width: 56px;
  height: 56px;
}
