@font-face {
	font-family: 'Arcadienne';
	src: url('../fonts/Arcadienne-Bold.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'ArcadienneBrush';
	src: url('../fonts/Arcadienne-Brush.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'TTCommons';
	src: url('../fonts/TTCommons-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'TTCommons';
	src: url('../fonts/TTCommons-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'TTCommons';
	src: url('../fonts/TTCommons-DemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'TTCommons';
	src: url('../fonts/TTCommons-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

:root {
	--classic-color: 0, 167, 181;
	--essential-color: 239, 119, 103;
	--premium-color: 0, 43, 86;
	--activities-color: 255, 200, 44;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

html,
body {
	background-color: #f8f9fa;
	color: rgb(var(--premium-color));
}

body {
	overflow-x: hidden;
	font-size: 1.6rem;
	font-family: 'TTCommons', sans-serif;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

ul,
ol,
dl {
	margin: 0;
}

article,
aside,
audio,
footer,
header,
nav,
section,
video {
	display: block;
}

p {
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	line-height: 1.2;
}

a {
	color: inherit;
	text-decoration: none;
}

textarea {
	resize: vertical;
}

table {
	border-collapse: collapse;
}

th,
td {
	padding: 0;
	margin:0;
}

img {
	max-width: 100%;
}

input[type="submit"] {
	-webkit-appearance: none;
}

.right {
	float: right;
	margin-left: 2rem;
	clear: right;
}

.left {
	float: left;
	margin-right: 2rem;
	clear: left;
}

/*--------------------------------------------------------------
  # Be creative!
--------------------------------------------------------------*/

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 1.5rem;
}

.header__breadcrumb {
    display:none;
}

.header__logo img {
    height:50px;
    width:auto;
    object-fit: contain;
}

a.btn.back-home {
    display: inline-flex;
    align-items: center;
    background-color: rgb(var(--premium-color));
    color:#ffffff;
    font-size:1.3rem;
    letter-spacing: 0.2px;
    font-weight:700;
    line-height: normal;
    border-radius: 4.6rem;
    gap:1rem;
    padding:0.4rem;
    padding-left:1.5rem;
}

hr {
    display: block;
    height: 1px;
    width:70%;
    border: 0;
    border-top: 1px solid rgb(var(--premium-color));
    background-color: rgb(var(--premium-color));
    color: rgb(var(--premium-color));
    padding: 0;
}

#advantages {
    position: relative;
    width:100%;
}
#advantages thead tr,
#advantages tbody tr {
    padding:0 1.75rem; 
}

#advantages .advantages__header {
    position: sticky;
    top: -1px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    background-color: rgba(248, 249, 250,0.9);
    background: linear-gradient(180deg,rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.9) 100%);
    padding:calc(3rem + 1px) 1.5rem 1rem 1.5rem;
    transition: all .1s ease;
    z-index: 1;
}

#advantages .advantages__header.sticky {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#caption__header {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--activities-color));
    border-radius: 7px;
    padding: 1rem;
}

.caption__header__title {
    display:none;
}

.pass__header {
    height: 100%;
}

.pass__header__title {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: 'Arcadienne', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    text-align: center;
    border-radius: 7px;
    padding: 1.5rem 0.8rem;
}

.classic .pass__header__title {
    background-color: rgb(var(--classic-color));
}

.essential .pass__header__title {
    background-color: rgb(var(--essential-color));
}

.premium .pass__header__title {
    background-color: rgb(var(--premium-color));
}

.pass__header__title span {
    opacity: .7;
}

.pass__header__basket .buy__link__mb {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    padding: 0.8rem;
    margin: 0 auto;
}

.pass__header__basket .buy__link__mb img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.classic.pass__header__basket .buy__link__mb {
    background-color: rgb(var(--classic-color));
}

.essential.pass__header__basket .buy__link__mb {
    background-color: rgb(var(--essential-color));
}

.premium.pass__header__basket .buy__link__mb {
    background-color: rgb(var(--premium-color));
}

.pass__header__basket .buy__link__mb.disabled {
    background-color: #ced4da;
    cursor: not-allowed;
}

.back-home_sticky {
    position:absolute;
    top:0;
    right:0;
    opacity:0;
    pointer-events: none;
    transition: opacity .25s ease;

}
.back-home_sticky svg {
    height:3rem;
    width:3rem;
}

.back-home_sticky.visible {
    opacity:1;
    pointer-events: all;
}

.pass__header__body {
    display:none;
}

#advantages .advantages__body {
    display: flex;
    flex-direction: column;
    padding:1rem 0 0 0;
}

#advantages .advantages__body .advantage__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 0.5rem;
    padding: 1.4rem 1.5rem;
}

#advantages .advantages__body .advantage__row:hover {
	background-color: #E9ECEF;
}

