/*
Theme Name: Le Bateau Phare
Theme URI: https://lebateauphare.paris
Author: ApiNetwork
Description: Thème custom Le Bateau Phare — sans Elementor
Version: 2.0.0
Text Domain: bateauphare
*/

/* ============================================
   RESET + VARIABLES
   ============================================ */
:root {
    --btp-primary: #141729;
    --btp-secondary: #F0F2FA;
    --btp-text: #8EA4B8;
    --btp-accent: #B8434F;
    --btp-red: #C43A3A;
    --btp-cream: #E8ECF4;
    --btp-dark: #0C0E1A;
    --btp-white: #EDF0F7;
    --font-display: 'Yapari', serif;
    --font-heading: 'Noto Sans Phoenician', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

@font-face {
    font-family: 'Yapari';
    src: url('./fonts/Yapari-Regular.woff2') format('woff2'),
         url('./fonts/Yapari-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yapari';
    src: url('./fonts/Yapari-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--btp-white);
    background: var(--btp-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   HEADER
   ============================================ */
.btp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.btp-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.btp-logo img {
    height: 60px;
    width: auto;
}

.btp-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.btp-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.btp-nav .menu-item { display: inline; }

.btp-nav a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--btp-white);
    transition: all 0.3s ease;
    position: relative;
}

.btp-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--btp-white);
    transition: width 0.4s ease;
}

.btp-nav a:hover::after { width: 100%; }

.btp-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btp-btn-resa {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--btp-red), #ff6b4a);
    color: var(--btp-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btp-btn-resa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 41, 3, 0.4);
}

.btp-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btp-socials a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btp-socials a:hover {
    border-color: var(--btp-white);
    background: rgba(255, 255, 255, 0.1);
}

.btp-socials svg {
    width: 16px;
    height: 16px;
    fill: var(--btp-white);
}

/* Burger mobile */
.btp-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.btp-burger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--btp-white);
    transition: all 0.3s ease;
}

/* ============================================
   HERO — VIDEO
   ============================================ */
.btp-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btp-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.btp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.btp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.btp-hero-title {
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 700;
    color: var(--btp-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.btp-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: btp-bounce 2s ease-in-out infinite;
}

.btp-hero-scroll img,
.btp-hero-scroll svg { width: 90px; height: 90px; opacity: 0.85; filter: brightness(1.3); }

.btp-scroll-text {
    transform-origin: 60.5px 60px;
    animation: btp-spin 12s linear infinite;
}

.btp-scroll-arrow {
    transform-origin: 60.5px 60px;
}

@keyframes btp-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes btp-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
.btp-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.btp-section-full {
    padding: 100px 40px;
}

.btp-section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.btp-section-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

.btp-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btp-btn-primary {
    background: linear-gradient(135deg, var(--btp-red), #ff6b4a);
    color: var(--btp-white);
}

.btp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 41, 3, 0.4);
}

.btp-btn-outline {
    background: transparent;
    color: var(--btp-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btp-btn-outline:hover {
    border-color: var(--btp-white);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.btp-intro {
    background: var(--btp-primary);
    text-align: center;
    padding: 120px 40px;
}

.btp-intro .btp-section-title {
    color: var(--btp-secondary);
}

.btp-intro .btp-section-text {
    margin: 0 auto 40px;
    color: rgba(255, 254, 243, 0.8);
    font-size: 20px;
}

/* ============================================
   EVENTS GRID
   ============================================ */
.btp-events {
    background: var(--btp-dark);
    padding: 80px 40px;
}

.btp-events-header {
    max-width: 1200px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Strip horizontal affiches — slider 1 ligne */
.btp-events-strip {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.btp-events-strip::-webkit-scrollbar { display: none; }
.btp-events-strip { scrollbar-width: none; -ms-overflow-style: none; }

.btp-event-tile {
    flex: 0 0 180px;
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btp-event-tile:hover {
    transform: translateY(-4px);
}

.btp-event-tile-poster {
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 12px;
}

.btp-event-tile-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.btp-event-tile-date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--btp-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.btp-event-tile-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--btp-white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btp-events-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.btp-event-card {
    background: var(--btp-primary);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btp-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 29, 55, 0.5);
}

.btp-event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.btp-event-card-body {
    padding: 20px;
}

.btp-event-date {
    font-size: 13px;
    color: var(--btp-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.btp-event-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--btp-white);
    margin-bottom: 8px;
}

.btp-event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btp-event-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FOOD & DRINKS / PRIVATISATION
   ============================================ */
.btp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.btp-split-img {
    position: relative;
    overflow: hidden;
}

.btp-split-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btp-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    background: var(--btp-primary);
}

.btp-split-content .btp-section-title {
    color: var(--btp-secondary);
}

.btp-split-content .btp-section-text {
    margin-bottom: 32px;
}

.btp-split-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   RESERVATION SECTION
   ============================================ */
.btp-reservation {
    background: var(--btp-dark);
    text-align: center;
    padding: 100px 40px;
}

.btp-reservation .btp-section-title {
    color: var(--btp-secondary);
    margin-bottom: 40px;
}

.btp-resa-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.btp-resa-card {
    padding: 32px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btp-resa-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--btp-accent);
}

.btp-resa-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--btp-white);
}

.btp-resa-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

/* ============================================
   MAP / INFOS
   ============================================ */
.btp-info {
    background: var(--btp-dark);
    color: var(--btp-white);
    padding: 80px 40px;
}

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

.btp-info-details h3 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--btp-white);
}

