/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #efece9;
  color: #0f1b24;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  min-width: 0;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }
button { cursor: pointer; }

/* ============================================================
   VISIBILITY HELPERS  (mobile-first)
============================================================ */
.mobile-only  { display: block !important; }
.desktop-only { display: none !important; }

@media (min-width: 769px) {
  .mobile-only  { display: none !important; }
  .desktop-only { display: block !important; }

  /* Fix flex/inline-flex elements hidden by .desktop-only
     Combined selectors (0,2,0) beat .desktop-only (0,1,0) */
  .header__left.desktop-only   { display: flex !important; }
  .header__devise.desktop-only { display: flex !important; }
  .points-grid.desktop-only    { display: flex !important; }
  a.btn.desktop-only           { display: inline-flex !important; }
}


/* ============================================================
   TYPOGRAPHY  (mobile-first)
============================================================ */

/* Heading L – Asul 50px */
.heading-l {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  font-style: normal;
}

/* Heading M – Asul 26px / 33px */
.heading-m {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 33px;
  font-style: normal;
}

/* Heading S – Asul 20px */
.heading-s {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  font-style: normal;
}

/* Body M – Lexend Light 15px / 24px */
.body-m {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
}

/* Body Strong – Lexend Regular 15px / 24px */
.body-strong {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
}

/* Body S – Mobile 12px/20px → Desktop 13px/22px */
.body-s {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
}

/* Label Peta – Mobile 12px/1.417 → Desktop 13px/18px */
.label-peta {
  font-family: 'Lexend Peta', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.417;
  text-transform: uppercase;
}

/* Deca Medium 13px */
.body-deca-m {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
}

/* Deca Regular 13px */
.body-deca-r {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
}

/* Page title – Mobile: 26px centered → Desktop: 50px left */
.page-title {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 33px;
  color: #0f1b24;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 769px) {
  .body-s {
    font-size: 13px;
    line-height: 22px;
  }

  .label-peta {
    font-size: 13px;
    line-height: 18px;
  }

  .heading-m {
    line-height: 31px;
  }

  .page-title {
    font-size: 50px;
    line-height: 1;
    max-width: 602px;
    text-align: left;
  }
}


/* ============================================================
   COLOR UTILITIES
============================================================ */
.color-sage      { color: #9f9a7c; }
.color-sage-dark { color: #615d48; }
.color-white     { color: #ffffff; }
.color-grey      { color: #999999; }
.text-center     { text-align: center; }


/* ============================================================
   LAYOUT  (mobile-first)
============================================================ */
.container {
  padding: 0 30px;
  max-width: 100%;
}

@media (min-width: 769px) {
  .container {
    max-width: min(1366px);
    margin-inline: auto;
    padding: 0;
  }
}


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 30.076px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.btn:hover { opacity: 0.85; }

.btn--orange {
  background-color: #f39e00;
  border-color: #f39e00;
  color: #ffffff;
}

.btn--outline-sage {
  border-color: #9f9a7c;
  color: #9f9a7c;
  font-family: 'Lexend Deca';
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  display: flex;
  padding: 13px 17px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 30.076px;
  border: 1px solid #9F9A7C;
  width: max-content;
}

.btn--outline-sage:hover{
  border-color: #9f9a7c;
  background-color: #9f9a7c;
  color: white;
}

.btn--outline-white {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
}

.btn--sm  { padding: 13px 17px; }
.btn--full { width: 100%; justify-content: center; }
.btn__icon { width: 16px; height: 16px; flex-shrink: 0; }

.link-decouvrir {
  display: block;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #9f9a7c;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

/* Chevrons */
.chevron { width: 20px; height: 20px; flex-shrink: 0; }
.chevron--up    { transform: rotate(180deg) scaleY(-1); }
.chevron--prev  { transform: rotate(90deg); }
.chevron--next  { transform: rotate(-90deg) scaleY(-1); }
.chevron--left  { transform: rotate(90deg); }
.chevron--right { transform: rotate(-90deg) scaleY(-1); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #efece9; }
::-webkit-scrollbar-thumb { background-color: #9f9a7c; border-radius: 3px; }
