/* ============================================================
   BASE — Fonts, Variables, Layout, Navigation, Boutons, Footer
   ============================================================ */

/* ---- FONT-FACES ---- */

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/opensans/Regular/OpenSans-Regular.woff2") format("woff2"), url("../fonts/opensans/Regular/OpenSans-Regular.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 400;
    src: url("../fonts/opensans/Italic/OpenSans-Italic.woff2") format("woff2"), url("../fonts/opensans/Italic/OpenSans-Italic.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/opensans/Bold/OpenSans-Bold.woff2") format("woff2"), url("../fonts/opensans/Bold/OpenSans-Bold.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/opensans/ExtraBold/OpenSans-ExtraBold.woff2") format("woff2"), url("../fonts/opensans/ExtraBold/OpenSans-ExtraBold.woff") format("woff");
    font-display: swap;
}
@media (min-width: 768px) {
    @font-face {
        font-family: "Open Sans";
        font-style: italic;
        font-weight: 800;
        src: url("../fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff2") format("woff2"), url("../fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff") format("woff");
        font-display: swap;
    }
    @font-face {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 600;
        src: url("../fonts/opensans/Semibold/OpenSans-Semibold.woff2") format("woff2"), url("../fonts/opensans/Semibold/OpenSans-Semibold.woff") format("woff");
        font-display: swap;
    }
    @font-face {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 200;
        src: url("../fonts/opensans/Light/OpenSans-Light.woff2") format("woff2"), url("../fonts/opensans/Light/OpenSans-Light.woff") format("woff");
        font-display: swap;
    }
    @font-face {
        font-family: "Open Sans";
        font-style: italic;
        font-weight: 200;
        src: url("../fonts/opensans/LightItalic/OpenSans-LightItalic.woff2") format("woff2"), url("../fonts/opensans/LightItalic/OpenSans-LightItalic.woff") format("woff");
        font-display: swap;
    }
    @font-face {
        font-family: "forelle";
        font-style: normal;
        font-weight: 400;
        src: url("../fonts/forelle/forelle.woff2") format("woff2"), url("../fonts/forelle/forelle.woff") format("woff");
        font-display: swap;
    }
    @font-face {
        font-family: "dashicons";
        src: url("../fonts/dashicons.woff2") format("woff2"), url("../fonts/dashicons.woff") format("woff");
        font-display: swap;
    }
}

/* ---- VARIABLES ---- */

:root {
    --p-glycine:       #CBBCDC;
    --p-glycine2:      #8D6996;
    --p-glycine3:      #804E8E;
    --p-violet:        #703083;
    --p-cyan:          #40C0A0;
    --p-saumon:        #F0C68E;
    --p-jaune:         #FDE8C6;
    --p-rose:          #FAE3DF;
    --p-blanc-chaud:   #fffaf5;
    --p-font-family:   "Open Sans", arial, sans-serif;
    --p-font-forelle:  "forelle", "Brush Script MT", cursive;
}

/* ---- BASE ---- */

*, *::before, *::after { box-sizing: border-box; }