.btp-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

.btp-info-item strong { font-weight: 600; }

.btp-info-map {
    background: var(--btp-cream);
    border-radius: 16px;
    padding: 24px;
}

.btp-info-map img {
    width: 100%;
    border-radius: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.btp-footer {
    background: var(--btp-primary);
    padding: 60px 40px 30px;
    text-align: center;
}

.btp-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.btp-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--btp-white);
}

.btp-footer-col p,
.btp-footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.btp-footer-col a:hover { color: var(--btp-white); }

.btp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.btp-footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.btp-footer-legal {
    display: flex;
    gap: 24px;
}

.btp-footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.btp-footer-legal a:hover { color: var(--btp-white); }

/* ============================================
   NEWSLETTER PILL
   ============================================ */
#btp-newsletter-pill {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99990 !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, var(--btp-primary) 0%, var(--btp-red) 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0 !important;
    height: 56px !important;
    width: 56px !important;
    cursor: pointer !important;
    box-shadow: 0 8px 30px rgba(236, 41, 3, 0.3) !important;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, transform 0.3s ease !important;
    overflow: hidden !important;
    animation: btp-pillEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1s both !important;
    outline: none !important;
}

#btp-newsletter-pill:hover {
    width: 200px !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(236, 41, 3, 0.5) !important;
}

#btp-newsletter-pill .btp-pill-icon {
    min-width: 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#btp-newsletter-pill .btp-pill-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

#btp-newsletter-pill .btp-pill-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    padding-right: 0;
    transition: opacity 0.3s ease 0.1s, padding 0.3s ease;
    overflow: hidden;
}

#btp-newsletter-pill:hover .btp-pill-label {
    opacity: 1;
    padding-right: 24px;
}

@keyframes btp-pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(236, 41, 3, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(236, 41, 3, 0.6), 0 0 0 8px rgba(236, 41, 3, 0.1); }
}

#btp-newsletter-pill:not(:hover) {
    animation: btp-pulse 3s ease-in-out infinite;
}

@keyframes btp-pillEntry {
    from { opacity: 0; transform: translateY(40px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   COOKIE POPUP
   ============================================ */
.btp-cookie-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    animation: btp-fadeIn 0.4s ease;
}

.btp-cookie-overlay.active { display: flex; }

.btp-cookie-box {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 480px;
    margin: 0 20px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: btp-scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btp-cookie-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.btp-cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ============================================
   ZENCHEF MODALE
   ============================================ */
.btp-zc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.btp-zc-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btp-zc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: btp-fadeIn 0.3s ease;
}

.btp-zc-container {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 500px;
    height: 85vh;
    max-height: 700px;
    background: #2c3037;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: btp-scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btp-zc-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

.btp-zc-close:hover { background: rgba(236, 41, 3, 0.8); }

.btp-zc-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   BOUTON RÉSERVER FIXE MOBILE
   ============================================ */
.btp-mobile-resa {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(10, 12, 24, 0.98), rgba(10, 12, 24, 0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
}

.btp-mobile-resa button {
    width: 100%;
    max-width: 400px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--btp-red), #ff6b4a);
    color: var(--btp-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

/* ============================================
   NEWSLETTER MODAL
   ============================================ */
.btp-nl-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999998;
}

.btp-nl-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btp-nl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    animation: btp-fadeIn 0.3s ease;
}

.btp-nl-container {
    position: relative;
    z-index: 1;
    background: var(--btp-primary);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90vw;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: btp-scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btp-nl-container h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--btp-secondary);
}

.btp-nl-container input[type="text"],
.btp-nl-container input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--btp-white);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.btp-nl-container input:focus {
    border-color: var(--btp-accent);
}

.btp-nl-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btp-nl-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
}

.btp-nl-close:hover { color: var(--btp-white); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes btp-fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}

