le-courage-du-reel/assets/css/style.css
2026-02-24 10:02:05 +01:00

1072 lines
No EOL
21 KiB
CSS

html {
scroll-behavior: smooth;
}
body,
html,
ul,
p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: inherit;
}
a:active {
color: inherit;
}
li {
list-style: none;
}
img {
width: 100%;
}
button {
all: unset;
cursor: pointer;
}
cite {
font-style: normal;
}
main {
position: relative;
z-index: 1;
background-color: #fff;
margin-bottom: 50rem;
}
section {
scroll-margin-top: 8.8125rem;
}
:root {
--font-narrow: 'owners-xnarrow', sans-serif;
--font-size-l: 4rem;
--font-size-m: 1.125rem;
--font-size-s: 0.9375rem;
--padding-body: 1.875rem;
--radius-section: 0.7rem;
--color-blue: #4433ff;
}
body {
font-family: "owners", sans-serif;
font-weight: 400;
letter-spacing: 5%;
}
.blue-container {
background-color: var(--color-blue);
color: #fff !important;
}
.white-container {
color: var(--color-blue);
background-color: #fff !important;
}
.centered-container {
text-align: center;
}
.centered-container.--narrow {
width: min(100%, 40rem);
}
.centered-container.--medium {
width: min(90vw, 40rem);
}
.centered-container.--wide {
width: min(80%, 41.875rem);
}
.blue-button {
display: block;
background-color: var(--color-blue);
border-radius: 2rem;
font-size: var(--font-size-s);
color: #fff !important;
text-transform: uppercase;
width: -moz-max-content;
width: max-content;
padding: 1rem 4rem;
font-weight: 500;
}
.blue-button.outlined {
outline: 1px solid #fff;
}
.blue-button:hover {
background-color: #fff;
color: var(--color-blue) !important;
outline: 1px solid var(--color-blue);
}
.section-title {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
}
.section-title.--centered {
width: 100%;
text-align: center;
}
.big-title {
font-family: var(--font-narrow);
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 700;
}
.big-title.--blue {
color: var(--color-blue);
}
.big-title.--xnarrow {
font-family: "owners-xnarrow", sans-serif;
font-weight: 500;
}
.big-title.--giant {
font-size: 8rem;
}
.big-title.--medium {
font-size: 4.0625rem;
}
.label {
font-size: 0.625rem;
text-transform: uppercase;
font-weight: 500;
opacity: 0.8;
}
.label.--dimmed {
opacity: 0.6;
}
.label.--spaced {
margin-bottom: 0.7rem;
}
.text-block {
font-size: var(--font-size-m);
}
.text-block.--medium-weight {
font-weight: 500;
}
.text-block p:not(:last-child) {
margin-bottom: 1.75rem;
}
.text-block.--loose p:not(:last-child) {
margin-bottom: 2rem;
}
body > header {
box-sizing: border-box;
position: sticky;
z-index: 999;
top: 0;
left: 0;
width: 100vw;
padding: 1.5rem var(--padding-body);
box-sizing: border-box;
}
body > header .nav-logo,
body > header .burger {
display: none;
}
body > header ul {
display: flex;
justify-content: space-between;
align-items: center;
}
body > header ul li a {
padding: 0.75rem;
}
body > header ul li:not(:first-child) {
font-size: var(--font-size-s);
text-transform: uppercase;
}
body > header ul li:first-child {
width: 30%;
font-size: 1.5625rem;
}
section#hero {
position: relative;
background-image: url("/assets/images/le-courage-du-reel-hero-bg.jpg");
background-position: center 45%;
background-size: cover;
background-repeat: no-repeat;
padding: 0 var(--padding-body);
height: calc(100vh - 4.875rem);
display: flex;
justify-content: center;
flex-direction: column;
}
section#hero .author-name {
font-size: 1.5rem;
margin-bottom: 1.75rem;
}
section#hero .title {
font-family: var(--font-narrow);
font-size: 8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0;
line-height: 93%;
}
section#hero .subtitle {
font-weight: 400;
}
section#hero #preorder-button {
position: absolute;
top: 50rem;
}
section#quote-full,
section#quote {
display: flex;
flex-direction: column;
align-items: center;
padding: 7.9375rem 0;
}
section#quote-full blockquote,
section#quote blockquote {
display: block;
width: min(100%, 44rem);
text-align: center;
font-size: 2.5rem;
margin-bottom: 1.25rem;
}
section#quote-full cite,
section#quote cite {
font-weight: 500;
}
section#quote {
margin: 0 var(--padding-body);
border-radius: var(--radius-section);
}
section#the-book {
padding: 10rem 15vw;
}
section#the-book .summary-wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);
-moz-column-gap: 4rem;
column-gap: 4rem;
margin-bottom: 4rem;
}
section#the-book .summary-wrapper .title-wrapper {
text-transform: uppercase;
}
section#the-book .summary-wrapper .title-wrapper .title {
font-family: var(--font-narrow);
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 700;
font-size: 4.0625rem;
color: var(--color-blue);
}
section#the-book .summary-wrapper .text {
font-weight: normal;
font-size: var(--font-size-m);
font-weight: 500;
}
section#the-book .summary-wrapper .text p:not(:last-child) {
margin-bottom: 1.75rem;
}
section#the-book .data-wrapper {
display: flex;
justify-content: space-between;
text-align: center;
padding-top: 2.5rem;
border-top: 1px solid rgba(0, 0, 0, 0.2);
text-transform: uppercase;
margin-bottom: 5rem;
}
section#the-book .data-wrapper .label {
font-size: 0.625rem;
text-transform: uppercase;
font-weight: 500;
opacity: 0.8;
margin-bottom: 0.5rem;
}
section#the-book .data-wrapper .value {
font-weight: 500;
}
section#the-book .claim-wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);
align-items: center;
-moz-column-gap: 4rem;
column-gap: 4rem;
}
section#the-book .claim-wrapper .text {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
section#the-book .claim-wrapper .text .big {
font-size: 2.5rem;
margin-bottom: 1.25rem;
font-weight: 500;
}
section#the-book .claim-wrapper .text .small {
font-weight: 500;
font-size: var(--font-size-m);
}
section#excerpts {
margin: 0 var(--padding-body);
border-radius: var(--radius-section);
display: flex;
flex-direction: column;
align-items: center;
padding: 6rem 14.375rem;
}
section#excerpts header {
text-align: center;
width: min(80%, 41.875rem);
margin-bottom: 3rem;
}
section#excerpts header .label {
font-size: var(--font-size-s);
text-transform: uppercase;
}
section#excerpts header .title {
font-family: var(--font-narrow);
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 700;
letter-spacing: 5%;
}
section#excerpts .swiper {
width: 100%;
position: relative;
padding-bottom: 5rem;
overflow: hidden;
}
section#excerpts .swiper-wrapper {
display: flex;
position: relative;
width: 100%;
height: 100%;
z-index: 1;
transition-property: transform;
box-sizing: content-box;
}
section#excerpts .swiper-slide {
flex-shrink: 0;
width: 100%;
height: 100%;
position: relative;
display: flex;
justify-content: center;
align-items: flex-start;
}
section#excerpts .swiper-slide .item {
width: 13.125rem;
}
section#excerpts .swiper-slide .item .label {
font-size: 0.625rem;
text-transform: uppercase;
font-weight: 500;
opacity: 0.8;
margin-bottom: 0.7rem;
font-weight: 400;
}
section#excerpts .swiper-slide .item .text {
font-size: var(--font-size-m);
line-height: 140%;
font-weight: 500;
}
section#excerpts .swiper-button-prev,
section#excerpts .swiper-button-next {
z-index: 1;
bottom: 0;
width: 2rem;
height: 2rem;
position: absolute;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
border: none;
background-color: transparent;
}
section#excerpts .swiper-button-prev::after,
section#excerpts .swiper-button-next::after {
display: none;
}
section#excerpts .swiper-button-prev {
background-image: url("/assets/svg/arrow-left.svg");
left: 0;
}
section#excerpts .swiper-button-next {
background-image: url("/assets/svg/arrow-right.svg");
right: 0;
}
section#excerpts .swiper-pagination {
bottom: 0.5rem;
display: flex;
justify-content: center;
gap: 0.4rem;
position: absolute;
width: 100%;
}
section#excerpts .swiper-pagination-bullet {
width: 0.45rem;
height: 0.45rem;
border-radius: 100%;
background-color: rgba(255, 255, 255, 0.4);
opacity: 1;
transition: background-color 250ms ease, transform 250ms ease;
cursor: pointer;
border: none;
padding: 0;
}
section#excerpts .swiper-pagination-bullet:hover {
background-color: rgba(255, 255, 255, 0.7);
}
section#excerpts .swiper-pagination-bullet-active {
background-color: #fff;
}
@media (max-width: 768px) {
section#excerpts {
padding: 4rem 2rem;
}
section#excerpts header {
margin-bottom: 2rem;
}
section#excerpts header .title {
font-size: 2.5rem;
}
section#excerpts .swiper-slide .item {
width: 100%;
max-width: 20rem;
text-align: center;
}
section#excerpts .swiper-slide .item .text {
margin-bottom: 2rem;
}
section#excerpts .swiper-button-prev,
section#excerpts .swiper-button-next {
width: 2rem;
height: 2rem;
}
}
section#handles {
padding: 10rem 15vw;
display: flex;
flex-direction: column;
align-items: center;
}
section#handles header {
width: 100%;
display: flex;
justify-content: space-between;
align-items: end;
}
section#handles header .title-wrapper .index {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
font-weight: 500;
}
section#handles header .title-wrapper .title {
font-family: var(--font-narrow);
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 700;
font-size: 4.0625rem;
color: var(--color-blue);
}
section#handles header .subtitle {
font-weight: 500;
margin-right: 7vw;
}
section#handles .path {
margin-top: 7.5rem;
width: 42rem;
}
section#handles .path .step {
box-sizing: border-box;
width: min(100%, 20rem);
padding: 1rem 2rem;
border-radius: var(--radius-section);
border: 1px solid var(--color-blue);
color: var(--color-blue);
font-size: var(--font-size-s);
}
section#handles .path .step h4 {
text-transform: uppercase;
margin-bottom: 0.7rem;
font-weight: 500;
}
section#handles .path .step p {
font-weight: 400;
}
section#handles .path .step:hover {
background-color: var(--color-blue);
color: #fff;
}
section#handles .path .step:nth-child(even) {
margin-left: 22rem;
}
section#handles .path .step:not(:last-child) {
margin-bottom: 2rem;
}
section#system {
display: flex;
justify-content: space-between;
padding: 10rem 0 10rem min(15vw, 100%);
}
section#system .text {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 46vw;
max-width: 27rem;
}
section#system .text .top .section-title {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
}
section#system .text .top .title {
font-family: "owners-xnarrow", sans-serif;
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 500;
color: var(--color-blue);
margin-bottom: 2rem;
}
section#system .text .top .info {
font-size: var(--font-size-m);
font-weight: 500;
}
section#system .text .bottom ul li {
list-style: disc;
list-style-position: inside;
font-weight: 500;
}
section#system .text .bottom ul:not(:last-child) {
margin-bottom: 3rem;
}
section#system figure {
width: 70vw;
height: 40vw;
}
section#system figure img {
-o-object-fit: contain;
object-fit: contain;
width: 100%;
height: 100%;
}
section#excerpt {
padding: 6rem 0;
display: flex;
justify-content: center;
}
section#excerpt .wrapper {
width: min(90vw, 40rem);
}
section#excerpt .wrapper .section-title {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
width: 100%;
text-align: center;
}
section#excerpt .wrapper .chapter-title {
width: 100%;
text-align: center;
font-family: var(--font-narrow);
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 700;
}
section#excerpt .wrapper .content {
margin: 3rem 0;
font-size: var(--font-size-m);
}
section#excerpt .wrapper .content p:not(:last-child) {
margin-bottom: 1.75rem;
}
section#excerpt .wrapper .content {
font-weight: 500;
}
section#excerpt .wrapper .content p.reference {
font-size: 0.75rem;
}
section#excerpt .wrapper .button-wrapper {
width: 100%;
text-align: center;
}
section#excerpt .wrapper .button-wrapper .blue-button {
display: inline-block;
}
section#author {
display: flex;
padding: 12.5rem var(--padding-body);
}
section#author img {
border-radius: var(--radius-section);
overflow: hidden;
width: 25rem;
height: 28rem;
-o-object-fit: cover;
object-fit: cover;
filter: grayscale(1);
margin-right: 10vw;
}
section#author .text {
width: 35rem;
}
section#author .text .section-title {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
}
section#author .text .author-name {
font-family: "owners-xnarrow", sans-serif;
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 500;
color: var(--color-blue);
margin-bottom: 5.75rem;
}
section#author .text p {
font-size: var(--font-size-m);
font-weight: 500;
line-height: 140%;
}
section#author .text p:not(:last-child) {
margin-bottom: 2rem;
}
section#buy {
display: flex;
justify-content: space-between;
padding: 6rem var(--padding-body);
}
section#buy .text {
text-align: center;
width: 30rem;
margin-left: 8rem;
}
section#buy .text .section-title {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
}
section#buy .text .title {
font-family: "owners-xnarrow", sans-serif;
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 500;
color: var(--color-blue);
margin-bottom: 1.75rem;
}
section#buy .text p {
font-size: var(--font-size-m);
font-weight: 500;
}
section#buy .text p:not(:last-child) {
margin-bottom: 0.75rem;
}
section#buy .text .buy-links {
margin-top: 5rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
section#buy .text .buy-links li a {
width: 14rem;
display: block;
}
section#buy .text .info {
font-size: 0.625rem;
text-transform: uppercase;
font-weight: 500;
opacity: 0.8;
letter-spacing: 2.4px;
font-weight: 400;
margin-top: 1rem;
}
section#buy img {
width: 45%;
height: 40vw;
-o-object-fit: cover;
object-fit: cover;
}
#presse {
scroll-margin-top: 0vh;
}
body > footer {
width: 100vw;
box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
z-index: 0;
padding: 2.5rem 0;
display: flex;
flex-direction: column;
align-items: center;
}
body > footer header {
text-align: center;
}
body > footer header .section-title {
font-size: var(--font-size-s);
text-transform: uppercase;
margin-bottom: 0.75rem;
font-weight: 500;
width: 100%;
text-align: center;
}
body > footer header .title {
width: 100%;
text-align: center;
font-family: var(--font-narrow);
font-size: var(--font-size-l);
text-transform: uppercase;
font-weight: 700;
}
body > footer .contact {
margin-top: 5rem;
width: 50rem;
display: flex;
justify-content: space-between;
gap: 4rem;
}
body > footer .contact .item .name {
font-size: var(--font-size-s);
text-transform: uppercase;
opacity: 0.6;
margin-bottom: 0.75rem;
}
body > footer .contact .item:not(:last-child) {
margin-bottom: 2.5rem;
}
body > footer .legal {
font-size: 0.625rem;
text-transform: uppercase;
letter-spacing: 0.15rem;
text-align: center;
width: 50rem;
margin-top: 5rem;
padding: 2.5rem 0 0 0;
border-top: 1px solid rgba(255, 255, 255, 0.2);
font-weight: 400;
}
body.no-scroll {
overflow: hidden;
}
@media (max-width: 930px) {
body > header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3.5rem;
margin: 0;
border-radius: 0;
box-sizing: border-box;
padding: 1rem var(--padding-body);
z-index: 9999;
}
body > header nav {
display: flex;
align-items: center;
position: relative;
z-index: 2;
}
body > header nav .nav-logo {
display: block;
font-size: 1rem;
z-index: 2;
}
body > header nav .burger {
margin-left: auto;
width: 7.125rem;
height: 1.25rem;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
z-index: 2;
}
body > header nav .burger span {
display: block;
width: 100%;
height: 1px;
background-color: #fff;
transition: transform 0.3s ease, opacity 0.3s ease;
transform-origin: center;
}
body > header nav ul {
position: fixed;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100dvh;
background-color: var(--color-blue);
flex-direction: column;
align-items: flex-start;
padding: 6rem var(--padding-body) 2rem;
box-sizing: border-box;
z-index: 1;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease-in-out;
}
body > header nav ul li {
width: 100%;
}
body > header nav ul li a {
display: block;
padding: 0.5rem 0;
font-size: 2.5rem;
font-weight: 400;
}
body > header nav ul li:first-child {
width: 100%;
font-size: 2.5rem;
}
body > header nav ul li:first-child a {
font-family: var(--font-narrow);
text-transform: uppercase;
}
body > header nav ul li:not(:first-child) {
font-family: var(--font-narrow);
font-size: 2rem;
text-transform: uppercase;
font-weight: 700;
}
body > header.nav-open nav ul {
opacity: 1;
pointer-events: all;
}
body > header.nav-open nav .burger span:nth-child(2) {
opacity: 0;
}
body > header.nav-open nav .burger span:first-child {
transform: translateY(0.55rem) rotate(10deg);
}
body > header.nav-open nav .burger span:last-child {
transform: translateY(-0.55rem) rotate(-10deg);
}
main {
padding-top: 3.5rem;
}
section {
scroll-margin-top: 5.8125rem;
}
section#hero {
height: auto;
min-height: 100vh;
text-align: center;
align-items: center;
padding: 4rem var(--padding-body) 3rem;
background-position: 74% -44vh;
background-size: 96vh;
}
section#hero .title {
font-size: 4rem;
}
section#hero .subtitle {
margin-bottom: 2rem;
}
section#hero #preorder-button {
position: static;
}
section#quote-full,
section#quote {
padding: 4rem var(--padding-body);
}
section#quote-full blockquote,
section#quote blockquote {
font-size: 1.5rem;
}
section#the-book {
padding: 4rem var(--padding-body);
}
section#the-book .summary-wrapper {
grid-template-columns: 1fr;
gap: 2rem;
}
section#the-book .summary-wrapper .title-wrapper .title {
font-size: 2.5rem;
}
section#the-book .data-wrapper {
flex-wrap: wrap;
gap: 1.5rem;
justify-content: center;
}
section#the-book .data-wrapper .data {
width: 40%;
}
section#the-book .claim-wrapper {
grid-template-columns: 1fr;
gap: 2rem;
}
section#the-book .claim-wrapper img {
border-radius: var(--radius-section);
}
section#the-book .claim-wrapper .text .big {
font-size: 1.75rem;
}
section#excerpts {
padding: 4rem var(--padding-body);
}
section#excerpts header .title {
font-size: 2.5rem;
}
section#excerpts .swiper-slide .item {
width: 100%;
max-width: 20rem;
text-align: center;
}
section#handles {
margin: 3rem var(--padding-body);
padding: 0;
}
section#handles header {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
section#handles header .title-wrapper .title {
font-size: 2.5rem;
}
section#handles header .subtitle {
margin-right: 0;
}
section#handles .path {
width: 100%;
margin-top: 3rem;
}
section#handles .path .step {
width: 100%;
}
section#handles .path .step:nth-child(even) {
margin-left: 0;
}
section#system {
flex-direction: column;
margin: 3rem var(--padding-body);
padding: 0;
gap: 3rem;
}
section#system .text {
max-width: 100%;
height: auto;
}
section#system .text .title {
font-size: 2.5rem;
}
section#system .text .bottom {
margin-top: 2rem;
}
section#system figure {
width: 100%;
margin: 0;
height: auto;
}
section#excerpt {
padding: 4rem var(--padding-body);
}
section#excerpt .wrapper {
width: 100%;
}
section#excerpt .wrapper .chapter-title {
font-size: 2rem;
}
section#author {
flex-direction: column;
padding: 4rem var(--padding-body);
align-items: center;
}
section#author img {
width: 100%;
height: auto;
margin-right: 0;
margin-bottom: 3rem;
}
section#author .text {
width: 100%;
}
section#author .text .author-name {
font-size: 2.5rem;
margin-bottom: 2rem;
}
section#buy {
flex-direction: column;
padding: 4rem var(--padding-body);
align-items: center;
gap: 3rem;
}
section#buy .text {
width: 100%;
margin-left: 0;
}
section#buy .text .title {
font-size: 2.5rem;
}
section#buy .text .buy-links {
margin-top: 2.5rem;
}
section#buy img {
width: 100%;
height: auto;
}
body > footer {
padding: 3rem var(--padding-body);
}
body > footer header .title {
font-size: 2.5rem;
}
body > footer .contact {
width: 100%;
flex-direction: column;
gap: 2rem;
margin-top: 3rem;
}
body > footer .legal {
width: 100%;
margin-top: 3rem;
}
}/*# sourceMappingURL=style.css.map */