#advantages .advantages__body .advantage__row > div {
    display:flex;
    flex-direction: column;
    justify-content: center;
}

#advantages .advantages__body .advantage__row > div:not(.advantage__row__title) {
    align-items: center;
}

.advantages__main-label {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
}

.advantages__sub-info {
    display: block;
    font-style: italic;
    font-weight: 200;
}

button.advantages__details {
    width: fit-content;
    background-color: transparent;
    border: none;
    color: rgb(var(--classic-color));
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.1px;
    text-align: left;
    line-height: 1;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    padding: 0.5rem 0 0 0;
    margin: 0;
    transition: all .2s ease;
}

button.advantages__details:hover {
    color: rgb(var(--activities-color));
}

#advantages .advantage__row__info {
    font-weight: 700;
    font-size: 1.6rem;
}

#advantages .advantage__row__info img.info__img {
    width: 1.8rem;
    height: auto;
    object-fit: contain;
}

#legend {
    padding:2rem 1.5rem 3rem 1.5rem;
}

#legend p {
    font-style: italic;
    line-height: 1.2;
    padding-bottom: .3rem;
    margin: 0;
}

#details__popin {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.6);
	padding:1.4rem;
	opacity:0;
	pointer-events: none;
	transition:opacity .1s ease;
    z-index: 2;
}

#details__popin.is-visible {
	opacity:1;
	pointer-events: all;
}

.details__popin__container {
	position:relative;
	max-height: 90vh;
    width: clamp(300px, 300px, 100%);	
    background-color: #f8f9fa;
    text-align: center;
    border-radius: 7px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
	padding: 3.4rem 2.4rem;
	transition:opacity 0.1s ease;
    transition-delay: 0.2s;
    opacity:0;
}

#details__popin.is-visible .details__popin__container {
	opacity:1;
	transition:opacity 0.1s ease;
    transition-delay: 0.2s;
}

.details__popin__container h2 {
	margin:0;
	padding:0;
	font-size:2rem;
	margin:1rem auto 2rem auto;
}

.details__popin__container a {
	text-decoration: underline;
}

.details__popin__close {
	position:absolute;
	right:.5rem;
	top:.5rem;
	width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    background-color: transparent;
    color: #666666;
    border: none;
    border-radius: .8rem;
    cursor: pointer;
    transition: backgroundColor 0.5s ease;
}

.details__popin__close:hover {
	background-color: rgb(243, 243, 241);
}

.details__popin__content {
	max-width:100%;
	margin:0 auto;
}

.details__popin__content p {
	margin:0;
	padding:0;
	padding-bottom:1rem;
}

footer {
    display: flex;
    flex-direction: column;
    gap:1rem;
    background-color: rgb(var(--premium-color));
    color:#ffffff;
    padding:1.5rem;
}
footer p,
footer a {
    font-size:1.3rem;
    line-height: normal;
    text-align: center;
    margin:0;
}

/* Mentions légales  */

.main__legal {
    padding: 2.5rem 1.5rem 4rem 1.5rem;
}

.main__legal h2 {
    font-size:3rem;
    font-family: 'ArcadienneBrush', sans-serif;
    text-transform: uppercase;
}

.main__legal h3 {
    font-size:2rem;
    font-family: 'ArcadienneBrush', sans-serif;
    text-transform: uppercase;
}

.main__legal p {
    margin:0;
    line-height:1.4;
}

.main__legal a {
    text-decoration: underline;
}

/* Version desktop  */

