/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Valeurs par défaut du thème (surchargées par le bloc #theme-variables injecté depuis l'admin) */
:root {
    --font-primary: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-title: 'Bebas Neue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --color-accent: #d7b472;
    --color-secondary: #a8b3c1;
    --color-bg: #050608;
    --color-bg-card: #101318;
    --color-text: #f7f7f7;
    --accent: #d7b472;
    --accent-ui: #d7b472;
    --accent-rgb: 215, 180, 114;
    --accent-dim: rgba(var(--accent-rgb), 0.16);
    --bg-page: #050608;
    --bg-card: rgba(16, 19, 24, 0.72);
    --text-primary: #f7f7f7;
    --text-muted: #a8b3c1;
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.35);
    --border-hover: rgba(255, 255, 255, 0.55);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --bg-card-alt: rgba(16, 19, 24, 0.85);
    --shadow-soft: 0 24px 48px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 14px 30px rgba(0, 0, 0, 0.45);
    --nav-toggle-bg: rgba(255, 255, 255, 0.12);
    --logo-filter: brightness(0) invert(1);
    --header-scrolled-bg: var(--bg-page);
    --header-scrolled-shadow: 0 1px 0 var(--border-soft);
    --nav-mobile-bg: linear-gradient(145deg, var(--color-bg) 0%, var(--color-bg-card) 100%);
    --nav-mobile-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
    --menu-overlay-bg: rgba(0, 0, 0, 0.6);
}



body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--color-bg);
    background: var(--bg-page);
    /* Optimisations pour les performances */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.1rem; }
h4 { font-size: 1.7rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

.main-content {
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
    will-change: background-color, backdrop-filter, box-shadow;
}

/* Fond navbar au scroll — calque dédié (logo/burger en fixed) */
.header-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 1000;
    background: var(--header-scrolled-bg);
    box-shadow: var(--header-scrolled-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}

.header-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.header.scrolled {
    background-color: var(--header-scrolled-bg) !important;
    box-shadow: var(--header-scrolled-shadow) !important;
}

.header.scrolled .header-overlay {
    background-color: var(--header-scrolled-bg) !important;
}

/* Header visible seulement sur mobile au scroll */
@media (min-width: 769px) {
    /* Header avec fond transparent par défaut, fond au scroll (mobile et desktop) */
    .header,
    body.homepage .header {
        background: rgba(0, 0, 0, 0) !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease !important;
        pointer-events: auto !important;
        min-height: 100px !important;
    }
    
    .header.scrolled,
    body.homepage .header.scrolled {
        background: var(--header-scrolled-bg) !important;
        backdrop-filter: none !important;
        box-shadow: var(--header-scrolled-shadow) !important;
    }
}

.header-overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 30px;
}

/* Sur desktop, header-overlay transparent mais logo et burger visibles */
@media (min-width: 769px) {
    .header-overlay {
        background: transparent;
        pointer-events: none;
    }
    
    .header-overlay .logo,
    .header-overlay .nav-toggle,
    .header-overlay .header-actions {
        pointer-events: auto;
    }
}

.logo {
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

/* Sur desktop, positionner le logo en fixed */
@media (min-width: 769px) {
    .logo {
        position: fixed;
        top: 32px;
        left: 48px;
    }
}

.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 56px;
    width: auto;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: var(--logo-filter);
}

.logo a:hover img {
    opacity: 0.85;
}

.header .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent; /* plus de fond pour le burger */
    border: none;            /* plus de contour carré pour le burger */
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

/* Variante Réserver : forme selon le modèle de site */
.header .nav-toggle.nav-toggle-reserve {
    background: var(--nav-toggle-bg);
    border: 1.5px solid var(--accent-ui, var(--accent)) !important;
    border-radius: 10px;
    width: 180px;
    height: 44px;
}

.modele-prestations .header .nav-toggle.nav-toggle-reserve {
    border-radius: 999px;
}

.modele-ecommerce .header .nav-toggle.nav-toggle-reserve {
    border-radius: var(--ec-radius, 10px);
}

.header .nav-toggle.nav-toggle-reserve .nav-toggle-label {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    background: transparent;
    color: var(--accent-ui, var(--accent));
    font-weight: 600;
    font-family: var(--font-title);
    font-size: 0.8rem;          /* taille augmentée pour plus de lisibilité */
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-align: center;
}

.header .nav-toggle.nav-toggle-reserve:hover {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: var(--accent) !important;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.7), 0 0 40px rgba(var(--accent-rgb), 0.5);
}


/* Sur desktop, positionner les boutons en fixed */
@media (min-width: 769px) {
    .header .nav-toggle {
        position: fixed;
        top: 32px;
        right: 48px !important;
    }
    .header .nav-toggle.nav-toggle-reserve {
        right: 120px !important; /* bouton Réserver clairement à gauche du burger */
    }
}

.header .nav-toggle:hover {
    transform: none;
    background: transparent;
}

.header .nav-toggle:not(.nav-toggle-reserve) span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 4px 0;
    border-radius: 0;
    transition: all 0.3s ease;
}

