.main {
    padding-bottom: 2rem;
    padding-top: 30vh;
    /*background: url(../images/footer.png) no-repeat 50% 100%/200% auto fixed;*/
    flex: 1 1 100%;
}


/*
.home .container {
    background: url(../images/footer.png) no-repeat 100% 0/100% auto fixed;
}
*/

.home .main {
    padding-top: 40vh;
}

.section {
    padding: 0.5rem 0 0 0;
}

.section:nth-child(odd) {
    background: var(--tertiary-light);
}

.section:nth-child(even) {
    background: var(--secondary-light);
}

.banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.banner-img {
    flex: 0 0 70%;
    max-width: 800px;
}

.banner-img img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.banner-text {
    flex: 1 0 30%;
    padding: 8% 8% 8% 5%;
    color: #8d9da0;
    box-sizing: border-box;
    font-size: 1.8rem;
    line-height: 2rem;
    align-self: center;
}

/*.banner:after {
content: '';
display: block;
position: absolute;
top:0; left:0; bottom:0; right:0;
background: linear-gradient(to bottom,
    rgba(231,235,250,0) 50%,
    rgba(var(--secondary-base-rgb), 0.5) 75%,
    var(--secondary-base) 95%);
}*/

/* Banner home */
.home .banner:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to bottom,
    rgba(231, 235, 250, 0) 50%,
    rgba(var(--secondary-base-rgb), 0.5) 65%,
    var(--secondary-base) 95%);
}


.main .standard-width {
    background: var(--secondary-light);
    box-shadow: 0 0 2px rgba(68, 68, 68, .4);
}

/* Colonnes */
.bloc {
    margin: 1.5rem 0; /* marge haut et bas */
    display: flex; /* pour aligner les colonnes */
    justify-content: space-between; /* harmoniser les marges des colonnes */
    flex-wrap: wrap;
}

.bloc-anchor {
    scroll-margin-top: 300px;
}

.bloc.standard-width {
    margin: 0 auto;
}

.bloc.standard-width {
    margin: 0 auto;
}

/*.images-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: var(--grid-gutter);
    grid-row-gap: var(--grid-gutter);
}

.image-square {
    grid-area: 1 / 1 / 3 / 2;
}

.image-16-9.image-top {
    grid-area: 1 / 2 / 2 / 3;
}

.image-16-9.image-bottom {
    grid-area: 2 / 2 / 3 / 3;
}*/


.images-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-gutter);
}

.image-square,
.sub-images {
    flex: 0 0 calc(50% - (var(--grid-gutter) / 2));
}

.image-square {
    aspect-ratio: 1;
}

.sub-images {
    display: flex;
    flex-direction: column;
    gap: var(--grid-gutter);
}

.sub-images div {
    display: block;
    flex: 0 0 50%;
    overflow: hidden;
}

.column {
    box-sizing: border-box; /* inclure le padding dans le calcul des largeurs */
    padding: 2rem;
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
}

.column .column {
    margin: 0; /* marge haut et bas */
    display: flex; /* aligner les colonnes */
    justify-content: space-between; /* harmoniser les marges des colonnes */
    padding: 0;
}

.column img {
    max-width: 100%;
    height: auto;
}

/* Colonnes 1-2 / 1-2 */
.column1-2 {
    width: 49.5%;
}

/* Colonnes 1-3 / 2-3 */
.column1-3 {
    width: 33%;
}

.column2-3 {
    width: 66%;
}

/* Colonnes 1-4 */
.column1-4 {
    width: 24.25%;
}

/* colonnes 1/6  - 1/6 - 2-3 */
.column1-6 {
    width: 15.83333%;
}

/*.column-200px {
	max-width: 200px;
	flex: 0 0 200px;
}
.column-auto {
	flex: 0 1 100%;
}*/
/* Liens */
.main a {
    color: var(--tertiary-light-2);
}

.main a:hover {
    text-decoration: none;
}

/* Titres */
.main h1 {
    font-size: 2.2rem;
    line-height: 2.4rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--tertiary-dark);
}

h2 {
    font-size: 2rem;
    line-height: 2.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--tertiary-light);
}

h3 {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    color: var(--tertiary-base);
}

* + h2 {
    margin-top: 4rem;
    margin-bottom: 1.2rem;
}

* + h3 {
    margin-top: 1rem;
}


/* Paragraphe */
.main p {
    margin-bottom: 1.5rem;
}

/* Spécificités du contenu */
/* ClearFix : classe "clearfix" à utiliser
sur le parent d'une image en float,
pour retourner dans un flux normal */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/*backslash hack hides from IE mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* end backslash hack

/* float clearing for IE6 */
* html .clearfix {
    height: 1%;
    overflow: visible;
}

/* float clearing for IE7 */
* + html .clearfix {
    min-height: 1%;
}

/* Fin clearfix */

/* Image flottante droite */
.floatright {
    float: right;
    margin: 0 0 1rem 1rem;
}

/* Image flottante gauche */
.floatleft {
    float: left;
    margin: 0 1.2rem 1.2rem 0;
}

/* Bloc texte */
.bloc-texte {
    box-sizing: border-box;
    background: var(--bg-bloc-text);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-bloc-text);
}

/* Page Produit */
/*.bloc-product .column1-3 {
order:0;
}
.bloc-product .column2-3 {
order:1;
}*/
.product-intro {
    font-size: 1.6rem;
    line-height: 1.7rem;
    color: var(--tertiary-light-2);
}

#product-img {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bloc-product .viewer-wrap {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.bloc-product .viewer {
    flex: 0 0 auto;
}

.bloc-product .rslides_tabs {
    /*max-height: 150px;*/
    flex: 0 1 100%;
    overflow-y: auto;
}

.bloc-product dl {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.8rem 0;
}

.bloc-product dt, .bloc-product dd {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
    padding-bottom: .2rem;
}

.bloc-product dt {
    flex: 0 0 var(--dt-item-width);
}

.bloc-product dd {
    flex: 0 0 calc(100% - var(--dt-item-width));
}

.product-price {
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(var(--color-highlight-rgb), 0.1);
}

.product-price-wrap {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.product-price-wrap .btn-buy {
    order: 1;
    flex: 0 0 auto;
}

.product-price .more-info {
    flex: 0 1 100%;
}
