/*
 Theme Name:   Pecherie Manicouagan
 Theme URI:    http://dix-onze.ca/wp-blank/
 Description:  Theme par Dix-Onze inc.
 Author:       Dix-Onze inc.
 Author URI:   http://dix-onze.ca/
 Version:      5.0.0
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main, input, textarea  {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary, main {
	display: block;
}

/*---Universal Selector to add additional resets, such as text-size adjust and tap highlighting---*/

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
}


ol, ul {list-style-type: none;}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

/*---Additional Form resets---*/

button, input[type="button"] {
	background: none;
}

:required {
	box-shadow: none;
}

/*---Typographic Styling---*/

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

u {
	text-decoration: underline;
}

pre, code {
	font-family: Monaco, Courier, monospace;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}

blockquote, q {
	quotes: "" "";
}

blockquote:before, blockquote:after, q:before,	q:after {
	content: "";
}

/*---Interactive Element Settings---*/

a, input[type="submit"], input[type="button"], button, label[for] {
	cursor: pointer;
}

/* End strppd.css */

/* Proper box model */
* { }

/* General styles */

html {
	font-family: "Montserrat", sans-serif;
	font-size: clamp(16px, 1vw, 20px);
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;    
	line-height: 1.2;
    color: var(--bleu-fonce);
}

html .inverse {
    color: white;
}

body {
}

a {
	transition: all .3s;
    color: var(--bleu-clair);
}

a:hover {
    color: var(--bleu-fonce);
}

.inverse a {
    color: white;
    text-decoration: underline;
}
    .inverse a:hover {
        color: white;
        text-decoration: none;
    }

address {
}

aside {
}

b, strong {
}

blockquote {
}

button {
	cursor: pointer;
}
button:hover {
}

caption, th, td {
	vertical-align: middle;
}

h1 {
    font-size: clamp(2.5rem, 3.75vw, 3.875rem);
    font-weight: bold;
}
.boite-diapo h1 {
    color: white;
    margin: 0;
}
    .boite-diapo h1 span {
        font-size: clamp(1.25rem, 1.75vw, 1.75rem);
        font-weight: normal;
        display: block;
    }
h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: bold;
    margin-bottom: 20px;
}
h2 span.leger {
    font-weight: 500;
}
.boite-produit-format h2 {
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -1px;
    color: var(--bleu-fonce);
    margin-bottom: 30px;
}
.boite-diapo h2 {
    font-size: clamp(1.25rem, 1.70vw, 1.75rem);
    font-weight: normal;
    color: white;
    margin: 0;
}
h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
#piedpage-generique h3 {
    font-size: 1.125rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 24px;
}
h4 {
}
h5 {
}
h6 {
}

i, em {
}

img {
}

input, select, textarea {
}

input[type="radio"] {
}
input[type="checkbox"] {
}
input[type="text"] {
}

label {
}

li {
}

p {
	margin-bottom: 24px;
}

select {
}
select option {
}

table {
	border: 0; border-spacing:0; empty-cells:show;
}

textarea {
	resize: none;
}

ul, ol {
	margin-left: 20px;
	margin-bottom: 24px;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}






/* Custom styles */

:root {
    --admin-bar-h: 0px;
    --bleu-clair: #36b4e5;
    --bleu-fonce: #004a87;
}
body.admin-bar {
    --admin-bar-h: 32px; /* desktop */
}

.wrapper {
    width: 100%;
    max-width: 1640px;
    box-sizing: border-box;
    padding: 0 20px;
    margin: 0 auto;
}

#entete-generique {
	width: 100%;
    padding-top: 40px;
    background: white;
	position: relative;
    z-index: 100;
}

#menu_principal {
    margin: 0;
    display: inline-block;
}
	#menu_principal li {
        display: inline-block;
        padding: 0 10px;
	}
    #menu_principal li:first-child {
        padding-left: 0;
    }
    #menu_principal li:last-child {
        padding-right: 0;
    }
	#menu_principal li a {
        text-transform: uppercase;
        color: var(--bleu-fonce);
        font-weight: 500;
	}
	#menu_principal li a:hover {
		color: var(--bleu-clair);
	}

