body,
html {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

canvas {
    display: block;
}

/* Setup Trigger (Hidden Top-Left) */
.setup-trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    z-index: 9999;
    /* background: rgba(255, 0, 0, 0.1); Debug only */
    cursor: pointer;
}

/* Setup Overlay */
.setup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: sans-serif;
    opacity: 0;
    transition: opacity 0.3s;
}

.setup-overlay.visible {
    display: flex;
    opacity: 1;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.setup-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    font-weight: bold;
}

.setup-btn.close {
    background: #6c757d;
}

.setup-title {
    margin-bottom: 20px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- APPLE STYLE PANELS --- */
.apple-panel {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 12vh;
}

.panel-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    position: relative;
}

.dark-panel {
    color: #f5f5f7;
}

.dark-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.apple-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.apple-subtitle {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.011em;
    margin: 10px 0 25px 0;
    opacity: 0.95;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.apple-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-size: 1.25rem;
}

.apple-link {
    color: #2997ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apple-link:hover {
    color: #55acfe;
}

.apple-btn-white {
    background: #f5f5f7;
    color: #1d1d1f;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.apple-btn-white:hover {
    background: #ffffff;
    transform: scale(1.05);
}

/* --- BENTO GRID STYLE --- */
.seamless-panel {
    justify-content: center;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.seamless-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 1;
}

.bento-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bento-header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
}

.bento-card {
    border-radius: 28px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hover-scale:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(197, 160, 48, 0.15) 0%, rgba(0, 0, 0, 0) 100%), rgba(255, 255, 255, 0.03);
}

.bento-wide {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.bento-large .bento-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bento-content p {
    font-size: 1.1rem;
    opacity: 0.75;
    line-height: 1.5;
    margin: 0;
}

.bento-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: flex-start;
}

.bento-cta-content .text-group {
    margin-bottom: 20px;
}

@media (max-width: 950px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apple-title {
        font-size: 3rem;
    }

    .apple-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 650px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

    .bento-large {
        grid-row: span 1;
    }

    .apple-title {
        font-size: 2.2rem;
    }

    .apple-subtitle {
        font-size: 1.2rem;
    }

    .apple-panel {
        padding-top: 20vh;
    }

    .apple-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- SEO TEXT SECTION --- */
.seo-section {
    width: 100%;
    padding: 60px 20px 100px 20px;
    display: flex;
    justify-content: center;
    background: #000000;
    color: #a1a1a6;
    position: relative;
    z-index: 2;
}

.seo-container {
    max-width: 900px;
    width: 100%;
    padding: 40px 50px;
    border-radius: 20px;
    text-align: left;
}

.seo-container h2 {
    color: #f5f5f7;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-container h2:first-child {
    margin-top: 0;
}

.seo-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.seo-container a.text-link {
    color: #c5a030;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.seo-container a.text-link:hover {
    border-bottom: 1px solid #c5a030;
}

@media (max-width: 768px) {
    .seo-container {
        padding: 30px 20px;
    }

    .seo-container h2 {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   REFONTE LIOR SUCHARD STYLE (DEEP BLACK)
   ========================================================================== */

/* Typography */
.suchard-font-hero {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.suchard-font-serif {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}

/* Layouts */
.suchard-hero {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

.suchard-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    /* Assombrir la vidéo pour lire le texte */
}

/* Gradient overlay to ensure text readability over hero images/videos */
.suchard-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.suchard-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.suchard-hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    margin: 0;
    line-height: 1;
}

.suchard-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #c5a030;
    /* Premium Gold Accent */
    margin-top: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.suchard-quote-section {
    padding: 120px 20px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.suchard-quote {
    max-width: 900px;
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.suchard-quote span.author {
    display: block;
    margin-top: 30px;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.suchard-split {
    display: flex;
    width: 100vw;
    min-height: 80vh;
    background-color: #000;
}

.suchard-split>div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.suchard-split-image {
    background-size: cover;
    background-position: center;
    min-height: 50vh;
}

.suchard-split-content {
    padding: 8vw;
    color: #fff;
}

.suchard-split-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0 0 30px 0;
}

.suchard-split-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 30px;
}

.suchard-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: transparent;
}

.suchard-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 900px) {
    .suchard-split {
        flex-direction: column;
    }

    .suchard-split-image {
        min-height: 50vh;
    }

    .suchard-split-content {
        padding: 50px 20px;
    }
}