@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
  --mobile-breakpoint: 760px;
  --main-max-width: 1200px;
  --main-width: 95%;

  --primary-color: #0F3B60;
  --hard-primary-color: #0a2844;
  --soft-primary-color: #14538a;

  --secondary-color: #D06126;
  --soft-secondary-color: #e07840;
  --hard-secondary-color: #b54d1a;

  --negative-color: #FFFFFF;
  --soft-negative-color: #F0F0F0;
  --hard-negative-color: #FFFFFF;

  --background-color: #F5F5F5;
  --soft-background-color: #E0E0E0;

  --negative-background-color: #0F3B60;
  --soft-negative-background-color: #14538a;
}


body, html {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

#main h1 {
  font-size: 3em;
  font-weight: 600;
}
#main h2 {
  font-size: 2em;
  font-weight: 500;
}
#main h3 {
  font-size: 1.5em;
  font-weight: 400;
}

#main > *:nth-child(odd) {
  background-color: var(--negative-background-color);
  color: var(--negative-color);
}

#main > *:nth-child(even) {
  background-color: var(--background-color);
  color: var(--primary-color);
}

#main > *:nth-child(odd) h1,
#main > *:nth-child(odd) h2,
#main > *:nth-child(odd) h3 {
  color: var(--negative-color);
}

#main > *:nth-child(odd) .negative {
  color: var(--primary-color);
}

#main > *:nth-child(odd) .negative.with-background {
  text-shadow: 0 0 8px var(--negative-background-color);
}

#main > *:nth-child(even) .negative {
  color: var(--negative-color);
}

#main > *:nth-child(even) .negative.with-background {
  text-shadow: 0 0 8px var(--background-color);
}

#main .module-container > * {
  max-width: var(--main-max-width);
  width: var(--main-width);
  margin: auto;
  text-align: center;
  padding: 10px 0;
}


#main button, #main .button, #main .anchor {
  background-color: var(--secondary-color);
  color: var(--negative-color);
  text-decoration: none;
  font-size: 1.1em;
  padding: 12px 28px;
  cursor: pointer;
  display: inline-block;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.1s;
}

#main button:hover, #main .button:hover, #main .anchor:hover {
  background-color: var(--soft-secondary-color);
  transform: translateY(-1px);
}

#main > *:nth-child(even) button,
#main > *:nth-child(even) .button {
  background-color: var(--primary-color);
  color: var(--negative-color);
}

#main > *:nth-child(even) button:hover,
#main > *:nth-child(even) .button:hover {
  background-color: var(--soft-primary-color);
}


#main .card {
  color: var(--primary-color);
  padding: 20px;
}

#main .card img {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#main > *:nth-child(odd) .card {
  color: var(--negative-color);
}


#main .list > ul {
  text-align: left;
  padding-left: 20px;
}

#main .list > ul > li {
  line-height: 1.8;
}

#main a {
  color: var(--secondary-color);
}

#main > *:nth-child(odd) a {
  color: #ff9f6b;
}

#main > *:nth-child(odd) a:hover {
  color: var(--negative-color);
}


#main .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  box-sizing: border-box;
}

#main .menu a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}


#main .menu a:hover {
  color: var(--soft-secondary-color);
  border-bottom-color: var(--secondary-color);
}


#main .menu .menu-logo {
  transform: scale(1.3);
}


#main > *:nth-child(odd) .menu a {
  color: var(--negative-color);
}

#main > *:nth-child(odd) .menu a:hover {
  color: var(--soft-negative-color);
  border-bottom-color: var(--negative-color);
}


#main .stronger {
  font-weight: 600;
  font-size: 1.15em;
  line-height: 1.6;
}

#main > *:nth-child(odd) .stronger {
  color: var(--soft-negative-color);
}

#main > *:nth-child(even) .stronger {
  color: var(--hard-primary-color);
}



#main .mosaic .bloc-text, #main .image-text {
  text-align: left;
}

#main .bloc-image img, #main .image-text-image img {
  border-radius: 20px;
}

#main .title {
  margin-top: 0;
}


#main .littler {
  font-size: 0.92em;
}


#main.mobile h1 {
  font-size: 1.75em;
  margin-bottom: 15px;
}
#main.mobile h2 {
  font-size: 1.4em;
}
#main.mobile .stronger {
  font-size: 1em;
}
#main.mobile .sub-title {
  font-size: 1.5em;
}


#main > .module-container > .mosaic {
  padding: 0 20px;
  box-sizing: border-box;
}