#menu-mobile {
    color: var(--bleu-foncer);
	cursor: pointer;
	display: none;
    position: relative;
    z-index: 9060;
}
#menu-mobile.fa-times {
    color: white;
}
#menu-mobile:before {
	font-size: 24px;
}

.menu-haut {
    text-align: right;
}

#menu_haut {
    list-style: none;
    display: inline-block;
    margin: 0;
}
    #menu_haut li {
        display: inline-block;
        padding: 0 10px;
    }
    #menu_haut li:first-child {
        padding-left: 0;
    }
    #menu_haut li:last-child {
        padding-right: 0;
    }
        #menu_haut li a {
            text-transform: uppercase;
            color: var(--bleu-fonce);
            font-weight: 500;
        }
        #menu_haut li a:hover {
            color: var(--bleu-clair);
        }

.grid-entete {
	display: grid;
	grid-template-columns: 30% 70%;
	grid-gap: 0;
	position: relative;
    align-items: center;
}

.grid-entete-logo {
}
.grid-entete-menu {
    text-align: right;
}


#piedpage-generique {
    position: relative;
    padding-bottom: 20px;    
}

#piedpage-generique .wrapper {
    position: relative;
    margin-top: -30px;
    z-index: 75;
}

#piedpage-generique h2 {
    text-align: center;
    margin-bottom: 50px;
}

#piedpage-copyright {
    padding: 10px 0;
    background: var(--bleu-clair);
    font-size: 0.9rem;
    color: white;
}
    #piedpage-copyright a {
        color: white;
        text-decoration: underline;
    }
    #piedpage-copyright a:hover {
        text-decoration: none;
    }

.pp-logo {
    width: 330px;
    position: absolute;
    left: 0;
    top: -15px;
}

.pp-colonnes {
    width: 100%;
    display: flex;
    gap: 55px;
    flex-wrap: wrap;
}
.pp-colonne {
    flex: 1;
}
.pp-colonne p {
    color: black;
    font-weight: 500;
}

#contenu-generique {
    position: relative;
    z-index: 50;
}
#contenu-generique.un-produit {
    padding: 0;
}

.deco-bateau {
    width: 60%;
    position: absolute;
    left: -25%;
    top: 250px;
    z-index: 200;
    opacity: 1;
}
.deco-bateau img {
    width: 100%;
}

.boite-diapo {
    height: auto;
    /*aspect-ratio: 1640 / 710;*/
    aspect-ratio: 1200 / 700;
    background: url('assets/images/bg-crabes-neige-1640.jpg') no-repeat center center;
    background-size: cover;
    margin-top: -219px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 50;
    padding-left: 25%;
    box-sizing: border-box;
}
.boite-diapo .fader {
    z-index: 5;
}
.boite-diapo .wrapper {
    z-index: 10;
}
.boite-diapo-texte {
}

.boite-produits-mer {
    min-height: 400px;
    background-color: white;
    padding: 0 0 80px 0;
    margin-top: -50px;
    position: relative;
    z-index: 60;
}
.boite-produits-mer-texte {
    padding-bottom: 25px;
    text-align: right;
}

.boite-poissonneries {
    min-height: 600px;
    padding-top: 100px;
    padding-bottom: 250px;
    box-sizing: border-box;
    background: #283443 url('assets/images/bg-fruits-mer.png?v=2') repeat center center;
    position: relative
}
.boite-poissonneries-bas {
    width: 100%;
    max-width: 1640px;
    height: 250px;
    position: absolute !important;
	left: 50%;
    bottom: 0;
	transform: translateX(-50%);
}
    .boite-poissonneries-bas .grid-child.gauche {
        background: url('assets/images/restaurant-les-escoumins.png') no-repeat right center;
        background-size: cover;
        position: relative;
    }
        .boite-poissonneries-bas .grid-child.gauche a {
            display: inline-block;
            position: absolute;
            right: 25px;
            bottom: 75px;
        }
    .boite-poissonneries-bas .grid-child.droite {
    }