.header .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header .nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--menu-overlay-bg, rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: min(480px, 90vw);
    height: 100vh;
    background: var(--nav-mobile-bg, linear-gradient(145deg, var(--color-bg) 0%, var(--color-bg-card) 100%));
    backdrop-filter: blur(30px);
    box-shadow: var(--nav-mobile-shadow, -8px 0 32px rgba(0, 0, 0, 0.45));
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 110px 24px 24px;
    overflow-y: auto;
    border-left: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    /* Masquer la barre de défilement du menu */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE et Edge */
}

.nav-mobile::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-hover);
    border: 1px solid var(--border-soft);
    border-radius: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    padding: 0;
}

.nav-mobile-close:hover {
    background: var(--border-soft);
    border-color: var(--border-strong);
    transform: rotate(90deg);
}

.nav-mobile-close i {
    display: block;
}

.nav-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.nav-mobile-link {
    display: block;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-mobile-link:hover {
    background: var(--surface-hover);
    border-color: var(--border-soft);
    transform: translateX(4px);
}

.nav-mobile-link.admin-link {
    color: var(--accent, #d7b472);
    border-color: rgba(var(--accent-rgb), 0.25);
}

.nav-mobile-link.admin-link:hover {
    background: rgba(var(--accent-rgb), 0.18);
    border-color: rgba(var(--accent-rgb), 0.4);
}

.nav-mobile-lang {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    flex-shrink: 0;
}

.nav-mobile-lang-title {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    padding: 0 20px;
}

.nav-mobile-lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.nav-mobile-lang-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.nav-mobile-lang-link .flag-custom {
    width: 1.5em;
    height: 1.5em;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}

.nav-mobile-lang-link:hover {
    background: var(--surface-hover);
}

.nav-mobile-lang-link.active {
    background: rgba(var(--accent-rgb), 0.18);
    border-color: rgba(var(--accent-rgb), 0.4);
    color: var(--accent, #d7b472);
}

body.homepage .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1001;
    pointer-events: none;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

body.homepage .header .header-overlay {
    padding: 0;
    pointer-events: none;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    min-height: 0;
}

/* Logo et burger positionnés absolument sur la homepage */
body.homepage .header .logo {
    position: fixed;
    top: 32px;
    left: 48px;
    z-index: 1002;
    pointer-events: auto;
    transform: none !important;
    transition: none;
}

body.homepage .header .logo img {
    height: 56px;
    filter: var(--logo-filter);
}

body.homepage .header .logo a span,
body.homepage .header .logo span,
body.homepage .header .logo::before,
body.homepage .header .logo::after {
    display: none !important;
}

body.homepage .header .nav-toggle {
    position: fixed;
    top: 32px;
    right: 48px;
    z-index: 1002;
    background: transparent;
    border: none;
    border-radius: 0;
    pointer-events: auto;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    transform: none !important;
}

body.homepage .header .nav-toggle span {
    background: var(--text-primary);
}

/* Exception : pas de fond blanc pour le label du bouton Réserver */
body.homepage .header .nav-toggle.nav-toggle-reserve .nav-toggle-label {
    background: transparent !important;
}

body.homepage .header .nav-toggle:hover {
    transform: none !important;
    background: transparent;
    border: none;
}


@media (max-width: 768px) {
    .header .header-overlay {
        padding: 18px 24px;
    }

    /* Logo et burger positionnés en fixed sur mobile pour toutes les pages */
    .logo {
        position: fixed !important;
        top: 24px !important;
        left: 24px !important;
        z-index: 1002 !important;
    }

    .logo img {
        height: 48px !important;
    }

    .header .nav-toggle {
        position: fixed !important;
        top: 24px !important;
        right: 24px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 1002 !important;
    }
    .modele-prestations .header .nav-toggle.nav-toggle-reserve {
        right: 100px !important;
        width: 120px !important;
        height: 44px !important;
        border-radius: 999px !important;
        background: var(--nav-toggle-bg) !important;
        border: 1px solid var(--accent) !important;
    }
    .modele-ecommerce .header .nav-toggle.nav-toggle-reserve {
        right: 100px !important;
        width: 120px !important;
        height: 44px !important;
        border-radius: var(--ec-radius, 10px) !important;
        background: var(--nav-toggle-bg) !important;
        border: 1px solid var(--accent) !important;
    }

    body.homepage .header .logo {
        position: fixed !important;
        top: 24px !important;
        left: 24px !important;
    }

    body.homepage .header .logo img {
        height: 48px;
    }

    body.homepage .header .nav-toggle {
        position: fixed !important;
        top: 24px !important;
        right: 24px !important;
        width: 44px !important;
        height: 44px !important;
    }
    body.modele-prestations.homepage .header .nav-toggle.nav-toggle-reserve {
        right: 100px !important;
        width: 120px !important;
        height: 44px !important;
        border-radius: 999px !important;
        background: var(--nav-toggle-bg) !important;
        border: 1px solid var(--accent) !important;
    }
    body.modele-ecommerce.homepage .header .nav-toggle.nav-toggle-reserve {
        right: 100px !important;
        width: 120px !important;
        height: 44px !important;
        border-radius: var(--ec-radius, 10px) !important;
        background: var(--nav-toggle-bg) !important;
        border: 1px solid var(--accent) !important;
    }

    /* Header avec fond transparent par défaut, fond au scroll (mobile et desktop) */
    .header,
    body.homepage .header {
        background: rgba(0, 0, 0, 0) !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease !important;
        pointer-events: auto !important;
        min-height: 100px !important;
    }

    .header.scrolled,
    body.homepage .header.scrolled {
        background: var(--header-scrolled-bg) !important;
        backdrop-filter: none !important;
        box-shadow: var(--header-scrolled-shadow) !important;
    }

    .header.scrolled .header-overlay {
        background: var(--header-scrolled-bg) !important;
    }

    .header .header-overlay,
    body.homepage .header .header-overlay {
        pointer-events: auto !important;
        min-height: 100px !important;
        padding: 18px 24px !important;
    }

    .header .logo img {
        filter: var(--logo-filter) !important;
        opacity: 1 !important;
    }

    .header .nav-toggle:not(.nav-toggle-reserve) {
        background: transparent !important;
        border: none !important;
    }

    .header .nav-toggle.nav-toggle-reserve {
        background: var(--nav-toggle-bg) !important;
        border: 1px solid var(--accent) !important;
    }

    .header .nav-toggle span {
        background: var(--text-primary) !important;
    }

    /* Exception : pas de fond blanc pour le label du bouton Réserver */
    .header .nav-toggle.nav-toggle-reserve .nav-toggle-label {
        background: transparent !important;
    }

    body.homepage .header .logo img {
        filter: var(--logo-filter) !important;
    }

    body.homepage .header .nav-toggle:not(.nav-toggle-reserve) {
        background: transparent !important;
        border: none !important;
    }

    body.homepage .header .nav-toggle.nav-toggle-reserve {
        background: var(--nav-toggle-bg) !important;
        border: 1px solid var(--accent) !important;
    }

    body.homepage .header .nav-toggle span {
        background: var(--text-primary) !important;
    }

    body.homepage .header .nav-toggle.nav-toggle-reserve .nav-toggle-label {
        background: transparent !important;
    }
    
    /* Menu burger pleine largeur sur mobile */
    .nav-mobile {
        width: 100%;
        left: 0;
        right: 0;
    }
}

/* Forcer le burger (hors bouton Réserver) à ne jamais avoir de fond ni de contour */
.header .nav-toggle:not(.nav-toggle-reserve) {
    background: transparent !important;
    border: none !important;
}
.header .nav-toggle:not(.nav-toggle-reserve):hover {
    background: transparent !important;
    border: none !important;
}

/* ===== EN-TÊTES DE PAGE (catalogue, galerie, contact) ===== */
.shop-header {
    margin-bottom: 32px;
    max-width: 720px;
}

.shop-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-subtle);
    font-family: var(--font-title);
}

.shop-kicker::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--border-strong);
}

