/*!
Theme Name: Audace
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: audace
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Audace is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* clear */
.clear:before,.clear:after { content:' '; display:table; }
.clear:after { clear:both; }
.clear { zoom:1;}

ul, ol {
  list-style: none;
}

a {
    text-decoration: none;
}

h3 {
    font-family: "Montserrat", serif;
    font-weight: 500;
}

p {
    font-family: "Montserrat", serif;
    font-weight: 400;
}

a {
    font-family: "Montserrat", serif;
    font-weight: 400;
}

body {
    overflow-x: hidden;
}   

img {
    width: 100%;
}

.wrap {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
}

.wrap2 {
    width: 100%;
    max-width: 2500px;
    margin: 0 auto;
    padding: 0 10px;
}

/*header*/

#header {
    background-color: #000000;
    padding: 1rem 0;
    position: relative;
}

#header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

#header nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#header .burger {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

#header .burger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: 0.3s;
}

#header nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

#header .logo img {   
    width: 170px;
    height: 60px;
    transition: 0.2s;
    display: block;
}

#header a {
    color: #fff;
    padding: 0.4rem;
    border-radius: 5px;
    display: inline-block;
}

#header .navi a:hover {
    transition: 0.5s;
    background-color: #FF0000;   
}

.separator1 {
    position: absolute;
    height: 2px;
    width: 24px;
    background-color: #d4af37;
    top: 50%;
    margin-top: -6px;
}
.separator2 {
    position: absolute;
    height: 2px;
    width: 24px;
    background-color: #d4af37;
    top: 50%;
    margin-top: 6px;
}
.separator3 {
    position: absolute;
    height: 2px;
    width: 24px;
    background-color: #d4af37;
    top: 50%;
    margin-top: -6px;
}
.separator4 {
    position: absolute;
    height: 2px;
    width: 24px;
    background-color: #d4af37;
    top: 50%;
    margin-top: 6px;
}

.separator1 {
    left: 0;
}

.separator2 {
    left: 0;
}

.separator3 {
    right: 0;
}

.separator4 {
    right: 0;
}

/* template home */

#diapo {
    padding-top: 2rem;
}

#diapo .wrap {
    display: flex;
    flex-direction: row-reverse; 
    gap: 60px; 
    align-items: center; 
}

#diapo .presentation {
    margin-right: 80px; 
    padding: 1.5rem;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#diapo .splide {
    max-width: 500px ;
    margin: 0 auto ;
}


#diapo .splide__track {
    height: 400px ;
}


#diapo .splide__list {
    height: 100% ;
}


#diapo .splide__slide {
    height: 100% ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
}


#diapo .slide-inner {
    width: 1000px;
    height: 725px;
    overflow: hidden;
    margin: 0 auto;
}


#diapo .splide__slide img {
    width: 100% ;
    height: 100% ;
    object-fit: cover ;
    display: block ;
}


#diapo .presentation .titre {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: rgb(117, 117, 117);
    text-align: center;
    font-family: "Montserrat", serif;
    font-weight: bold;
}

#diapo .presentation .text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

#restaurant {
    padding: 5rem 0;
}

#restaurant .wrap {
    max-width: 1200px;
}

#page-carte {
    padding: 4rem 0;
}

.legal-page {
    padding: 4rem 0;
}

.legal-page__card {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.legal-page__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #d4af37;
}

.legal-page__title {
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: "Montserrat", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2f2f2f;
}