.boite-produits-maison {
    min-height: 400px;
    padding-top: 50px;
    box-sizing: border-box;
    background-color: var(--bleu-clair);
}
    .pm-cta {
        width: 100%;
        position: relative;
    }
    .pm-cta img {
        width: 100%;
        display: block;
    }
    .pm-cta a {
        position: absolute;
        right: -5%;
        top: 50%;
	    transform: translateY(-50%);
    }

.boite-traiteur {
    padding-top: 400px;
    padding-bottom: 400px;
    box-sizing: border-box;
    background-color: var(--bleu-fonce);
    display: flex;
}

.grid-produits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 30px;
}

/* Parent : autorise le débordement */
.grid-produit {
	position: relative;
	display: block;
	aspect-ratio: 480 / 440;
	overflow: visible; /* IMPORTANT */
}

/* Wrapper qui coupe */
.produit-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden; /* clipping ici */
}

/* Background */
.produit-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--bg-image) no-repeat center center;
	background-size: cover;
	transition: transform 0.5s ease;
	z-index: 1;
}

/* Zoom */
.grid-produit:hover .produit-inner::before {
	transform: scale(1.1);
	filter: brightness(1.05);
}

/* Overlay */
.produit-inner .fade {
	position: absolute;
	inset: 0;
	z-index: 5;
}




.boite-produit-entete {
    width: 100%;
    height: clamp(400px, 48.78vw, 800px);
    background: var(--bleu-clair);
    position: relative;
    z-index: 30;
}

.produit-entete-vague-haut {
    width: 100%;
    position: absolute;
    left: 0;
    top: -2px;
    z-index: 30;
}
.produit-entete-bateau {
    width: clamp(200px, 35%, 685px);
    left: -15%;
    bottom: 10%;
    position: absolute;
    z-index: 40;
}
.produit-entete-image-bg {
    width: 50%;
    height: 100%;
    /*background: url('assets/images/bg-crabes-neige-1640.jpg') no-repeat center center;*/
    background-color: #222;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;    
    position: absolute;
    right: 0;
    top: 0;
    z-index: 25;
}
.produit-entete-vague-bas {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -2px;
    z-index: 50;
}

.produit-entete-image {
    position: absolute;
    right: calc(50% - 33vw);
    bottom: -50px;
    z-index: 75;
}
    .produit-entete-image img {
        width: 33vw;
    }

.produit-entete-titre {
    width: 40%;
    max-width: clamp(300px, 24.5vw, 24.5vw);
    position: absolute;
    right: 52%;
    top: 50%;
    z-index: 50;
    text-align: right;
}    
    .produit-entete-titre h1 {
        line-height: 1;
        color: white;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    .produit-entete-titre h1 span {
        display: block;
        font-weight: 500;
        font-size: clamp(2rem, 3.25vw, 3.375rem);
    }
    .produit-entete-titre p {
        color: white;
        font-size: 1.2rem;
        margin-bottom: 0;
        text-transform: uppercase;
    }

.produit-galerie {
    width: 100%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	position: relative;
}
    .produit-galerie .grid-child{
      aspect-ratio: 1 / 1;
      overflow: hidden;
    }
    .produit-galerie a {
        display: block;
    }
    .produit-galerie img {
        width: 100%;
        height: auto;
        display: block;
    }

.produit-navigation {
    display: flex;
    justify-content: space-between;
    padding: 45px 0;
}

.boite-produit-piedpage {
    height: 200px;
    background: var(--bleu-clair);
}

.boite-produit-description {
    background: white;
    position: relative;
    z-index: 40;
}
    .boite-produit-description .grid-50-50 {
        align-items: end;
        padding-bottom: 60px;
    }
    .boite-produit-description .pre-desc {
        font-size: 1.8rem;
        font-weight: bold;
        text-align: right;
        color: var(--bleu-clair);
    }
    .boite-produit-description .desc {
        color: black;
    }

.boite-produit-description {
    position: relative;
    z-index: 20;
}

.boite-produit-format {
    color: black;
}


/* Bouton qui peut dépasser */
.grid-produit .btn-std {
	position: absolute;
	bottom: 50px;
	right: -10px; /* débordement visible */
	z-index: 15;
}




.grid-50-50 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 50px;
	position: relative;
}
.grid-50-50.align-top {
    align-items: start;
}
.grid-50-50.avec-marge {
    margin-bottom: 50px;
}

