@font-face {
  font-family: "Base Neue";
  src: url("https://crunchcreator.com/wp-content/uploads/2026/01/BaseNeue-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root,
:root[data-theme="light"],
:root[data-theme="dark"],
.dark {
  --custom-color-primary: 237 50 36;
  --custom-color-primary-foreground: 255 255 255;
  --custom-color-secondary: 9 94 178;
  --custom-color-secondary-foreground: 255 255 255;
  --custom-color-secondary-light: #5b8fcb;
  --custom-color-secondary-medium: #095eb2;
  --custom-color-secondary-deep: #0b2137;
  --custom-color-success: 39 161 95;
  --custom-color-success-foreground: 255 255 255;
  --custom-color-error: 237 50 36;
  --custom-color-error-foreground: 255 255 255;
  --custom-color-warning: 244 177 32;
  --custom-color-warning-foreground: 11 33 55;
  --custom-color-info: 9 94 178;
  --custom-color-info-foreground: 255 255 255;
  --custom-color-neutral: 133 146 164;
  --custom-color-neutral-foreground: 11 33 55;
  --custom-color-verified: 59 130 246;
  --custom-color-typo: #0b2137;
  --custom-color-foreground: #0b2137;
  --custom-color-background: #ffffff;
  --custom-color-background-card: #ffffff;
  --custom-color-white: #ffffff;
  --custom-color-black: #001225;
  --custom-font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --custom-font-serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --custom-font-accent: "Base Neue", "Arial Narrow", Arial, sans-serif;
  --custom-radius: 0rem;
  --radius: 0rem;
}

h1,h2,h3, .crunch-header nav{
  font-family: "Base Neue", Sans-serif;
  font-weight: 900;
  font-style: oblique;
  font-size:2em;
}

h4, h5, h6 {
  font-family: "Base Neue", Sans-serif;
  font-weight: 600;
  font-style: oblique;
}

.page-profil-mon-profil .flex.w-full.flex-col.gap-4.sm\:justify-center.md\:flex-row {
    flex-direction: column !important;
}

h6 {
  font-size:1.2em;
}

.crunch-header__account-slot a{
  font-size:1.2em !important;
}

h1{
  color:#fff;
}

@media (min-width: 1140px) {
  #caas__main-container {
    width: calc(100% - 260px);
    margin-left: 260px;
  }
}

.crunch-header {
  position: relative;
  z-index: 60;
  font-family: var(--custom-font-sans, "Helvetica Neue", Arial, sans-serif);
}

.crunch-header__mobile-bar {
  display: none;
}

.crunch-header__menu-shell {
  position: fixed;
  top: 75px;
  left: 30px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: 200px;
  max-height: calc(100vh - 105px);
  overflow-y: auto;
  background: transparent;
}

.crunch-header__brand-panel {
  padding: 30px 30px 45px;
  background: #0b2137;
}

.crunch-header__logo-slot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.crunch-header__logo-slot .logo {
  justify-content: center;
}

.crunch-header__logo-slot .header__logo-image {
  width: min(100%, 126px);
  max-height: 58px;
  min-height: 0;
}

.crunch-header__links-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  gap:0px;
  padding: 30px;
  background: #ffffff;
  clip-path: polygon(0 3%, 100% 0, 100% 110%, 0 100%);
  border: 1px solid #ccc;
}

.crunch-header__nav-slot {
  width: 100%;
}

.crunch-header__nav-slot > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  margin: 0;
  width: 100%;
}

.crunch-header__nav-slot a,
.crunch-header__account-slot a,
.crunch-header__account-slot .button--login,
.crunch-header__account-slot .button--subscribe,
.crunch-header__account-slot .button--subscribe-sso {
  display: block !important;
  width: 100%;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #ed3224;
  font-family: var(--custom-font-accent, "Arial Narrow", Arial, sans-serif);
  font-size: 16px;
  font-weight: 700;
  font-style: oblique;
  line-height: 24px;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: normal;
  white-space: normal;
  text-wrap: balance;
  box-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
}
.crunch-header__nav-slot a{
  font-size:1em;
}

