/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

/* Variables de couleurs */
:root {
    --color-background: #1C0D04;
    --color-primary: #C87941;
    --color-secondary: #F0D080;
    --color-accent: #E8A045;
    --color-dark-accent: #9B341A;
}

body {
    font-family: 'Alike Angular', serif;
    font-weight: 400;
    background-color: var(--color-background);
    color: var(--color-secondary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.02em;
}

body::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2700px;
    height: 1100px;
    background: radial-gradient(circle, #9B341A 0%, transparent 70%);
    filter: blur(80px);
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.circle-grain {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2700px;
    height: 1100px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grainFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grainFilter)' fill='%23000000' opacity='0.25'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.8;
}

.circle-glow-bottom {
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 1500px;
    height: 1000px;
    background: radial-gradient(circle, #E8A045 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.circle-glow-left {
    position: absolute;
    top: 8rem;
    left: -900px;
    width: 1500px;
    height: 1000px;
    background: radial-gradient(circle, #E8A045 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.glow-transition-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

.glow-transition-light {
    position: absolute;
    bottom: -300px;
    right: -600px;
    width: 1600px;
    height: 800px;
    background: radial-gradient(circle, #9B341A 0%, transparent 70%);
    filter: blur(80px);
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.glow-transition-grain {
    position: absolute;
    bottom: -300px;
    right: -600px;
    width: 1600px;
    height: 800px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grainFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grainFilter)' fill='%23000000' opacity='0.25'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.8;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Header et Navigation */
header {
    background-color: transparent;
    padding: 1.5rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.5rem 0;
}

.logo-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.logo-link:hover::after {
    width: 100%;
}

.header-logo {
    height: 35px;
    width: auto;
    transition: all 0.3s ease, filter 0.5s ease;
    filter: brightness(0) saturate(100%) invert(91%) sepia(18%) saturate(835%) hue-rotate(346deg) brightness(104%) contrast(96%);
}

.logo-link:hover .header-logo {
    filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(872%) hue-rotate(335deg) brightness(99%) contrast(89%);
}

/* Header sur section jaune */
header.on-light-section .header-logo {
    filter: brightness(0) saturate(100%) invert(6%) sepia(24%) saturate(3065%) hue-rotate(351deg) brightness(95%) contrast(102%);
}

header.on-light-section .logo-link:hover .header-logo {
    filter: brightness(0) saturate(100%) invert(42%) sepia(59%) saturate(1088%) hue-rotate(338deg) brightness(91%) contrast(92%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: #F0D080;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease, color 0.5s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Navigation sur section jaune */
header.on-light-section .nav-links a {
    color: #1C0D04;
}

header.on-light-section .nav-links a:hover,
header.on-light-section .nav-links a.active {
    color: #9B341A;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Main content */
main {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    padding-top: 100px;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65vh;
    padding: 8rem 2rem 22rem;
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.main-logo {
    max-width: 550px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(68%) sepia(61%) saturate(497%) hue-rotate(347deg) brightness(96%) contrast(87%);
    animation: fadeIn 1s ease-in-out;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.main-logo:hover {
    filter: brightness(0) saturate(100%) invert(68%) sepia(61%) saturate(497%) hue-rotate(347deg) brightness(96%) contrast(87%) drop-shadow(0 0 8px rgba(232, 160, 69, 0.2));
}

.logo-container h3 {
    color: #F0D080;
    font-size: 24px;
    margin: 0;
    margin-top: -0.5rem;
    align-self: flex-start;
    padding-left: 3rem;
    text-align: left;
    animation: fadeIn 1.2s ease-in-out;
    font-weight: 300;
}

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

.content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery {
    padding: 2rem 2rem 15rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 1rem);
    max-width: 550px;
    gap: 0.75rem;
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.gallery-caption {
    color: #F0D080;
    font-size: 24px;
    margin: 0;
    text-align: left;
    font-weight: 300;
}

/* Definition Section */
.definition {
    padding: 2rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.definition-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 2rem;
    justify-content: center;
}

.definition-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.definition-left:hover {
    filter: drop-shadow(0 0 8px rgba(232, 160, 69, 0.15));
}

.definition-logo {
    max-width: 450px;
    height: auto;
    margin-top: -1.5rem;
    filter: brightness(0) saturate(100%) invert(74%) sepia(45%) saturate(937%) hue-rotate(333deg) brightness(98%) contrast(89%);
}

.definition-right {
    position: relative;
    margin-top: -9rem;
}

.definition-photo {
    max-width: 510px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    margin-top: -2rem;
}

.definition-photo:hover {
    transform: translateY(-2px);
}

.definition-photo-dede {
    max-width: 600px;
    height: auto;
    margin-top: 2rem;
    margin-left: -120px;
    transition: transform 0.3s ease;
}

.definition-photo-dede:hover {
    transform: translateY(-2px);
}

.origin-title {
    color: #E8A045;
    font-size: 75px;
    font-weight: 400;
    margin: 3rem 0 -1rem 0;
    text-align: left;
    transition: filter 0.4s ease, transform 0.3s ease;
    cursor: pointer;
}

.origin-title:hover {
    filter: drop-shadow(0 0 8px rgba(232, 160, 69, 0.15));
    transform: translateY(-2px);
}

.origin-subtitle {
    color: #F0D080;
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    max-width: 550px;
    line-height: 1.6;
    text-align: left;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.origin-subtitle:hover {
    filter: drop-shadow(0 0 8px rgba(232, 160, 69, 0.15));
}

.definition-photo-mario {
    max-width: 600px;
    height: auto;
    position: absolute;
    bottom: -64rem;
    right: 2rem;
    transition: transform 0.3s ease;
}

.definition-photo-mario:hover {
    transform: translateY(-2px);
}

/* Dupliqués mobile uniquement — cachés sur desktop/tablet */
.definition-photo-mario-mobile,
.definition-photo-julien-mobile {
    display: none;
}

.definition-right-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: absolute;
    bottom: -12rem;
    right: -2rem;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.definition-right-group:hover {
    filter: drop-shadow(0 0 8px rgba(232, 160, 69, 0.15));
}

.definition-logo-goulamas {
    max-width: 900px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(74%) sepia(45%) saturate(937%) hue-rotate(333deg) brightness(98%) contrast(89%);
}

.definition-text-goulamas {
    color: #F0D080;
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    max-width: 550px;
    line-height: 1.6;
    text-align: left;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.definition-text-goulamas:hover {
    filter: drop-shadow(0 0 8px rgba(232, 160, 69, 0.15));
}

.definition-text {
    color: #F0D080;
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    max-width: 550px;
    line-height: 1.6;
    text-align: left;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.definition-text:hover {
    filter: drop-shadow(0 0 8px rgba(232, 160, 69, 0.15));
}

/* Typography */
h1 {
    font-size: 75px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

h2 {
    font-size: 59px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h3 {
    font-size: 24px;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

p {
    font-size: 30px;
    margin-bottom: 1rem;
}

/* Wave Divider */
.wave-divider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Culinary Section */
.culinary-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 2rem 4rem;
    background-color: #EDBE8C;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 8rem;
}

.culinary-content {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.culinary-title {
    color: #1C0D04;
    font-size: 75px;
    font-weight: 400;
    margin: 0 0 0.4rem 0;
    text-align: left;
    transition: filter 0.4s ease, transform 0.3s ease;
    cursor: pointer;
}

.culinary-title:hover {
    filter: drop-shadow(0 0 8px rgba(28, 13, 4, 0.2));
    transform: translateY(-2px);
}

.culinary-subtitle {
    color: #1C0D04;
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    line-height: 1.6;
    text-align: left;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.culinary-subtitle:hover {
    filter: drop-shadow(0 0 8px rgba(28, 13, 4, 0.2));
}

.culinary-photo-laurent {
    max-width: 680px;
    height: auto;
    margin-top: 2rem;
    margin-left: -120px;
    transition: transform 0.3s ease;
}

.culinary-photo-laurent:hover {
    transform: translateY(-2px);
}

.culinary-logo-illu {
    max-width: 1200px;
    height: auto;
    position: absolute;
    top: 22rem;
    right: 2rem;
    transform: rotate(62deg) scaleX(-1);
    filter: brightness(0) saturate(100%) invert(5%) sepia(30%) saturate(1200%) hue-rotate(350deg) brightness(92%) contrast(105%);
    transition: transform 0.4s ease, opacity 1.2s ease-out;
    opacity: 0;
}

.culinary-logo-illu:hover {
    transform: rotate(62deg) scaleX(-1) scale(1.05);
}

.culinary-photo-alain {
    max-width: 550px;
    height: auto;
    position: absolute;
    top: 39rem;
    right: -8rem;
    transform: scaleX(-1);
    transition: transform 0.3s ease;
}

.culinary-photo-alain:hover {
    transform: scaleX(-1) translateY(-2px);
}

.tzigane-title {
    color: #1C0D04;
    font-size: 75px;
    font-weight: 400;
    margin: 2rem 0 0 -3rem;
    max-width: 450px;
    text-align: left;
    line-height: 1.1;
    transition: filter 0.4s ease, transform 0.3s ease;
    cursor: pointer;
}

.tzigane-title:hover {
    filter: drop-shadow(0 0 8px rgba(28, 13, 4, 0.2));
    transform: translateY(-2px);
}

.tzigane-subtitle {
    color: #1C0D04;
    font-size: 24px;
    font-weight: 300;
    margin: 1rem 0 3rem -3rem;
    max-width: 550px;
    line-height: 1.6;
    text-align: left;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.tzigane-subtitle:hover {
    filter: drop-shadow(0 0 8px rgba(28, 13, 4, 0.2));
}

/* Footer */
footer {
    background-color: #EDBE8C;
    color: #1C0D04;
    padding: 1.5rem 3rem;
    border-top: 3px solid #1C0D04;
    margin-top: 0;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

footer p,
footer .social-icons {
    position: relative;
    z-index: 2;
}

.footer-illu {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 0.4rem;
    filter: brightness(0) saturate(100%) invert(5%) sepia(30%) saturate(1200%) hue-rotate(350deg) brightness(92%) contrast(105%);
}

footer p {
    font-size: 14px;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(5%) sepia(30%) saturate(1200%) hue-rotate(350deg) brightness(92%) contrast(105%);
}

/* ========== FOOTER SUBPAGE (transparent, beige text) ========== */
footer.footer-subpage {
    background-color: transparent;
    border-top: 1px solid rgba(200, 121, 65, 0.25);
}

footer.footer-subpage p {
    color: #F0D080;
}

footer.footer-subpage .social-icon {
    filter: brightness(0) saturate(100%) invert(91%) sepia(18%) saturate(835%) hue-rotate(346deg) brightness(104%) contrast(96%);
}

footer.footer-subpage .footer-illu {
    filter: brightness(0) saturate(100%) invert(91%) sepia(18%) saturate(835%) hue-rotate(346deg) brightness(104%) contrast(96%);
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

header.on-light-section .hamburger span {
    background-color: #1C0D04;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
    .definition-content {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
        padding-right: 2rem;
        gap: 1.5rem;
    }

    .definition-left {
        align-items: flex-start;
        width: 100%;
    }

    .definition-right {
        margin-top: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .definition-right-group {
        position: relative;
        bottom: auto;
        right: auto;
        align-items: flex-start;
    }

    .definition-logo {
        max-width: 320px;
    }

    .definition-logo-goulamas {
        max-width: 500px;
    }

    .definition-photo-mario {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 450px;
    }

    .definition-photo-dede {
        margin-left: 0;
    }

    .origin-title {
        margin: 2rem 0 0.3rem 0;
    }

    .culinary-photo-alain {
        position: relative;
        top: auto;
        right: auto;
        transform: scaleX(-1);
        max-width: 400px;
    }

    .culinary-logo-illu {
        position: relative;
        top: auto;
        right: auto;
        max-width: 600px;
    }

    .culinary-content {
        padding: 2rem;
    }

    .culinary-title,
    .culinary-subtitle,
    .tzigane-title,
    .tzigane-subtitle {
        text-align: left;
    }

    .tzigane-title {
        margin-left: 0;
    }

    .tzigane-subtitle {
        margin-left: 0;
    }

    .definition-text,
    .definition-text-goulamas,
    .origin-subtitle {
        text-align: left;
    }

    /* Glow effects - tablet */
    body::before {
        width: 1600px;
        height: 800px;
        opacity: 0.9;
    }

    .circle-grain {
        width: 1600px;
        height: 800px;
    }

    .glow-transition-light {
        width: 1100px;
        height: 600px;
        right: -400px;
        opacity: 0.9;
    }

    .glow-transition-grain {
        width: 1100px;
        height: 600px;
        right: -400px;
    }

    .gallery-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 110;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    header {
        padding: 1rem 1.5rem;
        position: fixed;
        z-index: 200;
    }

    nav {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(28, 13, 4, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 105;
        padding: 2rem;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 20px;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 104;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Sur section claire, le hamburger est marron (fond clair) */
    header.on-light-section .hamburger span {
        background-color: #1C0D04;
    }

    /* Menu ouvert : le tiroir est sombre → le X reste jaune */
    header.on-light-section .hamburger.active span {
        background-color: var(--color-secondary);
    }

    /* Les liens dans le tiroir mobile restent clairs (fond sombre du tiroir) */
    header.on-light-section .nav-links a {
        color: var(--color-secondary);
    }

    /* Typography — tailles cohérentes */
    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 16px;
    }

    .nav-links a {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    /* Hero — logo 1 centré sans trop d'air autour */
    .hero {
        min-height: 60vh;
        padding: 1rem 1.5rem 6rem;
    }

    .main-logo {
        max-width: min(320px, 85vw);
    }

    .logo-container h3 {
        font-size: 14px;
        padding-left: 2rem;
    }

    /* Gallery */
    .gallery {
        padding: 1rem 1.5rem 6rem;
    }

    .gallery-images {
        flex-direction: column;
        gap: 1.5rem;
    }

    .gallery-item {
        width: 100%;
        max-width: 100%;
    }

    .gallery-caption {
        font-size: 14px;
    }

    .gallery-img {
        border-radius: 12px;
    }

    /* Definition — réordonnancement mobile via CSS Grid */
    .definition {
        padding: 1rem 1.5rem 2rem;
        overflow: hidden;
    }

    /* Grille 2 colonnes : logo3 + Julien côte à côte en haut */
    .definition-content {
        display: grid;
        grid-template-columns: 45% 55%;
        row-gap: 1rem;
        column-gap: 0.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        align-items: start;
    }

    /* Les conteneurs left/right deviennent transparents pour la grille */
    .definition-left,
    .definition-right {
        display: contents;
    }

    /* Caché sur mobile — remplacé par definition-photo-julien-mobile dans julien-block */
    .definition-photo {
        display: none;
    }

    /* Bloc julien : float simple, fiable sur tous les mobiles */
    .julien-block {
        grid-column: 1 / -1;
        grid-row: 1;
        overflow: hidden;
    }

    /* LOGO 3 — pleine largeur, avant le float */
    .definition-logo {
        max-width: 100%;
        display: block;
        margin-top: 2.5rem;
    }

    /* Julien — float right sans shape-outside */
    .definition-photo-julien-mobile {
        display: block;
        float: right;
        width: 48%;
        margin-left: 0.75rem;
        margin-top: -2rem;
    }

    /* Sous-texte TARAF — wraps autour du float */
    .definition-text {
        font-size: 15px;
        max-width: 100%;
        text-align: left;
        line-height: 1.8;
    }

    /* Ligne 2 : LOGO 4 + son sous-texte (pleine largeur) */
    .definition-right-group {
        grid-column: 1 / -1;
        grid-row: 2;
        position: relative;
        bottom: auto;
        right: auto;
        align-items: flex-start;
        margin-top: 2.5rem;
    }

    .definition-logo-goulamas {
        max-width: 55vw;
    }

    .definition-text-goulamas {
        font-size: 15px;
        max-width: 100%;
        text-align: left;
        line-height: 1.7;
    }

    /* Ligne 3 : Photo Dédé (pleine largeur) */
    .definition-photo-dede {
        grid-column: 1 / -1;
        grid-row: 3;
        max-width: 80vw;
        margin-left: -1rem;
        margin-top: 2.5rem;
    }

    /* Ligne 5, pleine largeur : titre "On vient d'où ?" — baissé + largeur totale pour éviter le "?" seul à la ligne */
    .origin-title {
        grid-column: 1 / -1;
        grid-row: 5;
        font-size: 34px;
        margin: 3rem 0 0.2rem 0;
        text-align: left;
    }

    /* Ligne 6, Col 1 : sous-texte origine */
    .origin-subtitle {
        grid-column: 1;
        grid-row: 6;
        font-size: 15px;
        max-width: 100%;
        text-align: left;
        line-height: 1.7;
        margin-top: -0.6rem;
    }

    /* Bloc origine : wrapper full-width */
    .origin-block {
        grid-column: 1 / -1;
        grid-row: 4;
        overflow: hidden; /* clearfix du float Mario mobile */
    }

    /* Mario desktop caché sur mobile (remplacé par le Mario mobile dans origin-block) */
    .definition-photo-mario {
        display: none;
    }

    /* Mario mobile — float right + shape-outside pour que le texte épouse sa silhouette */
    .definition-photo-mario-mobile {
        display: block;
        float: right;
        width: 58%;
        shape-outside: url("assets/images/Photo papier découpé - Mario.webp");
        shape-image-threshold: 0.1;
        shape-margin: 0.25rem;
        margin-left: 0.75rem;
        margin-top: 0.5rem;
    }

    /* Culinary Section — meilleur équilibre */
    .culinary-section {
        padding: 0 1.5rem 5rem;
    }

    .culinary-content {
        padding: 1.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .culinary-title {
        font-size: 34px;
        text-align: left;
    }

    .culinary-subtitle {
        font-size: 15px;
        text-align: left;
        line-height: 1.7;
    }

    .culinary-photo-laurent {
        max-width: 85vw;
        margin-left: -0.5rem;
        margin-top: 1.5rem;
    }

    .culinary-logo-illu {
        display: none;
    }

    .culinary-photo-alain {
        position: relative;
        top: auto;
        right: auto;
        max-width: 65vw;
        display: block;
        margin: 1.5rem auto;
        align-self: center;
        order: 10; /* après tzigane-title et tzigane-subtitle */
    }

    .tzigane-title {
        font-size: 34px;
        margin: 1.5rem 0 0.5rem 0;
        max-width: 100%;
        text-align: left;
    }

    .tzigane-subtitle {
        font-size: 15px;
        margin: 0.5rem 0 1.5rem 0;
        max-width: 100%;
        text-align: left;
        line-height: 1.7;
    }

    /* Wave */
    .wave-divider svg {
        height: 60px;
    }

    /* Footer */
    footer {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* Glow effects - adapted for mobile */
    body::before {
        width: 1200px;
        height: 700px;
        opacity: 0.9;
    }

    .circle-grain {
        width: 1200px;
        height: 700px;
    }

    .circle-glow-bottom,
    .circle-glow-left {
        width: 800px;
        height: 600px;
        opacity: 0.5;
    }

    .glow-transition-light {
        width: 900px;
        height: 500px;
        right: -300px;
        bottom: -200px;
        opacity: 0.9;
    }

    .glow-transition-grain {
        width: 900px;
        height: 500px;
        right: -300px;
        bottom: -200px;
    }

    /* Content sections */
    main {
        padding-top: 80px;
    }

    .content {
        padding: 1rem;
    }

    /* Sections — espacement uniforme */
    section {
        margin-bottom: 1.5rem;
    }
}

/* ========== SUBPAGE FOOTER SPACING ========== */
.footer-subpage {
    margin-top: 6rem;
}

/* ========== AUDIO PLAYER GLOW ========== */
.audio-player-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 52, 26, 0.35) 0%, rgba(200, 121, 65, 0.1) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.audio-player > *:not(.audio-player-glow):not(.player-glow-bottom) {
    position: relative;
    z-index: 1;
}

/* ========== AUDIO PLAYER ========== */
.audio-player {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 2.5rem 3rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(200, 121, 65, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.player-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.player-label {
    font-size: 11px;
    letter-spacing: 6px;
    color: #9B341A;
    text-transform: uppercase;
    font-weight: 400;
}

.player-track-title {
    font-size: 48px !important;
    color: #F0D080 !important;
    margin: 0 !important;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-album {
    font-size: 14px;
    color: #C87941;
    margin-top: 0.25rem;
}

.player-tracklist {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    min-width: 200px;
}

.tracklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tracklist-item:hover {
    background: rgba(200, 121, 65, 0.08);
}

.tracklist-item.active .tracklist-title {
    color: #E8A045;
}

.tracklist-title {
    font-size: 14px;
    color: rgba(240, 208, 128, 0.5);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.tracklist-duration {
    font-size: 12px;
    color: rgba(240, 208, 128, 0.3);
    margin-left: 1.5rem;
}

/* Waveform */
.player-waveform {
    width: 100%;
    height: 60px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.waveform-bar {
    transition: fill 0.15s ease, filter 0.15s ease;
}

/* Progress Bar */
.player-progress-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.player-time {
    font-size: 12px;
    color: rgba(240, 208, 128, 0.5);
    min-width: 36px;
    font-variant-numeric: tabular-nums;
}

.player-track-progress {
    flex: 1;
    height: 2px;
    background: rgba(200, 121, 65, 0.15);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.player-track-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #9B341A, #C87941, #E8A045);
    width: 0%;
    transition: width 0.1s linear;
}

.player-track-dot {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #F0D080;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(240, 208, 128, 0.5);
    transition: left 0.1s linear;
}

/* Controls */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.player-btn {
    background: none;
    border: none;
    color: #C87941;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.15s ease;
    padding: 0;
}

.player-btn:hover {
    color: #F0D080;
    transform: scale(1.1);
}

.player-btn-play {
    width: 56px;
    height: 56px;
    border: 1px solid #C87941 !important;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.player-btn-play:hover {
    background: #C87941;
    color: #1C0D04;
}

/* Decorative glow */
.player-glow-bottom {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120px;
    background: radial-gradient(ellipse, rgba(200, 121, 65, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ========== AUDIO PLAYER RESPONSIVE ========== */
@media (max-width: 768px) {
    .audio-player {
        padding: 1.5rem 1.25rem 1.25rem;
        margin: 0 1rem 2rem;
        border-radius: 12px;
    }

    .player-top {
        flex-direction: column;
        gap: 1.25rem;
    }

    .player-track-title {
        font-size: 28px !important;
    }

    .player-tracklist {
        min-width: 0;
        width: 100%;
    }

    .player-waveform {
        height: 40px;
    }

    .player-controls {
        gap: 24px;
    }

    .player-btn-play {
        width: 48px;
        height: 48px;
    }
}

/* Small smartphones */
@media (max-width: 400px) {
    h1 {
        font-size: 28px;
    }

    .hero {
        min-height: 60vh;
        padding: 1rem 1rem 4rem;
    }

    .main-logo {
        max-width: 75vw;
    }

    .logo-container h3 {
        font-size: 13px;
        padding-left: 1.75rem;
    }

    .nav-links a {
        font-size: 18px;
    }

    header {
        padding: 0.75rem 1rem;
    }

    .header-logo {
        height: 28px;
    }

    .definition-text,
    .definition-text-goulamas,
    .origin-subtitle,
    .culinary-subtitle,
    .tzigane-subtitle {
        font-size: 14px;
    }

    .origin-title,
    .culinary-title,
    .tzigane-title {
        font-size: 28px;
    }

    .definition-logo {
        max-width: 42vw;
    }

    .definition-logo-goulamas {
        max-width: 50vw;
    }

    .culinary-photo-laurent {
        max-width: 90vw;
    }

    .culinary-photo-alain {
        max-width: 70vw;
    }
}