.shop-title {
    margin: 0 0 10px;
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    line-height: 1.15;
}

.shop-lead {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.shop-catalog-groups {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.shop-catalog-groups--mixed {
    gap: 56px;
}

.shop-catalog-group__header {
    margin-bottom: 24px;
    max-width: 640px;
}

.shop-catalog-group__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: var(--font-title);
}

.shop-catalog-group__title {
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    line-height: 1.2;
}

.shop-catalog-group__lead {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.shop-catalog-group__count {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-subtle);
    background: var(--surface-hover);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
}

.shop-catalog-group--physiques .shop-catalog-group__header {
    padding-top: 8px;
    border-top: 1px solid var(--border-soft);
}

.shop-catalog-groups--mixed .shop-catalog-group:first-child .shop-catalog-group__header {
    border-top: none;
    padding-top: 0;
}

.shop-catalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 36px;
}

.shop-catalog-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--surface-hover);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shop-catalog-nav__link:hover,
.shop-catalog-nav__link:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--surface);
}

.shop-catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.shop-catalog-filters__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.86rem;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--surface-hover);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shop-catalog-filters__pill:hover,
.shop-catalog-filters__pill:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.shop-catalog-filters__pill.is-active {
    background: var(--accent-dim);
    border-color: rgba(var(--accent-rgb), 0.35);
    color: var(--accent);
}

.shop-catalog-filters__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    padding: 2px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-subtle);
}

.shop-filter-active {
    margin: -12px 0 28px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.shop-filter-active a {
    margin-left: 10px;
    color: var(--accent);
    text-decoration: none;
}

.shop-filter-active a:hover {
    text-decoration: underline;
}

.shop-catalog-group[id] {
    scroll-margin-top: 110px;
}

.shop-catalog-groups .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 360px));
    gap: 28px;
    justify-content: start;
}

.shop-catalog-groups .shop-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-card);
}

.shop-catalog-groups .shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--border-hover);
}

.shop-catalog-groups .shop-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-hover);
}

.shop-catalog-groups .shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-catalog-groups .shop-card:hover .shop-card__media img {
    transform: scale(1.05);
}

.shop-catalog-groups .shop-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    gap: 10px;
}

