header .logo-header img {
    visibility: hidden;
}

.herobanner {
    margin-top: -212px;
    padding: 0;
    background-image: url(https://ozzypizzeria.fr/wp-content/uploads/2026/01/herobanner-1-scaled.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.herobanner .min-height {
    min-height: calc(100vh - 278px);
    margin-top: 220px;
    margin-bottom: 0px;
}

.herobanner .padding-custom {
    margin-bottom: 5rem;
}

.herobanner h1 {
    color: var(--background);
    font-size: 3rem;
    font-family: var(--font-primary);
    margin-top: 1rem;
    font-weight: 500;
    line-height: 1.5;
}




.herobanner .text-lead {
    font-family: var(--font-tertiary);
    color: var(--white);
    font-size: 2rem;
}

.herobanner .underline-svg {
    position: relative;
    display: inline-block;
    padding-bottom: 0;
    z-index: 0;
    /* espace pour la courbe */
}



.herobanner .uk-button-primary {
    margin-right: 1rem;
}


/* LA nostra storia*/

/* PARENT avec PATTERN */
.histoire {
    position: relative;
    padding-top: 6rem;
    overflow-x: hidden;
}

.histoire .background {
    position: absolute;
    background-image: url("https://ozzypizzeria.fr/wp-content/uploads/2026/01/pattern-parmesan.webp");
    background-repeat: repeat;
    opacity: .3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.histoire .gradient-css {
    position: absolute;
    background: #FFF6EA;
    background: -webkit-linear-gradient(180deg, rgba(255, 246, 234, 1) 0%, rgba(255, 246, 234, 0) 5%);
    background: -moz-linear-gradient(180deg, rgba(255, 246, 234, 1) 0%, rgba(255, 246, 234, 0) 5%);
    background: linear-gradient(180deg, rgba(255, 246, 234, 1) 0%, rgba(255, 246, 234, 0) 5%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* CONTENU par-dessus */
.histoire>.uk-container {
    position: relative;
    z-index: 2;
}

.histoire h2 {
    margin-top: 0;
}

.histoire .text-subtitle {
    font-family: var(--font-tertiary);
    color: var(--red);
    font-size: 1rem;
    transform: rotate(-2deg);
    position: absolute;
    top: -2rem;
    left: 1rem;
}

.custom-gallery-grid {
    padding: 2rem 0;
    --gap: 2rem;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--gap);
    align-items: center;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    justify-content: center;
    position: relative;
}

/* Colonnes à proportions fixes */
.gallery-col-10 {
    flex: 0 0 10%;
}

.gallery-col-15 {
    flex: 0 0 15%;
}

.gallery-col-17-5 {
    flex: 0 0 17.5%;
}

.gallery-col-20 {
    flex: 0 0 20%;
}

.gallery-col-25 {
    flex: 0 0 25%;
}


.gallery-col-30 {
    flex: 0 0 30%;
}

.gallery-col-35 {
    flex: 0 0 35%;
}

.gallery-col-40 {
    flex: 0 0 40%;
}

.custom-gallery-grid img {
    border-radius: 0.5rem;
}

.margin-bottom-grid-img {
    margin-bottom: 2rem;
}

.galerie-mobile {
    padding: 0 2rem;
}

.galerie-mobile img {
    object-fit: cover;
    aspect-ratio: 4 / 5;
    object-position: center;
    border-radius: 1rem;
}

.galerie-mobile .uk-dotnav>.uk-active>* {
    background-color: var(--blue-500);
}

@media (max-width: 640px) {
    .custom-gallery-grid {
        flex-direction: column;
    }

    .gallery-col-10,
    .gallery-col-20,
    .gallery-col-40 {
        flex: 0 0 100%;
    }
}

.reassurance {
    padding: 4rem 0;
}

.reassurance h3 {
    font-family: var(--font-tertiary);
    color: var(--red);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.reassurance p {
    margin-top: 0;
    margin-bottom: 0;
}

/****OFFRE*****/

.offres {
    background-color: var(--background);
    overflow: hidden;
}

.offres .text-subtitle {
    font-family: var(--font-tertiary);
    color: var(--red);
    font-size: 1rem;
    transform: rotate(-2deg);
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.offres .underline-svg {
    position: relative;
    display: inline-block;
    padding-bottom: 0;
    z-index: 0;
    /* espace pour la courbe */
}

.offres .underline-svg::after {
    content: "";
    position: absolute;
    left: -4rem;
    right: 0;
    bottom: -1.5rem;
    /* ajuste la hauteur sous le texte */
    height: 38px;
    width: 408px;
    /* hauteur du SVG */
    background-image: url('https://ozzypizzeria.fr/wp-content/uploads/2026/01/underline-aime.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* s’adapte à la largeur du mot */
    pointer-events: none;
    z-index: -1;
    /* derrière le texte */
}

.offres img {
    border-radius: 0.5rem;
}

.offres .formules h3 {
    font-family: var(--font-tertiary);
    color: var(--red);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.offres .formules .price {
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 12;
    color: var(--background);
    width: 120px;
    height: auto;
}

.offres .formules .price p {
    font-family: var(--font-tertiary);
    color: var(--background);
    transform: rotate(-2deg);

}

.offres .formules .price p .text-lead {
    font-size: 1.5rem;
}

.offres .formules p {
    margin-top: 0;
    margin-bottom: 0;
}

/************TEMOIGNAGES*********/

.temoignages {
    overflow-x: hidden;
}

.temoignages .uk-container-expand-left {
    margin-right: 0;
    padding-right: 0;
    max-width: 100%;
}

.temoignages h2 {
    position: relative;
}

.temoignages .uk-link-reset {
    color: var(--blue) !important;
}

.temoignages .ti-widget.ti-goog .ti-reviews-container-wrapper {
    padding: 1rem 0 !important;
    margin: 0 !important;
}

.temoignages .ti-widget-container {
    margin-bottom: 0;
}

.temoignages .ti-widget.ti-goog div.ti-review-item>.ti-inner {
    background-color: var(--blue) !important;
}

.temoignages .ti-name,
.temoignages .ti-widget.ti-goog .ti-widget-container .ti-date {
    color: var(--background) !important;
}

.temoignages .ti-review-content {
    color: var(--background) !important;
}

.temoignages .ti-read-more-active {
    color: var(--background) !important;
}

.temoignages .ti-widget.ti-goog .ti-controls .ti-next,
.temoignages .ti-widget.ti-goog .ti-controls .ti-prev {
    position: absolute;
    width: 4rem;
    height: 4rem;
    display: block;
    opacity: 1;
    transition: all 200ms ease-out;
    background-color: var(--background) !important;
    outline-style: none !important;
    outline-width: 0 !important;
    outline-color: initial !important;
    border-radius: 50px;
    box-shadow: 0px 8px 16px #201b1312;
}

.temoignages .ti-widget.ti-goog .ti-controls .ti-next:before,
.temoignages .ti-widget.ti-goog .ti-controls .ti-prev:before {
    transition: all 200ms ease-out;
    content: "";
    display: block;
    position: absolute;
    background-color: var(--background);
    background-image: url(https://ozzypizzeria.fr/wp-content/uploads/2026/01/arrow.svg);
    border-style: solid;
    border-width: 0;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
    border-color: initial;
    width: 2rem;
    height: 2rem;
    top: 50%;
    left: 50%;
}

.ti-widget.ti-goog .ti-controls .ti-next:before {
    transform: translate(-50%, -50%) !important;
}

.ti-widget.ti-goog .ti-controls .ti-prev:before {
    transform: translate(-50%, -50%) rotate(180deg) !important;
}

.temoignages .ti-widget.ti-goog .ti-controls .ti-next:hover,
.temoignages .ti-widget.ti-goog .ti-controls .ti-next:focus {

    cursor: pointer !important;
    background-color: var(--background) !important;
    transform: translateX(8px);
    outline-color: initial !important;
    box-shadow: initial !important;
}

.temoignages .ti-widget.ti-goog .ti-controls .ti-prev:hover,
.temoignages .ti-widget.ti-goog .ti-controls .ti-prev:focus {
    cursor: pointer !important;
    background-color: var(--background) !important;
    transform: translateX(-8px);
    outline-color: initial !important;
    box-shadow: initial !important;
}

.temoignages .ti-widget.ti-goog .ti-controls .ti-next {
    right: 2rem;
}

.temoignages .avis {
    gap: 2rem;
}

.temoignages .icon-review {
    margin-right: 0.25rem;
}

.actualites .img-ratio {
    aspect-ratio: 4/5;
    object-fit: cover;
}

.actualites article h3 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-family: var(--font-primary);
}

.actualites article p {
    margin-top: 0;
    margin-bottom: 0;
}

.actualites article .read-more {
    font-family: var(--font-tertiary);
    color: var(--red);
    font-size: 1.125rem;
    gap: 0.5rem;
}

.actualites article a:hover {
    text-decoration: none;
}

/***********FAQ***********/

.faq {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.faq .background {
    position: absolute;
    background-image: url("https://ozzypizzeria.fr/wp-content/uploads/2026/01/pattern-parmesan.webp");
    background-repeat: repeat;
    opacity: .3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* CONTENU par-dessus */
.faq>.uk-container {
    position: relative;
    z-index: 2;
}

.faq li {
    border-bottom: solid 1px var(--blue);
    padding-bottom: 1rem;
}

.faq .uk-accordion-title {
    font-size: 1.125rem;
    font-family: var(--font-secondary);
    color: var(--blue);

}

.cta h2 {
    margin-bottom: 0;
}

.cta .text-lead {
    font-size: 1.5rem;
    color: var(--blue);
    font-family: var(--font-primary);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.cta .buttons {
    gap: 1rem;
}

.cta .pizza-cta img {
    scale: 1.2;
}

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

    .herobanner {
        margin-top: initial;
        position: relative;
    }

    .herobanner::after {
        content: '';
        background: #060B0E;
        background: -webkit-linear-gradient(0deg, rgba(6, 11, 14, 0.50) 0%, rgba(6, 11, 14, 0) 80%);
        background: -moz-linear-gradient(0deg, rgba(6, 11, 14, 0.50) 0%, rgba(6, 11, 14, 0) 80%);
        background: linear-gradient(0deg, rgba(6, 11, 14, 0.50) 0%, rgba(6, 11, 14, 0) 80%);
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .herobanner>* {
        position: relative;
        z-index: 1;
    }

    .herobanner .logo-herobanner {
        max-height: 10rem;
    }



    .herobanner h1 {
        color: var(--background);
        font-size: 1.5rem;
    }

    .herobanner .underline-svg::after {
        height: 38px;
        width: 280px;
    }

    .herobanner .text-lead {
        font-size: 1.25rem;
    }

    .herobanner .min-height {
        min-height: 560px;
        margin-top: 64px;
        justify-content: end;
    }

    .histoire {
        padding-top: 3rem;
    }

    .histoire::before {
        content: '';

        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }

    .padding-custom {
        margin-bottom: 0rem;
    }

    h2 {
        font-size: 2rem;
    }

    .histoire .uk-grid-margin {
        margin-top: 1rem;
    }

    .custom-gallery-grid {
        padding: 0 2rem;
    }

    .gallery-col-17-5 {
        display: none;
    }

    .reassurance .item {
        padding: 0 2rem;
    }

    .offres .underline-svg::after {
        content: "";
        right: -1rem;
        left: initial;
        bottom: -1.5rem;
        height: 28px;
        width: 300px;

    }

    .offres .formules h3 {
        font-size: 1.5rem;
    }

    .offres .formules img:not(.badge-volonte) {
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .avis p {
        margin-top: 0;
        margin-bottom: 0;
    }

    .cta img {
        display: none;
    }

    .offres .formules img.formule {
        object-position: bottom;
    }

}

@media screen and (max-width:640px) {
    .herobanner {
        background-image: url(https://ozzypizzeria.fr/wp-content/uploads/2026/02/heromobile-1.webp);
    }

}