html {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 110%;
        font-weight: 400;
        letter-spacing: 0.01em;
    }
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--p-font-family);
    background-attachment: fixed;
    background-image: linear-gradient(to bottom, var(--p-saumon) 0%, var(--p-saumon) 15%, var(--p-jaune) 50%, var(--p-rose) 100%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

main {
    display: block;
    position: static;
    width: 100%;
    padding: 0 0 50px 0;
    scroll-margin-bottom: 20px;
    text-align: center;
}

b      { font-weight: 700; }
strong { font-weight: 800; }
img    { height: auto; max-width: 100%; }
a      { text-decoration: none; color: var(--p-violet);}

h1 {
    margin: 2rem auto 25px;
    font-family: var(--p-font-family);
    color: #333;
    text-align: center;
    line-height: 1.2;
}
h2 {
    margin: 1.5rem auto 25px;
    font-family: var(--p-font-family);
    color: #333;
    text-align: center;
    line-height: 1.2;
}
h3 {
    margin: 1rem auto 25px;
    font-family: var(--p-font-family);
    color: #333;
    text-align: center;
    line-height: 1.2;
}
@media (min-width: 768px) {
    h1 { line-height: 1.15; font-size: 1.8rem; padding-top: 80px; padding-bottom: 10px; font-weight: 800; }
	h2 {font-size: 1.75rem; }
	h3 {font-size: 1.5rem; font-weight: 800; }
}
@media (max-width: 767px) {
    h1 { width: calc(100% - 100px); margin: 20px auto; font-size: 1.5rem; padding-top: 60px; font-weight: 800; }
	h2 {font-size: 1.3rem; }
	h3 {font-size: 1.2rem; font-weight: 800; }
}
@media (max-width: 400px) {
    h1 { font-size: 1.25rem; }
	h2 {font-size: 1.25rem; }
	h3 {font-size: 1.15rem; font-weight: 800; }
}

/* Utilitaires mobile/desktop */
@media (min-width: 768px) { .mobile  { display: none !important; } }
@media (max-width: 767px) { .desktop { display: none !important; } }

/* ---- SVG ICÔNES ---- */

span.svg-fa svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}
.svg-fa.rdv-fa svg {
    width: 2.5em;
    height: 2.5em;
    fill: #d4af37;
}

/* ---- NAVIGATION ---- */

.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, height 0.3s ease, transform 0.3s ease;
    will-change: background-color, height;
}
.nav-container {
    display: flex;
    width: 100%;
    max-width: 98%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}
.nav-left  { flex: 1; display: flex; align-items: center; }
.nav-right { display: flex; align-items: center; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; }