.clean {
    clear: both;
    float: none;
}


.svg-wrapper {
    width: 100%;
    overflow: hidden;
}

.svg-wrapper .svg-stretch {
    width: 100%;
    height: 100%;
    object-fit: fill; /* permet la déformation */
    display: block;
}




.entete-vague,
.piedpage-vague,
.vague-contenu-1,
.vague-contenu-2,
.vague-contenu-3 {
    position: relative;
    z-index: 55;
    pointer-events: none;
}

.entete-vague .svg-wrapper {
    height: 219px;
}

.piedpage-vague {
    margin-top: -120px;
}
.piedpage-vague .svg-wrapper {
    height: 125px;
}

.vague-contenu-1 {
    margin-top: -160px;
}
.vague-contenu-1 .svg-wrapper {
    height: 163px;
}

.vague-contenu-2 {
    margin-top: -160px;
}
.vague-contenu-2 .svg-wrapper {
    height: 163px;
}

.vague-contenu-3 .svg-wrapper {
    height: 163px;
    margin-bottom: -160px;
}

.btn-std {
    color: white;
    font-weight: 600;
    padding: 10px 15px;
    display: inline-block;
    background: var(--bleu-clair);
    text-decoration: none !important;
    text-transform: uppercase;
}
    .btn-std:hover {
        color: white;
        background: var(--bleu-fonce);
    }
.btn-std.bleu-fonce {
    color: white;
    background: var(--bleu-fonce);
}
    .btn-std.bleu-fonce:hover {
        color: white;
        background: var(--bleu-clair);
    }