.shop-catalog-groups .shop-card__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.shop-catalog-groups .shop-card__desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.shop-catalog-groups .shop-card__price {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-primary);
}

.shop-catalog-groups .shop-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.shop-catalog-groups .shop-card__cta:hover {
    background: var(--accent);
    color: #fff;
}

.shop-catalog-groups .shop-card__link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

.shop-catalog-groups .shop-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 20px;
    margin-top: 0;
}

.shop-catalog-groups .shop-card__actions .shop-card__cta {
    margin-top: 0;
}

.shop-catalog-groups .shop-card__cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card-alt);
    color: var(--text-primary);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-catalog-groups .shop-card__cart-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

@media (max-width: 768px) {
    .shop-catalog-groups .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .shop-catalog-groups--mixed {
        gap: 40px;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: var(--font-primary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-title);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-ui, var(--accent));
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: var(--btn-primary-glow, 0 10px 25px rgba(var(--accent-rgb), 0.35));
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-ui, var(--accent));
    border-color: var(--accent-ui, var(--accent));
}

.btn-outline:hover {
    background: var(--accent-dim);
    color: var(--accent-ui, var(--accent));
    border-color: var(--accent-ui, var(--accent));
    transform: translateY(-2px);
    box-shadow: var(--btn-outline-glow, 0 10px 25px rgba(var(--accent-rgb), 0.35));
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRÉSENTATION ===== */
.presentation {
    background: #f8f9fa;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.presentation-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.presentation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.presentation-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
}

.presentation-image {
    text-align: center;
}

.presentation-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== AVANTAGES ===== */
.avantages {
    background: #f8f9fa;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.avantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* .avantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
} */

.avantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.avantage-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.avantage-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== TÉMOIGNAGES ===== */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid #667eea;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-page);
    border-top: 1px solid var(--border-soft);
    padding: 60px 0 0;
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    color: var(--text-primary);
    font-size: 1.3rem; /* plus proche des autres titres Bebas */
    font-weight: 400;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-subtitle {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--accent);
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.horaires-sav-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.horaires-sav-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.horaires-sav-header i {
    color: var(--accent);
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.horaires-sav-header strong {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.horaires-sav-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 30px;
    width: calc(100% - 30px);
}

.horaire-ligne {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding: 24px 0;
    margin-top: 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-bottom-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-bottom-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-bottom-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .footer-bottom-social {
        align-self: center;
    }
}

/* ===== BOUTON WHATSAPP ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    color: #25D366;
    border: 1px solid #25D366;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: none;
    transition: var(--transition);
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-button:hover {
    background: transparent;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    color: #25D366;
}

/* Déplacer le bouton WhatsApp vers le haut quand le bouton retour en haut s'affiche */
body.back-to-top-visible .whatsapp-button {
    bottom: 90px;
}

/* Masquer les boutons WhatsApp et retour en haut quand le menu est ouvert */
body.menu-open .whatsapp-button,
body.menu-open .back-to-top {
    display: none !important;
}

/* ===== BOUTON RETOUR EN HAUT ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    cursor: pointer;
    display: none !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: none;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: transparent;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.6), 0 0 30px rgba(var(--accent-rgb), 0.4);
}

.back-to-top i {
    color: var(--accent);
}

.back-to-top.show {
    display: flex !important;
}

/* FAB (retour haut / WhatsApp) — au-dessus des barres fixes bas de page */
@media (max-width: 768px) {
    body:has(.home-sticky-cta.is-visible) .back-to-top.show,
    body.has-home-sticky-cta .back-to-top.show {
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }

    body:has(.home-sticky-cta.is-visible) .whatsapp-button,
    body.has-home-sticky-cta .whatsapp-button {
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }

    body:has(.home-sticky-cta.is-visible).back-to-top-visible .whatsapp-button,
    body.has-home-sticky-cta.back-to-top-visible .whatsapp-button {
        bottom: calc(134px + env(safe-area-inset-bottom, 0));
    }

    body:has(.reservation-mobile-bar.is-visible) .back-to-top.show,
    body.has-reservation-mobile-bar .back-to-top.show {
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }

    body:has(.reservation-mobile-bar.is-visible) .whatsapp-button,
    body.has-reservation-mobile-bar .whatsapp-button {
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }

    body:has(.reservation-mobile-bar.is-visible).back-to-top-visible .whatsapp-button,
    body.has-reservation-mobile-bar.back-to-top-visible .whatsapp-button {
        bottom: calc(134px + env(safe-area-inset-bottom, 0));
    }
}

@media (max-width: 900px) {
    body:has(.pr-mobile-cta) .back-to-top.show,
    body.has-product-mobile-cta .back-to-top.show {
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }

    body:has(.pr-mobile-cta) .whatsapp-button,
    body.has-product-mobile-cta .whatsapp-button {
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }

    body:has(.pr-mobile-cta).back-to-top-visible .whatsapp-button,
    body.has-product-mobile-cta.back-to-top-visible .whatsapp-button {
        bottom: calc(134px + env(safe-area-inset-bottom, 0));
    }
}

/* ===== FORMULAIRES ===== */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* ===== MESSAGES ===== */
.error-message,
.success-message {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #155724;
    margin-bottom: 1rem;
}

.success-message p {
    color: #155724;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.reservation-details {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RÉSERVATION ===== */
.price-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e1e5e9;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e1e5e9;
}

.price-item:last-child {
    border-bottom: none;
}

.price-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    border-top: 2px solid #667eea;
    padding-top: 15px;
    margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1250px) {
    .header-contact {
        display: none;
    }
    
    .nav-main {
        position: static;
        transform: none;
        margin-left: auto;
    }
}

@media (max-width: 970px) {
    .nav-main {
        display: none;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .header-content {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .presentation-features {
        grid-template-columns: 1fr;
    }
    
    .avantages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }
    
    /* Aligner le bouton WhatsApp quand le bouton retour en haut est visible */
    body.back-to-top-visible .whatsapp-button {
        bottom: 74px; /* 20px (bottom) + 44px (hauteur) + 10px (gap) */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Navbar mobile avec nom du site plus petit */
@media (max-width: 970px) {
    .logo a span {
        font-size: 1rem;
    }
}

/* Masquer le nom du site sur très petits écrans, garder seulement le logo et le burger */
@media (max-width: 525px) {
    .logo a span {
        display: none;
    }
    
    .logo a {
        margin-right: 0;
    }
}

/* ===== ANIMATIONS 3D ===== */
@keyframes fadeIn3D {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(-15deg) translateY(50px) translateZ(-100px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) translateY(0) translateZ(0);
    }
}

@keyframes slideIn3DLeft {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(20deg) translateX(-100px) translateZ(-50px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0) translateZ(0);
    }
}

@keyframes slideIn3DRight {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-20deg) translateX(100px) translateZ(-50px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0) translateZ(0);
    }
}