/* Barre de scroll discrète pour le menu mobile/tablette (conteneur scrollable selon le breakpoint) */
.main-navigation.active-nav,
.main-navigation.active-nav .menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}
.main-navigation.active-nav::-webkit-scrollbar,
.main-navigation.active-nav .menu::-webkit-scrollbar {
    width: 5px;
}
.main-navigation.active-nav::-webkit-scrollbar-track,
.main-navigation.active-nav .menu::-webkit-scrollbar-track {
    background: transparent;
}
.main-navigation.active-nav::-webkit-scrollbar-thumb,
.main-navigation.active-nav .menu::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.btn-nav {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 25px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

/* Mobile (0 → 767px) */
@media screen and (max-width: 767px) {
    .main-navigation {
        background-color: #F0C68E;
        top: 10px; left: 10px;
        height: 60px; width: 60px;
        border-radius: 12px;
        overflow: hidden;
        display: block;
    }
    .main-navigation.active-nav {
        width: 300px;
        height: auto;
        max-height: calc(100vh - 20px);
        padding-bottom: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    .menu-toggle {
        position: absolute;
        top: 0; left: 0;
        width: 60px; height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 1001;
        font-size: 1.5rem;
    }
    .menu-toggle small {
        display: block;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        margin-top: 2px;
        line-height: 1;
    }
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 65px 0 0 0;
        background-color: #F0C68E;
    }
    .main-navigation.active-nav .menu { display: flex; }
    .btn-nav {
        color: #000;
        padding: 14px 20px;
        margin: 4px 15px;
        background-color: rgba(255,255,255,0.4);
        border-radius: 12px;
        font-weight: 600;
        font-size: 1rem;
        gap: 15px;
    }
    .mega-menu-container {
        display: none;
        background: rgba(255,255,255,0.2);
        margin: 0 15px 10px 15px;
        border-radius: 12px;
        padding: 10px;
    }
    .open-mega .mega-menu-container { display: block; }
    .mega-menu-column h4 { font-size: 12px; color: rgba(0,0,0,0.5); text-transform: uppercase; margin: 10px 0 5px 10px; }
    .mega-menu-column ul { list-style: none; padding: 0; margin: 0; }
    .mega-menu-column ul li a { display: block; padding: 10px 15px; color: #000; text-decoration: none; font-size: 1rem; }
    .submenu { display: none; list-style: none; padding: 10px 15px; background: rgba(0,0,0,0.05); border-radius: 12px; margin: 5px 15px; }
    .has-submenu.open .submenu { display: block; }
    .submenu-a { display: block; padding: 8px 0; color: #000; text-decoration: none; }
    .nav-right { display: none; }

}

/* Tablette (768px → 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .main-navigation { height: 90px; background-color: transparent; }
    .main-navigation.scrolled { background-color: var(--p-blanc-chaud); height: 70px; }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        width: 75px; height: 75px;
        font-size: 28px;
        z-index: 1002;
    }
    .menu-toggle small { display: block; font-size: 13px; font-weight: 800; margin-top: 4px; }
    .scrolled .menu-toggle, .active-nav .menu-toggle { color: #333; }
    .main-navigation.active-nav .menu {
        position: fixed;
        top: 0; left: 0;
        width: 320px; height: 100vh;
        background-color: var(--p-blanc-chaud);
        flex-direction: column;
        padding: 100px 20px 30px 20px;
        box-shadow: 5px 0 25px rgba(0,0,0,0.1);
        transform: translateX(0);
        display: flex;
        overflow-y: auto;
    }
    .menu { position: fixed; transform: translateX(-105%); transition: transform 0.4s ease-out; }
    .btn-nav {
        color: var(--p-blanc-chaud);
        padding: 14px 20px;
        margin: 5px 0;
        background-color: var(--p-glycine2);
        border-radius: 12px;
        font-size: 17px; font-weight: 700;
        gap: 15px;
    }
    .mega-menu-container { display: none; background: rgba(0,0,0,0.03); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
    .open-mega .mega-menu-container { display: block; }
    .mega-menu-column h4 { font-size: 13px; color: #777; margin: 10px 0 5px 10px; text-transform: uppercase; }
    .mega-menu-column ul { list-style: none; padding: 0; margin: 0; }
    .mega-menu-column ul li a { display: block; padding: 8px 15px; color: #333; text-decoration: none; }
    .submenu { list-style: none; padding: 10px; background: rgba(0,0,0,0.03); border-radius: 12px; }
    .submenu-a { display: block; padding: 8px 10px; color: #333; text-decoration: none; }
    .active-nav .menu-toggle span { font-size: 30px; font-weight: 900; }

}

/* Desktop (1024px +) */
@media screen and (min-width: 1024px) {
    .main-navigation { height: 85px; }
    .main-navigation.scrolled { background-color: var(--p-blanc-chaud); height: 65px; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
    .menu-toggle { display: none; }
    .menu-item { position: relative; }
    .menu-item .btn-nav { color: white; font-weight: 800; }
    .menu-item a span.svg-fa { opacity: 0; width: 0; transition: all 0.4s ease; }
    .scrolled .menu-item .btn-nav { color: #333; font-weight: 400; }
    .scrolled .menu-item a span.svg-fa { opacity: 1; width: auto; }
    .btn-nav:hover { background-color: var(--p-glycine2); color: white !important; }
    .btn-nav:hover span.svg-fa { color: white !important; }
    .has-mega-menu { position: relative; }
    .mega-menu-container {
        position: absolute;
        top: 100%; left: 50%;
        transform: translateX(-50%);
        background-color: var(--p-blanc-chaud);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 16px;
        padding: 25px;
        display: flex;
        gap: 35px;
        min-width: 250px;
        opacity: 0; visibility: hidden;
        transition: all 0.25s ease-in-out;
        margin-top: 15px;
    }
    .has-mega-menu:hover .mega-menu-container { opacity: 1; visibility: visible; margin-top: 0; }
    .mega-menu-column { flex: 1; min-width: 150px; }
    .mega-menu-column h4 {
        margin-top: 0; margin-bottom: 12px;
        font-size: 13px; color: var(--p-glycine2);
        text-transform: uppercase; letter-spacing: 0.5px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding-bottom: 6px; font-weight: 800;
    }
    .mega-menu-column ul { list-style: none; padding: 0; margin: 0; }
    .mega-menu-column ul li a {
        display: block; padding: 8px 10px;
        color: #444; text-decoration: none;
        font-size: 15px; border-radius: 8px;
        transition: background 0.2s, color 0.2s;
    }
    .mega-menu-column ul li a:hover,
    .mega-menu-column ul li a.active { background-color: rgba(0,0,0,0.04); color: #000; }
    .submenu {
        position: absolute; top: 100%; left: 0;
        background-color: var(--p-blanc-chaud);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-radius: 12px; padding: 15px;
        list-style: none; min-width: 220px;
        opacity: 0; visibility: hidden;
        transition: all 0.2s ease;
        margin-top: 15px;
    }
    .has-submenu:hover .submenu { opacity: 1; visibility: visible; margin-top: 0; }
    .submenu-item a { display: block; padding: 8px 12px; color: #444; text-decoration: none; font-size: 14px; border-radius: 6px; }
    .submenu-item a:hover { background-color: rgba(0,0,0,0.04); color: #000; }
}
@media screen and (min-width: 1400px) {
    .menu { gap: 20px; margin-left: 30px; }
}


/* ---- FOOTER ---- */

footer {
    display: block;
    position: sticky;
    width: auto;
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}
div.footer p    { margin: 0 auto; }
.footer-credit  { margin-top: 10px; font-size: 0.75rem; opacity: 0.7; }
footer a        { text-decoration: underline; color: #444; }


/* ---- SYSTÈME BOUTONS BEM v3 ---- */

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 2em 0;
}
@media screen and (min-width: 768px) {
    .cta-buttons { flex-direction: row; justify-content: center; }
    .cta-buttons .btn { flex: 1; max-width: 280px; }
}

/* Base — toujours requis */
.btn {
    display: inline-block;
    text-align: center;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.btn svg { width: 24px; height: 24px; margin-right: 10px; fill: currentColor; }
.btn i { padding-right: 0.75em; }
@media screen and (max-width: 395px) { .btn i { display: none; } }

/* Primaire (fond plein) */
.btn--primary {
    background-color: var(--p-glycine3);
    color: #fff;
}
.btn--primary:hover {
    background-color: var(--p-violet);
    transform: scale(1.05);
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

/* Secondaire (outline) */
.btn--secondary {
    background-color: transparent;
    color: var(--p-glycine2);
    border-color: var(--p-glycine2);
}
.btn--secondary:hover {
    background-color: var(--p-glycine3);
    border-color: var(--p-glycine3);
    color: #fff;
	transform: scale(1.05);
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

/* CTA nav compact */
.btn--cta {
    padding: 10px 22px;
    background-color: var(--p-glycine3);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn--cta:hover {
    background-color: var(--p-violet);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Flottant (remplace btn-reservation-volant) */
.btn--floating {
    position: fixed;
    top: 50px;
    right: 5%;
    z-index: 9999;
    padding: 15px 22px;
    background-color: var(--p-glycine3);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    border-radius: 50px;
}
.btn--floating.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media screen and (min-width: 768px) { .btn--floating { display: none; } }

/* Grand (remplace btn-hero-cta) */
.btn--large {
    padding: 15px 35px;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(144, 107, 154, 0.25);
}
.btn--large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 48, 131, 0.3);
}

/* Visibilité responsive */
@media (min-width: 768px) { .btn--mobile-only { display: none !important; } }
@media (max-width: 767px) { .btn--desktop-only { display: none !important; } }


/* Badges des mots clés importants */
.keyword-tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.keyword-badge {
  display: inline-block;
  padding: 0.3em 0.8em;
  font-size: 0.9em;
  font-weight: 500;
  color: #fff;
  background-color: var(--p-glycine3);
  border-radius: 50px;
  white-space: nowrap;
  line-height: 1.2;
}