/********** Template CSS **********/
:root {
    --primary: #f96d3a;
    --secondary: #e6ddd4;
    --light: #FFFFFF;
    --dark: #2B2825;
}

.font-secondary {
    font-family: 'Open Sans', Arial, sans-serif;
}

audio {
    width: 260px;
    height: 64px;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.border-inner {
    position: relative;
}

.border-inner * {
    position: relative;
    z-index: 1;
}

.border-inner::before {
    position: absolute;
    content: "";
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background: none;
    border: 1px solid var(--light);
    z-index: 0;
}

.btn-square {
    width: 40px;
    height: 40px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    padding: 30px 15px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fbf3e2; /* couleur personnalisée */
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 12px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header02 {
    background: url(../img/hero02.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header03 {
    background: url(../img/hero03.jpg) top center no-repeat;
    background-size: cover;
}


.hero-header04 {
    background: url(../img/hero04.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header05 {
    background: url(../img/hero05.jpg) top center no-repeat;
    background-size: cover;
}


.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}



.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 0;
    margin-left: -30px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 2px;
    left: 50%;
    bottom: 4px;
    margin-left: -90px;
    background: var(--primary);
}

.service::after,
.contact::after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background:  url(../img/service.jpg) center center no-repeat;
    background-size: cover;
    z-index: -1;
}

.contact::after {
    background: linear-gradient(rgba(43, 40, 37, .5), rgba(43, 40, 37, .5)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.bg-offer {
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/offer.jpg) center center no-repeat;
    background-size: cover;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
    filter: blur(5px)
}

.team-item .team-overlay {
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 2px;
    width: 10px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-item {
    opacity: 1;
    transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    opacity: 1;
    transform: translateY(-4px);
}

.bg-img {
    background: linear-gradient(rgba(43, 40, 37, .5), rgba(43, 40, 37, .5)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/* Par défaut, afficher l'image pour les ordinateurs */
.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* Sur les écrans de moins de 768px, afficher l'image pour mobile et la centrer horizontalement et verticalement */
@media (max-width: 768px) {
    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw; /* Assure que le conteneur prend toute la largeur de l'écran */
        height: 100vh; /* Assure que le conteneur prend toute la hauteur de l'écran */
        overflow: hidden; /* Cache les parties de l'image qui pourraient dépasser */
    }

    .mobile-image img {
        width: auto; /* Ajuste la largeur de l'image pour respecter son ratio d'origine */
        height: 100vh; /* Utilise la hauteur complète de l'écran pour bien remplir le conteneur verticalement */
        object-fit: cover; /* Couvre l'écran sans déformer l'image */
        object-position: center center; /* Centre l'image dans le conteneur, horizontalement et verticalement */
    }
}
/* Le cadrage des images mobiles est défini ci-dessus. */

.navbar-dark .navbar-nav .nav-link {
    color: #fbf3e2 !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.dropdown-item {
    color: #2B2825 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--primary) !important;
    background-color: #f5f1eb;
}

.footer a,
.bg-dark a.text-secondary {
    color: #e6ddd4 !important;
}

.footer a:hover,
.bg-dark a.text-secondary:hover {
    color: var(--primary) !important;
}



.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #f96d3a;
    border-color: #f96d3a;
    color: #FFFFFF;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.text-primary {
    color: var(--primary) !important;
}

/* Lecteur vidéo léger : la miniature locale est remplacée par YouTube au clic. */
.yt-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #2b2825 center / cover no-repeat var(--yt-thumbnail, #2b2825);
}
.ratio > .yt-facade,
.tova-short-ratio > .yt-facade { position: absolute; inset: 0; }
.yt-facade::before {
    content: "";
    position: absolute;
    inset: 0;
    background: center / cover no-repeat var(--yt-thumbnail, #2b2825);
}
.yt-facade > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-facade::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 68px;
    height: 48px;
    place-items: center;
    color: #fff;
    font-size: 25px;
    background: #f96d3a;
    border-radius: 12px;
    transform: translate(-50%, -50%);
}
iframe.youtube-loaded { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bg-primary {
    background-color: var(--primary) !important;
}
@media (max-width:991.98px){

    .navbar{
        padding-top:8px;
        padding-bottom:8px;
    }

    .navbar-brand{
        margin:0;
    }

    .navbar-brand img{
        max-height:95px !important;
    }

    .navbar-toggler{
        margin-right:15px;
    }

}

/* Performance, responsive type and accessible motion preferences. */
.back-to-top.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    h1.display-4,
    h1.display-5 {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.1;
    }

    .navbar-brand img {
        max-height: 72px !important;
        width: auto;
    }

    .tova-card,
    .tova-box { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.local-hero-image {
    aspect-ratio: 1690 / 720;
    max-height: 720px;
    object-fit: cover;
    object-position: center 40%;
}

.local-areas { background: #faf8f6; }

.local-area {
    height: 100%;
    padding: 30px;
    background: #fff;
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 28px rgba(43, 40, 37, 0.06);
}

.local-area h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
}

.local-area p { margin-bottom: 0; line-height: 1.75; }
.local-faq { background: #f4f0ec; }

.local-faq details {
    padding: 20px 0;
    border-bottom: 1px solid #d9d0c8;
}

.local-faq summary {
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.local-faq details p { margin: 14px 0 0; }

.repertoire-list li {
    position: relative;
    padding: 11px 0 11px 22px;
    border-bottom: 1px solid #ece7e3;
    line-height: 1.5;
}

.repertoire-list li::before {
    position: absolute;
    left: 0;
    color: var(--primary);
    content: "•";
}

.wedding-reasons { background: #fff; }

.wedding-kicker {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wedding-reasons-grid {
    border-top: 1px solid #e6ddd4;
    border-left: 1px solid #e6ddd4;
}

.wedding-reason {
    display: flex;
    min-height: 190px;
    height: 100%;
    padding: 34px;
    border-right: 1px solid #e6ddd4;
    border-bottom: 1px solid #e6ddd4;
}

.wedding-reason h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.wedding-reason p { margin: 0; line-height: 1.75; }
.wedding-venues { background: #f4f0ec; }

.wedding-venues-header { max-width: 820px; }

.wedding-venues-intro {
    max-width: 720px;
    color: #6d6762;
    font-size: .92rem;
    line-height: 1.65;
}

.wedding-venue-columns > div + div {
    border-left: 1px solid #d9d0c8;
    padding-left: 48px;
}

.wedding-venue-columns h3 {
    margin-bottom: 22px;
    color: #2b2825;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.wedding-venue-columns h3 i { color: var(--primary); }
.wedding-venue-list { margin: 0; padding: 0; list-style: none; }

.wedding-venue-list li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid rgba(43, 40, 37, .1);
}

.wedding-venue-list li::before {
    position: absolute;
    left: 0;
    color: var(--primary);
    content: "•";
}

.wedding-venue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-weight: 600;
    text-decoration: none;
}

.project-link-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - 5px);
}

.project-link-body h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
}

.project-link-body hr { width: 100%; }
.project-link-body p { min-height: 48px; }
.project-link-body .btn { margin-top: auto !important; }

@media (max-width: 991.98px) {
    .wedding-reason { min-height: 0; padding: 26px; }
    .wedding-venue-columns { --bs-gutter-x: 0; }
    .wedding-venue-columns > div + div {
        border-left: 0;
        padding-left: 0;
    }
}

html { scroll-behavior: smooth; }

body {
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
iframe { border: 0; }

img[src$="LOGO-SITE.png"] {
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}