@keyframes btp-scaleIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .btp-split { grid-template-columns: 1fr; }
    .btp-split-img { min-height: 400px; }
    .btp-split-content { padding: 60px 40px; }
    .btp-info-grid { grid-template-columns: 1fr; }
    .btp-resa-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .btp-nav { display: none; }
    .btp-btn-resa { display: none; }
    .btp-burger { display: flex; }

    .btp-header { padding: 12px 16px; }
    .btp-hero-title { font-size: 32px; }
    .btp-section { padding: 48px 16px; }
    .btp-section-full { padding: 48px 16px; }
    .btp-section-title { font-size: 26px; }
    .btp-section-text { font-size: 15px; }
    .btp-intro { padding: 60px 16px; }

    /* Events header — empiler titre + bouton */
    .btp-events { padding: 48px 16px; }
    .btp-events-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .btp-events-grid { grid-template-columns: 1fr; }
    .btp-events-strip { gap: 12px; }
    .btp-event-tile { flex: 0 0 140px; }
    .btp-event-tile-title { font-size: 12px; }
    .btp-event-tile-date { font-size: 11px; }

    /* Split sections */
    .btp-split { grid-template-columns: 1fr !important; }
    .btp-split-img { min-height: 260px; }
    .btp-split-content { padding: 32px 16px; text-align: center; }
    .btp-split-buttons { justify-content: center; }
    .btp-split-inline { gap: 32px; }

    /* Reservation */
    .btp-reservation { padding: 48px 16px; }
    .btp-resa-cards { grid-template-columns: 1fr !important; max-width: 100%; }
    .btp-resa-card { padding: 28px 20px; }

    /* Info + map */
    .btp-info { padding: 48px 16px; }
    .btp-info-grid { gap: 32px; }
    .btp-info-details { text-align: center; }
    .btp-info-map img { max-width: 100%; }

    /* Footer — centré mobile */
    .btp-footer { padding: 48px 16px 24px; }
    .btp-footer-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
        align-items: center;
    }
    .btp-footer-col { text-align: center; }
    .btp-footer-col .btp-socials { justify-content: center !important; }
    .btp-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .btp-footer-legal { justify-content: center; }

    /* Contact 2x2 */
    .btp-contact-2x2 { grid-template-columns: 1fr; gap: 16px; }
    .btp-contact-card { padding: 28px 20px; }
    .btp-contact-card h2 { font-size: 22px; }

    /* Offers & Spaces */
    .btp-offers-grid { grid-template-columns: 1fr; }
    .btp-spaces-grid { grid-template-columns: 1fr; }
    .btp-offer-card { padding: 28px 20px; }

    /* Form rows — empiler */
    .btp-form-row { grid-template-columns: 1fr; }

    /* Mosaic */
    .btp-mosaic-hero { min-height: 50vh; }

    /* Page heroes */
    .btp-page-hero-title { font-size: 30px; }
    .btp-page-hero-subtitle { font-size: 15px; }
    .btp-page-hero { min-height: 35vh; padding-top: 70px; }

    /* Mobile menu fullscreen */
    .btp-nav.open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 12, 24, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 9999;
        padding: 80px 20px;
    }
    .btp-nav.open a {
        font-size: 22px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--btp-white);
    }
    .btp-nav.open a::after { display: none; }

    /* Burger au-dessus du menu ouvert */
    .btp-burger { z-index: 10000; position: relative; }

    /* Burger → X quand ouvert */
    .btp-nav.open ~ .btp-header-right .btp-burger span:nth-child(1),
    .btp-header.menu-open .btp-burger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .btp-nav.open ~ .btp-header-right .btp-burger span:nth-child(2),
    .btp-header.menu-open .btp-burger span:nth-child(2) {
        opacity: 0;
    }
    .btp-nav.open ~ .btp-header-right .btp-burger span:nth-child(3),
    .btp-header.menu-open .btp-burger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Newsletter pill — remonter au-dessus du bouton resa fixe */
    #btp-newsletter-pill {
        bottom: 76px !important;
        right: 16px !important;
        height: 44px !important;
        width: 44px !important;
    }

    /* Cookie popup */
    .btp-cookie-box { padding: 24px 16px; max-width: 90vw; }

    /* Buttons */
    .btp-btn { font-size: 13px; padding: 12px 20px; }

    /* Bouton Réserver fixe en bas mobile */
    .btp-mobile-resa {
        display: flex;
    }

    /* ZenChef modale fullscreen mobile */
    .btp-zc-container {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }

    /* Newsletter modale fullscreen mobile */
    .btp-nl-container {
        width: 100vw;
        max-width: none;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }
}

/* ============================================
   PAGES INTERNES — HERO
   ============================================ */
.btp-page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.btp-page-hero-short { min-height: 30vh; }

/* Slideshow CSS pur — crossfade + Ken Burns */
.btp-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.btp-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: btp-slide-fade 18s infinite;
    transform: scale(1);
}

/* Animation dynamique — durée = var(--slide-duration), delay via style inline */
.btp-slideshow img {
    animation-duration: var(--slide-duration, 18s);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-name: btp-slide-fade;
}

