.cont-tarifs-offres {
display: flex; padding: 70px 20%;  
overflow: hidden;
position: relative;
flex-direction: column;
border-top: 1px solid #ECECEC;
}
.cont-tarifs-offres span.purple-line { top: 50px;
right: 20%; 
}
.cont-tarifs-offres.activeTarifs:before {
content: "";
left: -2%;
width: 30%;
bottom: 0;
height: 58%;
z-index: -1;
position: absolute;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-image: url(//megazonevaise.com/wp-content/uploads/ac_assets/tarifs_offres/fili-tarifs.svg);
}
.cont-tarifs-offres.activeOffres:after {
content: "";
left: -2%;
width: 30%;
height: 30%;
bottom: 0;
z-index: -1;
position: absolute;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-image: url(//megazonevaise.com/wp-content/uploads/ac_assets/tarifs_offres/fili-offre.svg);
}
.cont-tarifs-offres > div.tarifs {
gap: 2em;
padding: 2em;
display: flex;
flex-wrap: wrap;
position: relative;
align-items: center;
flex-direction: row;
justify-content: space-between;
clip-path: polygon(2% 0%, 100% 0, 100% 90%, 98% 100%, 0 100%, 0% 10%);
}
.cont-tarifs-offres .bg{
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transition: all linear 0.5s;
}
.cont-tarifs-offres .item-offre:hover .bg {
animation: scale 40s linear infinite;
}
.cont-tarifs-offres .cta,
.cont-tarifs-offres .titles {
z-index: 10;
position: relative;
}
@keyframes scale {
80% {
transform:scale(1.2);
}
}
.item-offre:before {
content: "";
z-index: 4;
opacity: 0;
width: 100px;
height: 100px;
position: absolute;
pointer-events: none;
top: 50% !important;
left: 50% !important;
right: auto !important;
bottom: auto !important;
transform-origin: center;
transition: all 1s !important;
transform: translate(-50%, -50%);
background-color: #ffffff;
}
.item-offre:hover:before {
width: 110%;
height: 110%;
opacity: 0.1;
}
.cont-tarifs-offres > div.offres {
gap: 1em;
display: grid;
margin-bottom: 5%;
grid-template-columns: repeat(2,1fr);
}
.cont-tarifs-offres > div.offres > div {
min-height: 429px;
display: flex;
position: relative;
flex-direction: column;
padding: 2em 2em 4em 2em;
justify-content: space-between;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.cont-tarifs-offres > div.offres > div:first-child {
clip-path: polygon(5% 0%, 100% 0, 100% 100%, 0 100%, 0% 10%);
}
.cont-tarifs-offres > div.offres > div:last-child {
clip-path: polygon(100% 0, 100% 90%, 95% 100%, 0 100%, 0 0);
}
.cont-tarifs-offres .cta a {
font-size: 22px;
font-weight: 400;
position: relative;
text-decoration: none;
letter-spacing: 1.1px;
padding: 0.4em 0;
color: #ffffff!important;
text-transform: uppercase;
font-family: "Teko", Sans-serif;
}
.cont-tarifs-offres .cta a::after {
left: 0;
z-index: 0;
content: "";
width: 100%;
height: 54px;
opacity: 0.3;
position: absolute;
filter: blur(21px);
background: var( --e-global-color-accent );
}
.cont-tarifs-offres .cta a > span {
z-index: 9;
position: relative;
padding: 0.4em 1.5em;
transition: 0.3s linear;
background-color: var( --e-global-color-accent );
clip-path: polygon(5% 0%, 100% 0, 100% 70%, 95% 100%, 0 100%, 0% 30%)!important;
}
.cont-tarifs-offres .cta a > span > span {
z-index: 10;
position: relative;
}
.cont-tarifs-offres .cta a > span::before {
content: "";
top:-5%;
left:-1%;
bottom:-5%;
width: 0;
position: absolute;
transition: 0.3s ease-out;
background-color: var( --e-global-color-primary );
}
.cont-tarifs-offres .cta a:hover > span::before {
width:110%;
}
.cont-tarifs-offres .titles h3 {
font-size: 17px;
font-weight: 500;
line-height: 15px;
letter-spacing: 3.4px;
text-transform: uppercase;
font-family: "Teko", Sans-serif;
color: var( --e-global-color-accent );
}
.cont-tarifs-offres .titles h4 {
font-size: 74px;
line-height: 47px;
font-weight: 600;
margin-left: -4px;
letter-spacing: -1.85px;
text-transform: uppercase;
margin-bottom: 0.1em!important;
font-family: "Teko", Sans-serif;
color: var( --e-global-color-accent );
}
.cont-tarifs-offres .titles p {
color: #ffffff;
font-size: 30px;
font-weight: 500;
line-height: 25px;
letter-spacing: 3px;
text-transform: uppercase;
margin-bottom: 0!important;
font-family: "Teko", Sans-serif;
}  @media (max-width: 767px) { .cont-tarifs-offres {
padding: 70px 5%;
}
.cont-tarifs-offres span.purple-line { top: 50px;
right: 5%;
width: 4em; 
}
.cont-tarifs-offres.activeOffres:after {
width: 103%;
height: 21%;
}
.cont-tarifs-offres.activeTarifs:before {
width: 103%;
height: 37%;
}
.cont-tarifs-offres .titles h3 {
font-size: 11px;
line-height: 5px;
}
.cont-tarifs-offres .titles h4 {
font-size: 40px;
line-height: 30px;
}
.cont-tarifs-offres .titles p {
font-size: 12px;
line-height: 14px;
}
.cont-tarifs-offres > div.offres {
gap: 1em;
grid-template-columns: repeat(1,1fr);
}
.cont-tarifs-offres > div.tarifs,
.cont-tarifs-offres > div.offres > div {
min-height: 250px
}
.cont-tarifs-offres > div.tarifs {
clip-path: polygon(5% 0%, 100% 0, 100% 90%, 95% 100%, 0 100%, 0% 10%);
}
} @media (min-width: 768px) and (max-width: 1024px) { .cont-tarifs-offres {
padding: 70px 5%;
}
.cont-tarifs-offres span.purple-line {  right: 5%;
width: 4em; 
}
.cont-tarifs-offres.activeOffres:after {
height: 22%;
}
.cont-tarifs-offres.activeTarifs:before {
width: 43%;
height: 43%;
}
.cont-tarifs-offres .titles h3 {
font-size: 11px;
line-height: 5px;
}
.cont-tarifs-offres .titles h4 {
font-size: 40px;
line-height: 30px;
}
.cont-tarifs-offres .titles p {
font-size: 12px;
line-height: 14px;
}
.cont-tarifs-offres > div.offres > div {
min-height: 250px
}
} @media (max-width: 1024px) {
.cont-tarifs-offres .cta a {
font-size: 16px;
padding: 0.5em 0;
}
.cont-tarifs-offres .cta a > span {
padding: 0.5em 1.5em;
}
} @media (min-width: 1025px) {
} @media (min-width: 1025px) and (max-width: 1700px) { .cont-tarifs-offres {
padding: 70px 15%;
}
.cont-tarifs-offres span.purple-line {
top: 50px; right: 15%;
width: 5em; 
}
.cont-tarifs-offres.activeOffres:after {
height: 26%;
}
.cont-tarifs-offres.activeTarifs:before {
height: 43%;
}
.cont-tarifs-offres .titles h4 {
font-size: 66px;
line-height: 40px;
}
.cont-tarifs-offres .titles p {
font-size: 25px;
line-height: 22px;
}
.cont-tarifs-offres > div.offres > div {
min-height: 360px
}
}