html {
    scroll-behavior: smooth;
}

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

body {
    font-family: Georgia, serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Madison', serif;
}

@font-face {
    font-family: 'Madison';
    src: url('../fonts/avenue_de_madison/Avenue\ de\ Madison.ttf') format('truetype');
}
/* Couleurs principales */
:root {
    /* Palette */
    --p-3: #012E40;
    --p-5: #024959;
    --p-4: #026773;
    --p-2: #3CA6A6;
    --p-1: #F2E3D5;

    --special-color: #BF5B7C;

    /* Couleurs pour le dégradé hero */
    --hero-stop-1: rgb(from var(--p-1) r g b / 0.76);
    --hero-stop-2: rgb(from var(--p-2) r g b / 0.73);
    --hero-stop-3: rgb(from var(--p-3) r g b / 0.76);

    /* Dégradé hero réutilisable */
    --grad-hero: linear-gradient(135deg, var(--hero-stop-1) 0%, var(--hero-stop-2) 50%, var(--hero-stop-3) 100%);
}

/* Navigation */
nav {
    background: white;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav img {
    height: 50px;
    float: left;
    margin-right: 20px;
    transform: scale(1.7);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: var(--p-5); 
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

nav a:hover {
    color: var(--special-color);
}

/* Hero Section */
.hero {
    height: 100dvh;
    background: 
      url("../images/logos/PNG/Logo_ArtMor-Inspiration_4.png") no-repeat left center,
      var(--grad-hero) no-repeat center center,
      url("../images/fond Art'mor inspiration.jpg") no-repeat center center;
    background-size: 60% auto, cover, cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.hero-content {
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-slide {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    background: rgba(0, 0, 0, 0.3);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slide:hover {
    background: rgba(0, 0, 0, 0.5);
    animation-play-state: paused;
    height: 65px;
    width: 65px;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

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

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Burger button */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--p-5);
    border-radius: 4px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

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

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 900;
    opacity: 0;
    transition: opacity 0.3s;
}
.nav-overlay.open {
    opacity: 1;
}

/* Mobile nav */
@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }

    .nav-overlay {
        display: block;
        pointer-events: none;
    }
    .nav-overlay.open {
        pointer-events: all;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100dvh;
        width: 75%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 5rem 0 2rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
    }

    #nav-menu.open {
        right: 0;
    }

    #nav-menu li {
        width: 100%;
    }

    #nav-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    #nav-menu a:hover {
        background: #f9f9f9;
        color: var(--special-color);
    }

    nav {
        padding: 1rem 5%;
        width: 100dvw;
    }

    .hero {
        background-size: 100% auto, cover, cover;
    }
}

/* Footer */
.footer {
    background: #f4f4f4;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #777;
    height: auto;
    width: 100dvw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer .legal {
    margin-top: 10px;
    display: flex;
    gap: 20px;
}

.footer .legal a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Cookie section */
.cookie-banner {
    position: fixed;
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: white; 
    color: white; 
    padding: 20px; 
    z-index: 9999; 
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner div {
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 20px; 
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0; 
    flex: 1; 
    min-width: 250px; 
    color: var(--p-3);
}

.cookie-banner form {
    margin: 0;
}

.cookie-banner button {
    background: var(--p-5); 
    color: white; 
    border: none; 
    padding: 12px 30px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-banner button:hover {
    background: rgb( from var(--p-5) r g b / 0.8);
    transition: all 0.3s ease;
}

@media screen and (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .cookie-banner div {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner button {
        width: 100%;
    }

    nav img {
        transform: scale(1.3);
    }
}