@keyframes scaleIn3D {
    0% {
        opacity: 0;
        transform: perspective(1000px) scale(0.8) rotateX(10deg) translateZ(-100px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) scale(1) rotateX(0deg) translateZ(0);
    }
}

@keyframes scaleIn3DNoOpacity {
    0% {
        transform: perspective(1000px) scale(0.9) rotateX(5deg) translateZ(-50px);
    }
    100% {
        transform: perspective(1000px) scale(1) rotateX(0deg) translateZ(0);
    }
}

@keyframes rotateIn3D {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-30deg) scale(0.9) translateZ(-80px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) scale(1) translateZ(0);
    }
}

/* Classes d'animation 3D */
.animate-3d-fade,
.animate-3d-left,
.animate-3d-right,
.animate-3d-scale,
.animate-3d-rotate {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.animate-3d-fade {
    opacity: 0;
    animation: fadeIn3D 0.8s ease-out forwards;
}

.animate-3d-left {
    opacity: 0;
    animation: slideIn3DLeft 0.8s ease-out forwards;
}

.animate-3d-right {
    opacity: 0;
    animation: slideIn3DRight 0.8s ease-out forwards;
}

.animate-3d-scale {
    opacity: 0;
    animation: scaleIn3D 0.8s ease-out forwards;
}

.animate-3d-rotate {
    opacity: 0;
    animation: rotateIn3D 0.8s ease-out forwards;
}

/* Optimisation pour les éléments animés */
.hero-content,
.section-block,
.savoir-faire,
.footer-section,
.cta-panel,
.hero-actions {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Masqués avant l'animation JS (accueil hors modèles e-commerce / prestations) */
html.js body.homepage:not(.modele-ecommerce):not(.modele-prestations) .hero-actions:not(.is-ready) > .btn-primary,
html.js body.homepage:not(.modele-ecommerce):not(.modele-prestations) .hero-actions:not(.is-ready) > .btn-outline {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-actions > .btn-primary,
    .hero-actions > .btn-outline {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Délais pour les animations en cascade */
.animate-3d-fade.delay-1 { animation-delay: 0.1s; }
.animate-3d-fade.delay-2 { animation-delay: 0.2s; }
.animate-3d-fade.delay-3 { animation-delay: 0.3s; }
.animate-3d-fade.delay-4 { animation-delay: 0.4s; }

.animate-3d-left.delay-1 { animation-delay: 0.1s; }
.animate-3d-left.delay-2 { animation-delay: 0.2s; }
.animate-3d-left.delay-3 { animation-delay: 0.3s; }

.animate-3d-right.delay-1 { animation-delay: 0.1s; }
.animate-3d-right.delay-2 { animation-delay: 0.2s; }
.animate-3d-right.delay-3 { animation-delay: 0.3s; }

.animate-3d-scale.delay-1 { animation-delay: 0.1s; }
.animate-3d-scale.delay-2 { animation-delay: 0.2s; }
.animate-3d-scale.delay-3 { animation-delay: 0.3s; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes d'animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.fade-in-scale {
    animation: fadeInScale 0.8s ease-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* État initial des sections */
.section-animate {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ===== UTILITAIRES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===== NOUVELLES SECTIONS PAGE D'ACCUEIL ===== */

/* Section Professionnels */
.professionnels {
    padding: 80px 0;
    background: white;
}

.professionnels-content {
    max-width: 1600px;
    margin: 0 auto;
}

.professionnels-text {
    text-align: justify;
    margin-bottom: 50px;
}

.professionnels-text p {
    text-align: justify;
}

/* Section finale en 2 colonnes */
.professionnels-final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.professionnels-final-text {
    text-align: left;
}

.professionnels-final-text ul {
    text-align: justify;
    list-style: none;
    padding: 0;
    margin: 0;
}

.professionnels-final-text li {
    text-align: justify;
    padding-left: 0;
    margin-bottom: 0.8rem;
    position: relative;
}

.professionnels-final-text li:before {
    content: none;
}

.professionnels-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.professionnels-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.professionnels-reasons {
    margin: 3rem 0;
    text-align: justify;
}

.professionnels-reasons h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.professionnels-reasons ul {
    list-style: none;
    padding: 0;
}

.professionnels-reasons li {
    color: #555;
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    text-align: justify;
}

.professionnels-reasons li:before {
    content: "💼";
    position: absolute;
    left: 0;
    top: 0;
}

.professionnels-description {
    margin: 3rem 0;
    text-align: justify;
}

.professionnels-description h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.professionnels-description h4 {
    color: #667eea;
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

.professionnels-description ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.professionnels-description li {
    color: #555;
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    text-align: justify;
}

.professionnels-description li:before {
    content: "🚀";
    position: absolute;
    left: 0;
    top: 0;
}

.professionnels-motto {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0;
    line-height: 1.5;
}

.professionnels-cta {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-top: 2rem;
}

.professionnels-image {
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.professionnels-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Animation supprimée */

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .professionnels-content h2 {
        font-size: 2rem;
    }

    .professionnels-image img {
        height: auto;
        max-height: none;
    }

    .professionnels-image {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .professionnels-reasons,
    .professionnels-description {
        text-align: justify;
    }
    
    .professionnels-content {
        text-align: justify;
    }
    
    .professionnels-text {
        text-align: justify;
    }
    
    .professionnels-final {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: justify;
    }
    
    .professionnels-final-text {
        text-align: justify;
    }
    
    /* Ajustements spécifiques pour la section professionnels sur mobile */
    .professionnels-content {
        max-width: 100%;
        padding: 0;
    }
    
    .professionnels-reasons li,
    .professionnels-description li {
        padding-left: 35px;
        margin-bottom: 1.2rem;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .professionnels-reasons li:before,
    .professionnels-description li:before {
        left: 5px;
        top: 2px;
    }
    
    .professionnels-text {
        padding: 0;
    }
    
    /* Correction spécifique pour la section finale des professionnels */
    .professionnels-final {
        max-width: 100%;
        padding: 0;
    }
    
    .professionnels-final-text {
        padding: 0;
    }
    
    .professionnels-final-text ul {
        padding-left: 0;
        margin-left: 0;
        text-align: justify;
    }
    
    .professionnels-final-text li {
        padding-left: 35px;
        margin-bottom: 1rem;
        position: relative;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: justify;
    }
    
    .professionnels-final-text li:before {
        content: "💼";
        position: absolute;
        left: 5px;
        top: 2px;
    }
}

/* ===== PAGE DE RÉSERVATION ===== */
.reservation-hero {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.reservation-hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.reservation-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Formulaire de commande / réservation (thème générique) */
.reservation-form-section {
    padding: 60px 0;
    margin-top: 80px;
    background: var(--bg-page);
    color: var(--text-primary);
}

.reservation-form-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: min(1400px, 92%);
    margin: 0 auto;
}

.reservation-form-content {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    padding: clamp(28px, 4vw, 48px);
}

.reservation-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.reservation-form-content h2,
.reservation-form h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin: 0 0 32px 0;
    color: var(--text-primary);
    text-align: center;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
}

.reservation-form-section .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
}

.reservation-form-section .form-input,
.reservation-form-section .form-select,
.reservation-form-section .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-soft);
    border-radius: 0;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.reservation-form-section .form-input:focus,
.reservation-form-section .form-select:focus,
.reservation-form-section .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-dim);
}

.reservation-form-section .form-input.error,
.reservation-form-section .form-select.error,
.reservation-form-section .form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.reservation-form-section .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.reservation-form-section .form-actions {
    text-align: center;
    margin-top: 30px;
}

.reservation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.produit-summary,
.info-card,
.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    padding: 24px;
    border-radius: 0;
}

.produit-summary h4,
.info-card h3,
.contact-card h4 {
    margin: 0 0 18px 0;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-title);
}

.produit-info {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-soft);
    padding: 20px;
}

.produit-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 14px;
}