.legal-page__intro,
.legal-page__note,
.legal-page__section p,
.legal-page__section li {
    font-family: "Montserrat", serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.legal-page__intro {
    margin-bottom: 1rem;
    text-align: center;
}

.legal-page__note {
    padding: 1rem;
    background-color: #fffaf1;
    border-left: 4px solid #d4af37;
}

.legal-page__section {
    margin-bottom: 2rem;
}

.legal-page__section:last-child {
    margin-bottom: 0;
}

.legal-page__section h2 {
    margin-bottom: 0.75rem;
    font-family: "Montserrat", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2f2f2f;
}

.legal-page__section p {
    margin-bottom: 0.9rem;
}

.legal-page__list {
    margin-left: 1.2rem;
    list-style: disc;
}

.legal-page__list li {
    margin-bottom: 0.6rem;
}

.carte-images {
    max-width: 1400px;
    margin: 0 auto;
}

.carte-images__header {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    padding: 1.5rem;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.carte-images__title {
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: "Montserrat", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2f2f2f;
}

.carte-images__intro {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-family: "Montserrat", serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.carte-images__list {
    display: grid;
    grid-template-columns: minmax(0, 1000px);
    justify-content: center;
    gap: 1rem;
}

.carte-images__item {
    width: 100%;
    background-color: #fff;
}

.carte-images__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.carte-images__empty {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.25rem;
    text-align: center;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 10px;
    font-family: "Montserrat", serif;
    line-height: 1.6;
    color: #555;
}

.restau {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1060px;
    margin: 0 auto;
}

.restaurant-map {
    width: 500px;
}

.restaurant-map--blocked {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 1.5rem;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.restaurant-map__consent {
    max-width: 420px;
    text-align: center;
}

.restaurant-map__consent h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #2f2f2f;
}

.restaurant-map__consent p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.restaurant-map__button {
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 6px;
    background-color: #d4af37;
    color: #000;
    font-family: "Montserrat", serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.restaurant-map__button:hover {
    background-color: #bf9a2f;
}

.restaurant-map__link {
    margin-bottom: 0;
}

.restaurant-map__link a {
    color: #2f2f2f;
    text-decoration: underline;
}

.restaurant-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__content {
    width: 100%;
    max-width: 760px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cookie-banner__content p {
    margin: 0;
    line-height: 1.5;
    color: #2f2f2f;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner__button,
.cookie-settings {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Montserrat", serif;
}

.cookie-banner__button {
    padding: 0.75rem 1rem;
    background-color: #d4af37;
    color: #000;
    font-weight: 600;
}

.cookie-banner__button--secondary {
    background-color: #2f2f2f;
    color: #fff;
}

.cookie-settings {
    margin-top: 0.5rem;
    padding: 0.35rem 0.65rem;
    background-color: transparent;
    color: #fff;
    text-decoration: underline;
}

.horaires {
    width: 500px;
    margin-left: auto;
    padding: 1.5rem;
    background-color: #fbf7f0;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.horaires h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-family: "Montserrat", serif;
    font-weight: 500;
}

.horaires ul {
    max-width: 420px;
    margin: 0 auto;
}

.horaires li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: "Montserrat", serif;
    font-size: 1.1rem;
    line-height: 1.4;
}

.horaires li span:first-child {
    width: 45%;
}

.horaires li span:last-child {
    width: 55%;
    text-align: right;
}

/* Footer */

#colophon {
    background-color: #000000;
    color: #fff;
    padding: 2rem 0;
}

#colophon a {
    color: #fff;
}

.coordonnees {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

#colophon .adresse {
    text-align: center;
    width: 30%;
}

#colophon .adresse h3 {
    padding-bottom: 0.5rem;
}

#colophon .adresse p {
    padding: 0.5rem 0;
    line-height: 1.6;
}

#colophon .reseau {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 30%;
}

#colophon .reseau img {
    width: 30px;
    align-items: center;
    margin-top: 0.5rem;
}

/* Style du lien */
#colophon .reseau a {
    position: relative;
    display: inline-block;
}

/* Style du SVG (toujours visible) */
#colophon .reseau a img.facebook-link {
    width: 32px;
    height: 32px;
    transition: filter 0.3s ease;
}

/* Survol : SVG devient bleu Facebook (#1877f2) */
#colophon .reseau a:hover img.facebook-link {
    filter: brightness(0) saturate(100%) invert(17%) sepia(90%) saturate(1000%) hue-rotate(215deg);
}

/* Tooltip bleu */
#colophon .reseau a::after {
    content: 'Facebook';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1877f2;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin-bottom: 10px;
}

#colophon .reseau a:hover::after {
    opacity: 1;
    visibility: visible;
}

#colophon .contact {
    text-align: center;
    width: 30%;
}

#colophon .contact h4 {
    font-family: "Montserrat", serif;
    font-weight: 400;
    line-height: 1.6;
}

#colophon .contact h5 {
    font-family: "Montserrat", serif;
    font-weight: 400;
    line-height: 1.6;
}

.liens {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    flex-wrap: wrap;
}

#colophon nav ul {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.audace {
    text-align: center;
}

@media (max-width: 900px) {
    
    #header .wrap {
        justify-content: space-between;
        gap: 1rem;
    }

    #header .logo {
        margin-left: 40px;
    }

    #header .burger {
        display: block;
        margin-left: auto;
        margin-right: 40px;
        z-index: 2;
    }

    #header nav {
        display: none;
        margin-left: 0;
        width: 100%;
    }

    #header nav ul {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        padding-top: 1rem;
    }

    #header.is-open nav {
        display: flex;
        justify-content: center;
    }

    #header.is-open .burger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #header.is-open .burger span:nth-child(2) {
        opacity: 0;
    }

    #header.is-open .burger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #diapo .wrap {
        flex-direction: column;
    }

    #diapo .presentation {
        margin-right: 0;
    }

    .restau {
        flex-direction: column;
        gap: 2rem;
    }

    .restaurant-map{
        width: 100%;
    }

    .carte-images__title {
        font-size: 2rem;
    }

    .legal-page__card {
        padding: 1.5rem;
    }

    .legal-page__title {
        font-size: 2rem;
    }

    .carte-images__header {
        padding: 1.25rem;
    }

    .carte-images__list {
        grid-template-columns: minmax(0, 100%);
        gap: 1rem;
    }

    .horaires{
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .horaires li {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    #colophon .adresse {
        width: 100%;
    }
    #colophon .reseau {
        width: 100%;
    }
    #colophon .contact {
        width: 100%;
    }

    .liens {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .legal-page {
        padding: 2.5rem 0;
    }

    .legal-page__card {
        padding: 1.25rem;
    }

    .legal-page__section h2 {
        font-size: 1.3rem;
    }

    .carte-images__list {
        grid-template-columns: minmax(0, 100%);
        justify-content: center;
    }
}