.fader {
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.max-width-l {
    max-width: 1240px;
}
.max-width-m {
    max-width: 960px;
}
.max-width-s {
    max-width: 860px;
}
.max-width-l.centre,
.max-width-m.centre,
.max-width-s.centre {
    margin-left: auto;
    margin-right: auto;
}

.align-center {
    text-align: center;
}

.marge-top {
    margin-top: 50px;
}





/* Responsive */

/* Sous 1640px → on conserve le ratio */
@media (max-width: 1640px) {
    
    .wrapper {
        box-sizing: border-box;
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .boite-traiteur {
        padding-top: 300px;
        padding-bottom: 300px;
    }
    
    .pm-cta {
        margin-left: -6%;
    }    

    .svg-wrapper {
        height: auto !important;
    }

    .svg-wrapper img {
        height: 100%;
        object-fit: contain; /* conserve ratio */
    }
    
    .entete-vague .svg-wrapper {
        aspect-ratio: 1640 / 219;
    }
    
    .piedpage-vague {
        margin-top: -7.3171vw;
    }
    .piedpage-vague .svg-wrapper {
        aspect-ratio: 1640 / 125;
    }
    
    .vague-contenu-1 {
        margin-top: -9.94vw;
    }
    .vague-contenu-1 .svg-wrapper {
        aspect-ratio: 1640 / 163;
    }
    
    .vague-contenu-2 {
        margin-top: -17.6000vw;
    }
    .vague-contenu-2 .svg-wrapper {
        aspect-ratio: 1640 / 297;
    }
    
    .vague-contenu-3 .svg-wrapper {
        aspect-ratio: 1640 / 131;
        margin-bottom: -7.8vw;
    }
    
    .boite-diapo {
        margin-top: -13.1vw;
    }
    
    .boite-produits-mer {
        margin-top: -3.0487vw;
    }
}

@media screen and (max-width: 1600px) {
    .boite-diapo {
        aspect-ratio: 1200 / 700;
    }
}

@media screen and (max-width: 1200px) {
    .pp-ajustement-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #piedpage-generique h2 {
        margin-bottom: 40px;
    }
    
    .pp-logo {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 20px;
    }    
}

@media screen and (max-width: 960px) {
    .grid-50-50 {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 0;
        position: relative;
    }
    
    .boite-produit-description .pre-desc {
        text-align: left;
        padding: 60px 0 40px 0;
    }
    
    .boite-produit-format .grid-50-50 {
    }
    .boite-produit-format .grid-50-50 > :nth-child(1) {
        order: 2;
    }
    .boite-produit-format .grid-50-50 > :nth-child(2) {
        order: 1;
    }
    
    .boite-produit-format h2 {
        text-align: left;
        margin-bottom: 0;
    }
    .boite-produit-format .produit-commande {
        text-align: left;
        padding: 20px 0 40px 0;
    }
    .produit-galerie {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .produit-navigation {
        justify-content: flex-end;
    } 
    .produit-navigation .btn-std {
        font-size: 0.75rem;
    }
    .produit-navigation .nav-prev {
        display: none;
    }
}

/* Mobile */
@media screen and (min-width: 901px) {/* 901 */
	#menu-mobile {
		display: none;
	}

	#menu-principal > ul {
		display: inline-block !important;
	}
}
@media screen and (max-width: 900px) {/* 900 */
	#menu-mobile {
		display: block;
	}

	#menu-principal {
		bottom: 40px;
	}	
    
    #menu_principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;        
    }

	#menu-principal ul {
		display: none;
		padding: 12px;
		background: rgba(0, 0, 0, 0.8);
		text-align: center;
        position: fixed;
		top: var(--admin-bar-h);
        right: 0;
        bottom: 0;
        left: 0;
		z-index: 9050;
	}
	#menu-principal > ul {
		border-radius: 2px;
	}
		#menu-principal ul li {
			display: block;
			float: none;
			clear: both;
		}

		#menu-principal ul a {
			color: white;
            font-size: 1.25rem;
			line-height: 1.4;
			margin: 0;
            padding: 10px 0;
            display: block;
		}
		#menu-principal ul li a:hover:not(.active) {
			border: none;
		}	
		#menu-principal ul.sub-menu {
			position: relative;
			left: auto;
			top: auto;
			right: auto;
			box-sizing: border-box;
		}
		#menu-principal li {
			margin-left: 0;
		}
		#menu-principal ul.sub-menu:before {
			left: 75px;
		}
	.sf-menu ul {
		min-width: inherit !important;
	}
	
	.hide-mobile {
		display: none !important;
	}
    
	li {
		list-style-position: inside !important;
	}
    
    .grid-produits {
        grid-template-columns: repeat(2, 1fr);
    }    
    .boite-traiteur {
        padding-top: 200px;
        padding-bottom: 200px;
    }
    #piedpage-copyright {
        text-align: center;
    }
}

@media (max-width: 782px) {
    body.admin-bar {
        --admin-bar-h: 46px; /* mobile/tablette WordPress */
    }
    .boite-diapo {
        padding: 75px 0 75px 0;
    }  
    .deco-bateau {
        display: none;
    }
    .boite-diapo {
        text-align: center;
        padding-left: 0;
    }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 600px) {
    .pp-colonnes {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .pp-colonne {
        text-align: center;
    }
    .grid-produits {
        grid-template-columns: 100%;
    }  
}

@media screen and (max-width: 480px) {
    .hide-mobile {
        display: none;
    }
}

@media screen and (max-width: 414px) {
}

@media screen and (max-width: 375px) {
}

@media screen and (max-width: 320px) {
}