.produit-details h5 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.produit-details p {
    margin: 6px 0;
    color: var(--text-muted);
}

.produit-details p i {
    color: var(--accent);
    margin-right: 6px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-muted);
}

.info-list li i {
    color: var(--accent);
    width: 20px;
}

.contact-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.reservation-form-section .message {
    padding: 16px 20px;
    margin-bottom: 24px;
    border: 1px solid;
    border-radius: 0;
    text-align: left;
}

.reservation-form-section .message-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #51cf66;
}

.reservation-form-section .message-error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

/* Détail produit / service (thème générique) */
.offre-detail {
    padding: 60px 0;
    background: var(--bg-page);
    color: var(--text-primary);
    margin-top: 80px;
}

.offre-detail .container {
    max-width: min(1180px, 92%);
    margin: 0 auto;
    padding: 0 20px;
}

.offre-content {
    backdrop-filter: blur(30px);
    background: var(--bg-card);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 72px);
    box-sizing: border-box;
}

.offre-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 12px 0;
    font-weight: 400;
    letter-spacing: 0.08em;
    background: none;
    -webkit-text-fill-color: currentColor;
    background-clip: unset;
}

.offre-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--text-primary);
    font-weight: 400;
    margin: 0 0 18px 0;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: none;
}

.offre-description {
    max-width: 100%;
    margin: 0;
    text-align: left;
    color: var(--text-muted);
}