@keyframes btp-slide-fade {
    0%      { opacity: 0; transform: scale(1); }
    3%      { opacity: 1; }
    20%     { opacity: 1; transform: scale(1.06); }
    23%     { opacity: 0; transform: scale(1.06); }
    100%    { opacity: 0; transform: scale(1); }
}

.btp-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.75));
    z-index: 1;
}

.btp-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
}

.btp-page-hero-title {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
}

.btp-page-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.btp-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   LE BATEAU — ESPACES GRID
   ============================================ */
.btp-spaces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.btp-space-card {
    background: var(--btp-primary);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btp-space-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.btp-space-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.btp-space-body {
    padding: 24px;
}

.btp-space-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 8px;
}

.btp-space-capacity {
    display: inline-block;
    font-size: 15px;
    color: var(--btp-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.btp-space-body p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   LE BATEAU — OFFRES
   ============================================ */
.btp-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.btp-offer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.btp-offer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--btp-accent);
    transform: translateY(-4px);
}

.btp-offer-icon {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1;
}
.btp-offer-icon svg {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto;
}

.btp-offer-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--btp-secondary);
}

.btp-offer-card p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   FORMULAIRE CORPORATE
   ============================================ */
.btp-form input,
.btp-form select,
.btp-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--btp-white);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

.btp-form input:focus,
.btp-form select:focus,
.btp-form textarea:focus {
    border-color: var(--btp-accent);
}

.btp-form input::placeholder,
.btp-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btp-form select {
    color: rgba(255, 255, 255, 0.4);
}

.btp-form select option {
    background: var(--btp-primary);
    color: var(--btp-white);
}

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

/* ============================================
   CONTACT GRILLE 2x2
   ============================================ */
.btp-contact-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.btp-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 32px;
}

.btp-contact-card h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--btp-white);
}

.btp-contact-item {
    margin-bottom: 16px;
}

.btp-contact-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--btp-accent);
    margin-bottom: 4px;
}

.btp-contact-item p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.btp-contact-mini-form input,
.btp-contact-mini-form textarea {
    margin-bottom: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

/* ============================================
   RESA SPLIT — ZenChef + Groupes
   ============================================ */
.btp-resa-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .btp-resa-split { grid-template-columns: 1fr; }
}

/* ============================================
   SPLIT INLINE (pages internes)
   ============================================ */
.btp-split-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ============================================
   FILTRES EVENTS
   ============================================ */
.btp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 24px;
}

.btp-filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btp-filter-btn:hover {
    border-color: var(--btp-white);
    color: var(--btp-white);
}

.btp-filter-btn.active {
    background: var(--btp-accent);
    border-color: var(--btp-accent);
    color: var(--btp-white);
}

/* ============================================
   MOSAÏQUE AFFICHES HERO
   ============================================ */
.btp-mosaic-hero {
    min-height: 70vh;
}

.btp-mosaic-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    z-index: 0;
}

.btp-mosaic-item {
    overflow: hidden;
}

.btp-mosaic-item {
    perspective: 600px;
}

.btp-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    backface-visibility: hidden;
}

.btp-mosaic-item.flipping img {
    transform: rotateY(90deg);
}

.btp-mosaic-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .btp-mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

/* ============================================
   SHOTGUN WIDGET OVERRIDE
   ============================================ */
#shotgun-events-listing {
    min-height: 400px;
}

.btp-filter-sep {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    align-self: center;
    margin: 0 4px;
}

.btp-filter-lieu.active {
    background: var(--btp-primary);
    border-color: var(--btp-text);
}

.btp-event-card.hidden {
    display: none;
}

/* ============================================
   UTILITAIRES RESPONSIVE
   ============================================ */
.btp-show-mobile { display: none; }
@media (max-width: 768px) {
    .btp-hide-mobile { display: none !important; }
    .btp-show-mobile { display: block !important; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.btp-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btp-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE PAGES INTERNES
   ============================================ */
@media (max-width: 1024px) {
    .btp-spaces-grid { grid-template-columns: 1fr; }
    .btp-offers-grid { grid-template-columns: 1fr; }
    .btp-contact-2x2 { grid-template-columns: 1fr; }
    .btp-split-inline { grid-template-columns: 1fr; }
    .btp-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .btp-page-hero-title { font-size: 30px; }
    .btp-page-hero { min-height: 35vh; padding-top: 70px; }
    .btp-page-hero-subtitle { font-size: 15px; margin-bottom: 20px; }
    .btp-spaces-grid { grid-template-columns: 1fr; }
    .btp-resa-cards { grid-template-columns: 1fr !important; }
    .btp-space-img img { height: 200px; }
    .btp-space-body { padding: 20px 16px; }
    .btp-space-body h3 { font-size: 20px; }
}

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