.crunch-header__nav-slot a:hover,
.crunch-header__nav-slot a:focus-visible,
.crunch-header__account-slot a:hover,
.crunch-header__account-slot a:focus-visible,
.crunch-header__nav-slot .font-bold,
.crunch-header__nav-slot .font-semibold,
.crunch-header__account-slot .font-bold,
.crunch-header__account-slot .font-semibold {
  color: #ed3224;
  text-decoration: underline !important;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.crunch-header__account-slot {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.crunch-header__account-slot ul,
.crunch-header__account-slot > div,
.crunch-header__account-slot .login-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crunch-header__account-slot li {
  width: 100%;
}

.crunch-header__account-slot .login-nav {
  flex-direction: row !important;
  gap: 12px !important;
}

.crunch-header__account-slot .login-nav a {
  display: inline-flex !important;
  width: auto;
  align-items: center;
  gap: 12px;
}

.crunch-header__account-slot .login-nav span {
  color: #ed3224;
  font-family: var(--custom-font-sans, "Helvetica Neue", Arial, sans-serif);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.crunch-header__lang-slot {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  margin: 4px 0 0;
  color: #ed3224;
  --lang-switcher-dropdown-color: #ed3224;
  margin-bottom: 1em;
  margin-top: 1em;
}

.crunch-header__lang-slot .langswitcher {
  color: inherit;
  font-family: var(--custom-font-sans, "Helvetica Neue", Arial, sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  letter-spacing: normal;
}

.crunch-header__lang-slot .langswitcher--simple,
.crunch-header__lang-slot .fancy-drop-down__header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-transform: uppercase;
}

.crunch-header__lang-slot .fancy-drop-down__header {
  padding-right: 12px;
}

.crunch-header__lang-slot .lang {
  cursor: pointer;
  font-size:1.3em;
}

.crunch-header__lang-slot .lang--active {
  border-color: currentColor;
}

.crunch-header__lang-slot .fancy-drop-down__content {
  min-width: 72px;
  padding: 6px 8px;
  border: 1px solid #ed3224;
  border-radius: 0;
  background: #ffffff;
  color: #ed3224;
  box-shadow: 0 8px 18px -14px rgba(11, 33, 55, 0.45);
}

.crunch-header__lang-slot .fancy-drop-down__content li {
  position: relative;
}

.crunch-header__lang-slot .fancy-drop-down__content .lang {
  font-family: var(--custom-font-sans, "Helvetica Neue", Arial, sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  text-transform: uppercase;
}

.crunch-header__lang-slot .fancy-drop-down__menu-arrow {
  color: #ed3224;
}

.crunch-header__social {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom:1em;
}

.crunch-header__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ed3224;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.crunch-header__social a:hover,
.crunch-header__social a:focus-visible {
  opacity: 0.85;
}

.crunch-header__social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.crunch-header__legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.crunch-header__legal a {
  color: #ed3224;
  font-family: var(--custom-font-sans, "Helvetica Neue", Arial, sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: normal;
}

.crunch-header__legal a:hover,
.crunch-header__legal a:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.crunch-footer {
  padding: 28px 20px 34px;
  background: none;
  color:#fff;
}

.crunch-footer__inner {
  display: flex;
  justify-content: center;
}

.crunch-footer__powered-by,
.crunch-footer__powered-by .footer__by-stadium-go {
  justify-content: center;
}

.crunch-footer__powered-by .footer__by-stadium-go {
  gap: 10px;
  color: #ffffff;
  font-family: var(--custom-font-sans, "Helvetica Neue", Arial, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.crunch-footer__powered-by .footer__by-stadium-go a {
  color: inherit;
}

.crunch-footer__powered-by svg {
  height: 1.5rem;
  width:60%;
}

@media (max-width: 1139px) {
  #caas__main-container {
    width: 100%;
    margin-left: 0;
  }

  .crunch-header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 58;
    opacity: 0;
    pointer-events: none;
    background: rgba(11, 33, 55, 0.78);
    transition: opacity 0.24s ease;
  }

  .crunch-header__mobile-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    display: flex;
    justify-content: flex-start;
    padding: 18px 18px 0;
    pointer-events: none;
  }

  .crunch-header__burger-slot {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
  }

  .crunch-header__burger-slot hr {
    width: 28px;
    height: 2px;
    background: #ed3224;
    border-radius: 0;
  }

  .crunch-header__menu-shell {
    top: 0;
    left: 0;
    width: min(100vw, 340px);
    max-height: 100vh;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    transition:
      transform 0.24s ease,
      opacity 0.24s ease,
      visibility 0.24s ease;
    box-shadow: 16px 0 36px -28px rgba(11, 33, 55, 0.8);
  }

  .crunch-header__brand-panel {
    padding: 82px 41px 34px;
  }

  .crunch-header__logo-slot .header__logo-image {
    width: min(100%, 126px);
    max-height: 58px;
  }

  .crunch-header__links-panel {
    padding: 30px;
    gap: 20px;
    background: #ffffff;
  }

  .crunch-header__lang-slot {
    margin-top: 0;
  }

  .crunch-header__nav-slot a,
  .crunch-header__account-slot a,
  .crunch-header__account-slot .button--login,
  .crunch-header__account-slot .button--subscribe,
  .crunch-header__account-slot .button--subscribe-sso {
    font-size: 16px;
    line-height: 24px;
  }

  .crunch-header:has(#menu:target)::before {
    opacity: 1;
    pointer-events: auto;
  }

  .crunch-header:has(#menu:target) .crunch-header__menu-shell {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}

/* HOMEPAGE */
.page-home .hero{
  margin-bottom:0;
}
.hero__wrapper h1.heading{
  color: #FFF;
  font-size: 2em;
  font-weight: 900;
  text-align: center;
  margin-top:1rem;
}
.CarpoolMap__Homepage{
  width: 80%;
  height:30rem;
  margin-left: auto;
  margin-right: auto;
}
.CarpoolMap__Homepage div div{
  border-radius:10px;
}

/* CUSTOM PAGES */
body{
  background:#095EB2;
}
body.page-home{
  background:url('https://t.assets-caas.fr/crunch-creator/images/bkg-home_crunch.png');
  background-size:100%;
}
#filters, .steps,
.page-home #caas__main-container div[role="alert"],
.login-nav span, .page-covoiturages .card-event{
  display:none;
}
.page-proposer-un-covoiturage main.event,
.page-proposer-un-covoiturage section.bg-card{
  background:none;
}
.page-covoiturages #caas__map-container .button--secondary{
  border-color:#fff;
  background:#fff;
  color:#ed3224;
}
main.messagerie{
   margin-top: 2rem;
   width: 95%;
}
.page-title{
  background:none;
}
.page-mentions-legales .container, .page-charte-confidentialite .container,
.page-conditions-generales .container, .page-faq, .page-charte-confidentialite .container h2,
.page-charte-confidentialite .container h3, .page-charte-confidentialite .container p, 
.page-charte-confidentialite .container li, .page-charte-confidentialite .container a{
  color:#fff;
}

/* MEDIA QUERIES */
@media (max-width: 767px){
  .page-home h1.heading{
    font-size: 1.3em;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }
  .crunch-footer__powered-by svg {
      height: 1rem;
      width: 100%;
  }
  main.messagerie{
   margin-top:0;
   width:100%;
  }
}