@media only screen and (min-width: 850px) {

    .header__container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        padding: 2.5rem 3.6rem;
    }

    .header__link {
        justify-self: end;
    }

    .header__logo img {
        height:80px;
    }

    .header__breadcrumb {
        display:flex;
        align-items: center;
        justify-self: start;
        font-weight:600;
    }

    .header__breadcrumb svg {
        height:1.2rem;
        width:auto;
        margin:0 0.5rem;
    }

    a.btn.back-home {
        font-size:1.4rem;
    }

    a.btn.back-home svg {
        width:3rem;
        height:auto;
    }

    hr {
        width:64%;
    }

    #advantages .advantages__header {
        padding:calc(3rem + 1px) 3.6rem 1rem 3.6rem;
        gap: 1.9rem;
    }

    #caption__header {
        flex-direction: column;
        gap: 2.8rem;
        padding: 2.5rem;
        transition:gap .4s ease;
    }

    .advantages__header.sticky #caption__header {
        gap:0;
        transition:gap .4s ease;
    }

    #caption__header img {
        height: 11.5rem;
        transition: height .25s ease;
    }

    .advantages__header.sticky #caption__header img {
        /* height: 10rem; */
    }

    #caption__header .caption__header__title {
        display:block;
        width: 200px;
        max-width: 100%;
        max-height:150px;
        font-family: 'ArcadienneBrush', sans-serif;
        font-size: 2.8rem;
        text-align: center;
        text-transform: uppercase;
        overflow: hidden;
        transition:max-height 1s ease;
    }
    
    .advantages__header.sticky #caption__header .caption__header__title {
        max-height:0px;
        transition:max-height .4s ease;
    }

    #advantages .advantages__header .sm {
        display:none;
    }

    .pass__header__title {
        height:auto;
        display: block;
        font-size: 3rem;
        border-radius: 100px;
    }

    .pass__header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 4rem;
        transition: gap .4s ease;
    }

    .advantages__header.sticky .pass__header {
        gap: 1.5rem;
    }

    .back-home_sticky svg {
        height:3.6rem;
        width:3.6rem;
    }

    .pass__header__body {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border-radius: 7px;
        color: #ffffff;
        gap: 1.2rem;
        padding: 2.1rem;
        transition:all 0.4s ease;
    }

    .classic .pass__header__body {
        background-color: rgb(var(--classic-color));
    }

    .essential .pass__header__body {
        background-color: rgb(var(--essential-color));
    }

    .premium .pass__header__body {
        background-color: rgb(var(--premium-color));
    }

    .advantages__header.sticky .pass__header__body {
        /* padding:1.8rem 2.1rem; */
        gap:0;
        transition:all 0.4s ease;
    }
    
    .pass__header_prices {
        overflow: hidden;
        width: 100%;
        max-height:250px;
        transition:max-height 1s ease;
    }

    .advantages__header.sticky .pass__header_prices {
        max-height:0px;
        transition:max-height .4s ease;
    }

    .pass__header__price-grid {
        border-collapse: collapse;
        width: 100%;
        color:#ffffff;
        text-align: center;
        vertical-align: middle;
        margin: 0 auto;
    }

    .pass__header__price-grid tr:first-of-type {
        border-bottom: solid 1px #ffffff;
    }

    .pass__header__price-grid th {
        font-size: 1.4rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        padding:1rem;
    }

    .pass__header__price-grid td {
        font-size: 2rem;
        font-weight: 700;
        padding:1rem;
    }

    .buy__link {
        width:100%;
        background-color: #f8f9fa;
        border-radius: 7px;
        font-weight: 700;
        font-size: 1.8rem;
        padding: 1rem 2.5rem;
        text-align: center;
        transition:all .3s ease;
    }

    .advantages__header.sticky .buy__link {
        width:115px;
        margin:0 auto;
    }

    .classic .buy__link {
        color: rgb(var(--classic-color));
    }

    .essential .buy__link {
        color: rgb(var(--essential-color));
    }

    .premium .buy__link {
        color: rgb(var(--premium-color));
    }

    .buy__link:not(.disabled):hover {
        color:#000000;
    }

    .buy__link.disabled {
        cursor: not-allowed;
    }

    .more__link {
        width: fit-content;
        overflow: hidden;
        max-height:250px;
        transition:max-height 1s ease;
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 0.4px;
        border-bottom: 1px solid #ffffff;
        margin: 0 auto;
    }

    .advantages__header.sticky .more__link {
        max-height:0px;
        border-bottom:0;
        transition:all .4s ease;
    }

    #advantages .advantages__body {
        padding:3rem 0 0 0;
    }

    
    button.advantages__details:hover {
        border-bottom: 1px solid rgb(var(--activities-color));
    }

    #advantages .advantages__body .advantage__row {
        gap: 0 1.9rem;
        padding:1.4rem 3.6rem;
    }

    #advantages .advantage__row__info {
        font-size: 2.4rem;
    }

    #advantages .advantage__row__info img.info__img {
        width: 2.8rem;
    }

    #legend {
        padding:2rem 3.6rem 3rem 3.6rem;
    }

    .details__popin__container {
		width: clamp(400px, 400px, 100%);
        padding: 4rem 5rem;
	}

    
    footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding:1.5rem 3.6rem;
    }

    /* Mentions légales  */

    .main__legal {
        padding: 2.5rem 3.6rem 6rem 3.6rem;
    }
}