.offre-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    font-weight: 300;
    text-align: left;
}

.back-to-products {
    margin-bottom: 20px;
    text-align: left;
}

.back-to-products .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 400;
    background: transparent;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-family: var(--font-title);
    text-decoration: none;
}

.produit-image-principale {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    margin: 0 0 28px 0;
    display: block;
}

.produit-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 0 0;
}

.produit-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(19, 23, 29, 0.85);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    font-size: 1rem;
}

.produit-info-badge i,
.produit-info-badge .prix-valeur {
    color: var(--accent);
}

.produit-info-badge .prix-valeur {
    font-size: 1.2rem;
}

.produit-rdv-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.produit-rdv-note i {
    color: var(--accent);
}

.produit-actions {
    margin-top: 32px;
    text-align: center;
}

.produit-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px clamp(48px, 8vw, 100px);
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-family: var(--font-title);
    text-decoration: none;
}

.produit-galerie {
    margin-top: 48px;
}

.produit-galerie h3 {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    color: var(--text-primary);
}

.produit-galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.produit-galerie-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-soft);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
}

.produit-galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .offre-detail {
        padding: 40px 0;
        margin-top: 80px;
    }

    .offre-content {
        padding: clamp(24px, 4vw, 48px);
    }

    .back-to-products {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .back-to-products .btn {
        width: 100%;
        justify-content: center;
    }

    .produit-infos {
        flex-direction: column;
    }

    .produit-actions .btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Responsive pour la réservation */
@media (max-width: 768px) {
    .reservation-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reservation-form-section .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== PAGE BATEAUX ===== */
.bateaux-titre {
    padding: 60px 0 40px 0;
    background: #f8f9fa;
    text-align: center;
    margin-top: 80px; /* Compensation pour la navbar fixe */
}

.bateaux-titre-content {
    max-width: 1600px;
    margin: 0 auto;
}

.bateaux-titre-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.bateaux-titre-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

/* Section Description */
.bateaux-description {
    padding: 50px 0;
    background: white;
}

/* Section Spécifications Techniques */
.bateaux-specifications {
    padding: 50px 0;
    background: #f8f9fa;
}

.specifications-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.specifications-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specifications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.specifications-text {
    text-align: left;
}

.specifications-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.specifications-text p:last-child {
    border-bottom: none;
}

.specifications-text strong {
    color: #333;
    font-weight: 700;
}

.bateaux-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.bateaux-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.bateaux-text h2 {
    font-size: 2rem;
    color: #333;
    margin: 2rem 0 1.5rem 0;
    font-weight: 700;
}

.bateaux-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bateaux-photo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* Transition supprimée */
}

/* Animation supprimée */

/* Section Caractéristiques */
.bateaux-caracteristiques {
    padding: 50px 0;
    background: #f8f9fa;
}

.caracteristiques-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.caracteristiques-text h2 {
    text-align: left;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
}

.caracteristiques-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.caracteristiques-text p:last-child {
    border-bottom: none;
}

.caracteristiques-text strong {
    color: #333;
    font-weight: 700;
}

.caracteristiques-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.caracteristiques-photo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    /* Transition supprimée */
}

/* Animation supprimée */

/* Section CTA */
.bateaux-cta {
    padding: 50px 0;
    background: white;
    text-align: center;
}

.bateaux-cta-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.bateaux-cta-content p {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 2rem;
    font-weight: 500;
}

.bateaux-cta-image {
    margin-bottom: 2rem;
}

.bateaux-cta-photo {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* Transition supprimée */
}

/* Animation supprimée */

.bateaux-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive pour la page bateaux */
@media (max-width: 768px) {
    .bateaux-titre {
        padding: 80px 0 50px 0;
    }
    
    .bateaux-titre-content h1 {
        font-size: 2rem;
    }
    
    .bateaux-titre-content p {
        font-size: 1.1rem;
    }
    
    .bateaux-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bateaux-photo,
    .bateaux-cta-photo {
        height: 250px;
    }
    
    .caracteristiques-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .caracteristiques-photo {
        height: 250px;
    }
    
    .bateaux-cta-buttons {
        flex-direction: column;
    align-items: center;
}

    .specifications-title {
        font-size: 2rem;
    }
    
    .specifications-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .specifications-text {
        text-align: center;
    }
}

