/* assets/css/styles.css */
/* Police import (si tu gardes l'import dans le HTML <head> tu peux retirer ceci) */
/* @import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;400;500;600;700&display=swap'); */

/* Reset & variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
    --accent: #ffffff;
    --nav-height: 60px;
}

body {
    font-family: 'Overpass', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-left-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.nav-tagline-left {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.nav-center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    height: 40px;
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: block;
    height: 40px;
}

.nav-logo img {
    height: 100%;
    width: auto;
    filter: brightness(100%);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

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

/* Burger */
.burger-menu {
    display: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    margin-left: auto;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.burger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger-menu.open span:nth-child(2) {
    opacity: 0;
}
.burger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
    min-height: calc(100vh - var(--nav-height));
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin-top: calc(0px - var(--nav-height));
}

/* Video background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.video-foreground {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

.video-foreground video {
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.logo-container, .hero-content {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: none !important;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8) translateY(-30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.4;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

/* Sections */
section {
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 5vw, 2rem);
    scroll-margin-top: var(--nav-height);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About grid */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-image {
    position: relative;
    background: var(--bg-card);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2rem;
}

/* Services */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-card {
    background: var(--bg-card);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    transition: transform 0.6s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    transform: translate(25%, 25%);
}

.service-icon {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    line-height: 1.6;
}

/* Menu */
.menu {
    background: var(--bg-primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
}

.menu-category {
    background: var(--bg-card);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.menu-category:hover {
    border-color: var(--accent);
}

.menu-category h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.menu-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-item h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.menu-item p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

/* Options */
.menu-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.menu-option {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-weight: 400;
}

.menu-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.menu-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    opacity: 0.6;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Menu section titles */
.menu-section {
    margin-bottom: 4rem;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 300;
    color: var(--text-primary);
}

.menu-section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Combinations */
.panini-combinations {
    margin-top: 2rem;
    padding-top: 2rem;
}

.panini-combinations h3 {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.7;
    font-style: italic;
}

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

.combination-item {
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(1rem, 2vw, 1.25rem);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
    text-align: center;
}

.combination-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: none;
    background: rgba(255, 255, 255, 0.04);
}

.combination-item h4 {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 0.4rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.combination-item p {
    color: var(--text-muted);
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    line-height: 1.4;
    margin: 0;
    opacity: 0.7;
}

/* Contact */
.contact {
    background: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: none;
}

.contact-item strong {
    display: inline;
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: var(--text-secondary);
}

.contact-item span {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-primary);
    font-weight: 300;
}

/* Form */
.contact-form {
    max-width: 700px;
    margin: 3rem auto 4rem;
    padding: clamp(2.5rem, 5vw, 4rem);
    background: var(--bg-card);
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.contact-form:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-family: 'Overpass', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    transition: all 0.3s;
    box-sizing: border-box;
    max-width: 100%;
}

/* Correction specific date */
.form-group input[type="date"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Overpass', sans-serif;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    display: block;
}

.form-message.loading {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: block;
}

/* Footer */
footer {
    background: var(--bg-primary);
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-credit {
    margin-top: 1rem;
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    opacity: 0.7;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent);
    border-radius: 25px;
    opacity: 0.5;
    animation: fadeInUp 1s ease 1s both;
    z-index: 2;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Classe pour cacher les éléments anti-spam */
.antispam {
    display: none !important; /* Le !important force le masquage */
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
    }

    .logo-container {
        margin-bottom: 2rem;
    }

    section {
        padding: clamp(3rem, 8vw, 5rem) 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .combinations-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: clamp(1.5rem, 4vw, 2.5rem);
        margin: 2rem auto 3rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 16px;
    }

    .form-group input[type="date"] {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        -webkit-appearance: none;
        appearance: none;
    }

    .nav-container {
        padding: 0 1.5rem;
        justify-content: space-between;
    }

    .nav-left-group {
        display: none;
    }

    .nav-center-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        width: auto;
        z-index: 1002;
    }

    .nav-center-logo .nav-logo a { height: 40px; }
    .nav-center-logo .nav-logo img { height: 100%; width: auto; }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.4s ease-out;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        opacity: 0;
        animation: slideInLink 0.5s ease-out forwards;
    }

    .nav-links.active li:nth-child(1) a { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) a { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(3) a { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(4) a { animation-delay: 0.4s; }
    .nav-links.active li:nth-child(5) a { animation-delay: 0.5s; }

    @keyframes slideInLink {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .burger-menu {
        display: block;
        order: 3;
        z-index: 1003;
    }
}

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