/* ===== RÉSUMÉ DES SERVICES DANS LE FORMULAIRE ===== */
.services-summary-display {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.services-list {
    margin-bottom: 20px;
}

.service-category-summary {
    margin-bottom: 15px;
}

.service-category-summary:last-child {
    margin-bottom: 0;
}

.service-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

.service-item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.service-item-summary:last-child {
    border-bottom: none;
}

.service-name {
    color: #4b5563;
    font-size: 14px;
}

.service-price {
    color: #059669;
    font-weight: 600;
    font-size: 14px;
}

.services-total {
    text-align: right;
    padding: 15px 0;
    border-top: 2px solid #e5e7eb;
    margin-top: 15px;
    color: #1f2937;
    font-size: 16px;
}

.depart-info {
    text-align: center;
    padding: 10px;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    margin-top: 15px;
    color: #1e40af;
    font-size: 13px;
}

.depart-info i {
    margin-right: 5px;
}

.services-note {
    text-align: center;
    padding: 10px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    margin-top: 15px;
    color: #92400e;
    font-size: 13px;
}

.services-note i {
    margin-right: 5px;
}

/* ===== MODAL SERVICES ADDITIONNELS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    overflow: hidden;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.modal-body {
    padding: 30px;
    max-height: calc(85vh - 180px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}



.services-grid {
    display: grid;
    gap: 25px;
}

.service-category {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.service-category h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category h3::before {
    content: "✨";
    font-size: 1.1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.service-price {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Checkbox personnalisée */
.service-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.service-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.service-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.service-checkbox:hover .checkmark {
    border-color: #764ba2;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Résumé des services */
.services-summary {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.services-summary h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.selected-services ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.selected-services li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 0.95rem;
}

.selected-services li:last-child {
    border-bottom: none;
}

.total-price {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #667eea;
    color: #667eea;
    font-size: 1.1rem;
}

.modal-note {
    margin-top: 25px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    text-align: center;
}

.modal-note p {
    margin: 0;
    color: #856404;
    font-size: 1rem;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 25px 30px;
    border-top: 2px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.modal-footer .btn {
    min-width: 140px;
}

/* Responsive pour la modal */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(90vh - 200px);
    }
    
    .modal-footer {
        padding: 20px;
        flex-direction: column;
        position: sticky;
        bottom: 0;
        background: #f8f9fa;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .service-price {
        align-self: flex-end;
    }
    
    .service-checkbox {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .services-summary {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .services-summary h4 {
        font-size: 1.2rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .nav-main,
    .nav-mobile,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    section {
        padding: 20px 0;
    }
}

/* ===== PAGE SERVICES ADDITIONNELS ===== */
.services-section {
    padding: 80px 0 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 80px;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-title {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.services-content {
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
}

.service-category {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.service-category h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category h3::before {
    content: "✨";
    font-size: 1.2rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.service-price {
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

/* Checkbox personnalisée */
.service-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #667eea;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.service-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.service-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.service-checkbox:hover .checkmark {
    border-color: #764ba2;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.services-note {
    text-align: center;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #856404;
    font-size: 1rem;
}

.services-summary {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.services-summary h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.selected-services ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.selected-services li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 1rem;
}

.selected-services li:last-child {
    border-bottom: none;
}

.total-price {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #667eea;
    color: #667eea;
    font-size: 1.2rem;
}

.services-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

.services-actions .btn {
    min-width: 0;
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    flex: unset;
    max-width: none;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Style spécifique pour le bouton retour dans la page services */
.services-actions .btn-secondary {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

/* Contrôles de quantité pour les services */
.service-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.services-actions .btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent-ui, var(--accent));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--btn-primary-glow, 0 5px 15px rgba(var(--accent-rgb), 0.3));
}

/* Responsive pour la page services */
@media (max-width: 768px) {
    .services-section {
        padding: 100px 0 60px 0;
        margin-top: 60px;
    }
    
    .services-section .container {
        padding: 0 15px;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
    
    .service-category {
        padding: 20px;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 0;
    }
    
    .service-price {
        align-self: flex-end;
    }
    
    .service-checkbox {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .services-summary {
        padding: 25px;
    }
    
    .services-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-actions .btn {
        width: 100%;
        max-width: 260px;
        font-size: 0.95rem;
        padding: 12px 22px;
    }
    
    .service-quantity {
        margin-left: 10px;
        gap: 6px;
    }
    
    .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .qty-value {
        font-size: 12px;
        min-width: 16px;
    }
}

/* ===== ADMIN GLOBAL ADJUSTMENTS ===== */
.admin-dashboard {
    margin-top: 0;
    padding-top: 0;
}

.admin-dashboard .admin-form-section {
    padding: 60px 0 40px 0;
}

.admin-dashboard .dashboard-planning,
.admin-dashboard .dashboard-recent {
    padding: 60px 0 40px 0;
}

/* Plus d'espace entre la navbar et le header des pages admin */
.admin-dashboard .dashboard-header {
    padding-top: 60px;
}


