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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Variables CSS - Design System */
:root {
    --color-rose: #FD7EDB;
    --color-blue: #01FFFF;
    --color-dark: #130B32;
    --color-dark-blue: #2B187B;
}

/* Fonts */
@font-face {
    font-family: 'TBJ Fluke';
    src: url('../assets/fonts/TBJFluke-Bold.woff2') format('woff2'),
         url('../assets/fonts/TBJFluke-Bold.woff') format('woff'),
         url('../assets/fonts/TBJFluke-Bold.ttf') format('truetype'),
         url('../assets/fonts/TBJFluke-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TBJ Fluke';
    src: url('../assets/fonts/TBJFluke-Light.woff2') format('woff2'),
         url('../assets/fonts/TBJFluke-Light.woff') format('woff'),
         url('../assets/fonts/TBJFluke-Light.ttf') format('truetype'),
         url('../assets/fonts/TBJFluke-Light.otf') format('opentype');
    font-weight: lighter;
    font-style: normal;
    font-display: swap;
}



/* Body */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: var(--color-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

h2 {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 56px;
    color: white;
    line-height: 1;
    letter-spacing: 0.68px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Section Hero */
#hero {
    height: 90vh;
    background-image: url('../assets/img/bg-hero.webp');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Skyline Angers : silhouettes en bas du hero, débordent vers la section suivante */
.hero-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-building {
    position: absolute;
    bottom: 0;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    /* léger glow violet pour intégrer à l'ambiance */
    filter: drop-shadow(0 0 12px rgba(43, 24, 123, 0.5));
}

/* Cathédrale Saint-Maurice : tall + thin, côté gauche, en arrière-plan */
.hero-building-cathedrale {
    left: -3%;
    width: 270px;
    z-index: 2;
    bottom: -50px;
}

/* Château d'Angers : large silhouette à gauche-centre, au premier plan */
.hero-building-chateau {
    left: -12%;
    width: 720px;
    z-index: 4;
    bottom: -95px;
}

/* Immeuble moderne : silhouette horizontale côté droit, en milieu de plan */
.hero-building-immeuble {
    right: -12%;
    width: 570px;
    z-index: 3;
    bottom: -105px;
}

/* Statue (Roi René) : tall + thin, côté droit, en arrière-plan */
.hero-building-statue {
    right: -3%;
    width: 195px;
    z-index: 2;
    bottom: -50px;
}

/* Tablette (768 - 1199) */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-building-cathedrale {
        left: -4%;
        width: 225px;
    }
    .hero-building-chateau {
        left: -14%;
        width: 570px;
    }
    .hero-building-immeuble {
        right: -14%;
        width: 480px;
    }
    .hero-building-statue {
        right: -4%;
        width: 165px;
    }
}

/* Grand desktop (1200+) */
@media (min-width: 1200px) {
    .hero-building-cathedrale {
        width: 330px;
        left: -3%;
        bottom: -60px;
    }
    .hero-building-chateau {
        left: -10%;
        width: 900px;
        bottom: -120px;
    }
    .hero-building-immeuble {
        right: -10%;
        width: 720px;
        bottom: -130px;
    }
    .hero-building-statue {
        width: 240px;
        right: -3%;
        bottom: -60px;
    }
}

/* XL desktop (1600+) */
@media (min-width: 1600px) {
    .hero-building-cathedrale { width: 390px; left: -3%; bottom: -70px; }
    .hero-building-chateau { width: 1080px; left: -8%; bottom: -150px; }
    .hero-building-immeuble { width: 840px; right: -8%; bottom: -160px; }
    .hero-building-statue { width: 300px; right: -3%; bottom: -70px; }
}

/* Mobile (max 767) — on garde les 4 mais on rapproche et réduit */
@media (max-width: 767px) {
    .hero-building-cathedrale {
        left: -12%;
        width: 135px;
        bottom: -30px;
    }
    .hero-building-chateau {
        left: -22%;
        width: 90%;
        max-width: 480px;
        bottom: -60px;
    }
    .hero-building-immeuble {
        right: -22%;
        width: 75%;
        max-width: 360px;
        bottom: -70px;
    }
    .hero-building-statue {
        right: -12%;
        width: 105px;
        bottom: -30px;
    }
}

@media (max-width: 420px) {
    .hero-building-cathedrale { width: 105px; left: -14%; }
    .hero-building-chateau { width: 95%; bottom: -45px; left: -25%; }
    .hero-building-immeuble { width: 85%; bottom: -55px; right: -25%; }
    .hero-building-statue { width: 84px; right: -14%; }
}

/* Tagline hero (sous le logo) */
.hero-tagline {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.2px;
    text-align: center;
    max-width: 520px;
    line-height: 1.5;
    margin-top: 4px;
    padding: 0 24px;
}

.hero-tagline-sep {
    color: var(--color-blue);
    margin: 0 4px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 18px;
        padding: 0;
    }
}


/*logo hero*/
.hero-logo {
    width: clamp(220px, 38%, 420px);
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-logo {
        width: clamp(180px, 60%, 280px);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 120px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* #region Bouton Hero */
/* Wrapper : ombre nette (drop-shadow avec blur à 0, suit le clip-path du bouton) */
.button-wrapper {
    position: relative;
    display: inline-block;
    -webkit-filter: drop-shadow(0 1px 0 var(--color-blue))
            drop-shadow(0 2px 0 var(--color-blue))
            drop-shadow(0 3px 0 var(--color-blue))
            drop-shadow(0 4px 0 var(--color-blue));
    filter: drop-shadow(0 1px 0 var(--color-blue))
            drop-shadow(0 2px 0 var(--color-blue))
            drop-shadow(0 3px 0 var(--color-blue))
            drop-shadow(0 4px 0 var(--color-blue));
    transition: filter 0.1s ease;
}

/* Bouton Découvrir */
.btn.hero-button {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: var(--color-dark-blue);
    background-color: var(--color-rose);
    border: none;
    padding: 18px 56px;
    position: relative;
    cursor: pointer;
    transition: transform 0.1s ease;
    -webkit-clip-path: polygon(49% 5%, 95% 13%, 94% 48%, 97% 88%, 75% 96%, 37% 87%, 0 92%, 3% 36%, 0 15%);
    clip-path: polygon(49% 5%, 95% 13%, 94% 48%, 97% 88%, 75% 96%, 37% 87%, 0 92%, 3% 36%, 0 15%);
    overflow: hidden;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* Effet shimmer */
.btn.hero-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

/* Hover : ombre plus fine */
.button-wrapper:hover {
    -webkit-filter: drop-shadow(0 0.5px 0 var(--color-blue))
            drop-shadow(0 1px 0 var(--color-blue))
            drop-shadow(0 1.5px 0 var(--color-blue))
            drop-shadow(0 2px 0 var(--color-blue));
    filter: drop-shadow(0 0.5px 0 var(--color-blue))
            drop-shadow(0 1px 0 var(--color-blue))
            drop-shadow(0 1.5px 0 var(--color-blue))
            drop-shadow(0 2px 0 var(--color-blue));
}

.button-wrapper:hover .btn.hero-button {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
}

/* Click : plus d'ombre, bouton enfoncé */
.button-wrapper:active {
    -webkit-filter: none;
    filter: none;
}

.button-wrapper:active .btn.hero-button {
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
}

/* Sur vrai mobile : le filter ne s'applique pas (Safari iOS), on utilise un calque ::before net à la place */
@media (max-width: 768px) {
    .button-wrapper {
        -webkit-filter: none;
        filter: none;
        overflow: visible;
    }
    .button-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        top: 4px;
        bottom: -4px;
        left: 0;
        right: 0;
        background: var(--color-blue);
        -webkit-clip-path: polygon(49% 5%, 95% 13%, 94% 48%, 97% 88%, 75% 96%, 37% 87%, 0 92%, 3% 36%, 0 15%);
        clip-path: polygon(49% 5%, 95% 13%, 94% 48%, 97% 88%, 75% 96%, 37% 87%, 0 92%, 3% 36%, 0 15%);
        pointer-events: none;
        transition: top 0.1s ease, bottom 0.1s ease, opacity 0.1s ease;
    }
    .button-wrapper:hover::before {
        top: 2px;
        bottom: -2px;
    }
    .button-wrapper:active::before {
        opacity: 0;
    }
    .button-wrapper .btn.hero-button {
        position: relative;
        z-index: 1;
    }
}

/* Animation shimmer */
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
/* #endregion */


/* Section Premier Tonnerre (event 28 mai) — layout inspiré de l'affiche */
#projet.premier-tonnerre {
    position: relative;
    margin: 280px 0 140px 0;
    padding: 80px 30px 90px 30px;
    display: flex;
    justify-content: center;
    background-image:
        linear-gradient(rgba(19, 11, 50, 0.10), rgba(19, 11, 50, 0.15)),
        url('../assets/img/rooftop.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* edges torn-paper subtils (haut + bas) */
    -webkit-clip-path: polygon(
        0% 2%, 8% 0%, 18% 3%, 32% 1%, 48% 2%, 62% 0%, 76% 2%, 88% 1%, 100% 3%,
        100% 98%, 88% 100%, 76% 98%, 62% 100%, 48% 99%, 32% 100%, 18% 98%, 8% 100%, 0% 98%
    );
    clip-path: polygon(
        0% 2%, 8% 0%, 18% 3%, 32% 1%, 48% 2%, 62% 0%, 76% 2%, 88% 1%, 100% 3%,
        100% 98%, 88% 100%, 76% 98%, 62% 100%, 48% 99%, 32% 100%, 18% 98%, 8% 100%, 0% 98%
    );
}

/* Décor de fond */
.pt-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Grille rose subtile */
.pt-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(253, 126, 219, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 126, 219, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center center;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

/* Assets décoratifs dispatchés */
.pt-deco {
    position: absolute;
    opacity: 0.22;
    width: 60px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(1, 255, 255, 0.3));
    animation: ptFloat 8s ease-in-out infinite;
}

.pt-deco-1 { top: 6%; left: 8%; width: 70px; animation-delay: 0s; }
.pt-deco-2 { top: 14%; right: 9%; width: 55px; animation-delay: 1.2s; }
.pt-deco-3 { top: 48%; left: 3%; width: 50px; animation-delay: 2.4s; }
.pt-deco-4 { bottom: 16%; right: 14%; width: 45px; animation-delay: 3.6s; }
.pt-deco-5 { bottom: 8%; left: 18%; width: 38px; animation-delay: 4.8s; }
.pt-deco-6 { top: 38%; right: 5%; width: 60px; animation-delay: 6s; }

@keyframes ptFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

/* Étoiles scintillantes */
.pt-star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: white;
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(1, 255, 255, 0.5),
        0 0 16px rgba(1, 255, 255, 0.25);
    animation: ptTwinkle 3s ease-in-out infinite;
}

.pt-star-1 { top: 10%; left: 22%; animation-delay: 0s; }
.pt-star-2 { top: 18%; right: 28%; animation-delay: 0.4s; width: 3px; height: 3px; }
.pt-star-3 { top: 32%; left: 14%; animation-delay: 0.9s; }
.pt-star-4 { top: 50%; right: 18%; animation-delay: 1.5s; width: 5px; height: 5px; }
.pt-star-5 { top: 64%; left: 28%; animation-delay: 2.1s; width: 3px; height: 3px; }
.pt-star-6 { top: 78%; right: 30%; animation-delay: 2.6s; }
.pt-star-7 { top: 28%; left: 70%; animation-delay: 0.7s; width: 3px; height: 3px; }
.pt-star-8 { bottom: 22%; left: 50%; animation-delay: 1.8s; }
.pt-star-9 { top: 60%; left: 8%; animation-delay: 2.3s; width: 3px; height: 3px; }

@keyframes ptTwinkle {
    0%, 100% { opacity: 0.25; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Contenu principal */
.pt-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

/* Détache le bouton "En savoir plus" du bloc info pour qu'il se lise comme CTA */
.pt-content > .button-wrapper {
    margin-top: 36px;
}

.pt-eyebrow {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: lighter;
    font-size: 14px;
    color: white;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.pt-eyebrow-sep {
    color: var(--color-blue);
    margin: 0 8px;
    font-weight: bold;
}

/* Titre PREMIER / TONNERRE — clip-path banner simplifié (différent du bouton) */
.pt-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0;
    text-transform: uppercase;
    position: relative;
}

.pt-title-word {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: clamp(54px, 9vw, 96px);
    color: var(--color-dark-blue);
    padding: 18px 64px;
    letter-spacing: 1px;
    line-height: 1;
    display: inline-block;
    /* Effet verre */
    box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.35);
}

/* Wrappers : position relative pour héberger le span "shadow" en absolu */
.pt-word-wrap {
    position: relative;
    display: inline-block;
}

.pt-word-wrap-tonnerre {
    margin-top: -14px;
}

/* Badge "19H" + verre en superposition sur TONNERRE, angle bas droit */
.pt-glass-badge {
    position: absolute;
    bottom: -28px;
    right: -32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 6px 12px;
    background-color: white;
    line-height: 1;
    z-index: 6;
    pointer-events: none;
    transform: rotate(-4deg);
    -webkit-clip-path: polygon(6% 8%, 96% 0%, 100% 92%, 4% 100%);
    clip-path: polygon(6% 8%, 96% 0%, 100% 92%, 4% 100%);
    -webkit-filter: drop-shadow(0 1px 0 var(--color-dark-blue))
            drop-shadow(0 2px 0 var(--color-dark-blue))
            drop-shadow(0 3px 0 var(--color-dark-blue));
    filter: drop-shadow(0 1px 0 var(--color-dark-blue))
            drop-shadow(0 2px 0 var(--color-dark-blue))
            drop-shadow(0 3px 0 var(--color-dark-blue));
}

.pt-glass-icon {
    width: 34px;
    height: auto;
    display: block;
}

.pt-glass-time {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: var(--color-dark-blue);
    letter-spacing: 1px;
    line-height: 1;
}

/* Span "shadow" : clone clip-pathé du mot, dark-blue, offset via transform.
   Comme il est sibling du mot (pas enfant), il n'est pas clippé par le mot. */
.pt-word-shadow {
    position: absolute;
    inset: 0;
    background-color: var(--color-dark-blue);
    pointer-events: none;
    z-index: 0;
}

.pt-word-shadow-premier {
    -webkit-clip-path: polygon(0 13%, 100% 0, 95% 100%, 6% 84%);
    clip-path: polygon(0 13%, 100% 0, 95% 100%, 6% 84%);
    transform: translate(12px, 12px);
}

.pt-word-shadow-tonnerre {
    -webkit-clip-path: polygon(0 0, 100% 0, 94% 100%, 0 98%);
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 98%);
    transform: translate(-12px, 12px);
}

.pt-word-premier {
    background-color: var(--color-blue);
    position: relative;
    z-index: 2;
    /* polygon fourni — Y rescalé à 0-100% pour occuper toute la hauteur */
    -webkit-clip-path: polygon(0 13%, 100% 0, 95% 100%, 6% 84%);
    clip-path: polygon(0 13%, 100% 0, 95% 100%, 6% 84%);
}

.pt-word-tonnerre {
    background-color: var(--color-rose);
    position: relative;
    z-index: 2;
    /* polygon fourni — Y rescalé à 0-100% */
    -webkit-clip-path: polygon(0 0, 100% 0, 94% 100%, 0 98%);
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 98%);
}

/* PREMIER doit passer au-dessus de TONNERRE (chevauchement) */
.pt-word-wrap-premier {
    z-index: 4;
}
.pt-word-wrap-tonnerre {
    z-index: 3;
}

/* Bandeau date : conteneur clip-path avec contour rose + gradient bleu intérieur */
.pt-date-frame {
    display: inline-block;
    background-color: var(--color-rose);
    padding: 4px;
    line-height: 0;
    -webkit-clip-path: polygon(35% 0%, 55% 3%, 69% 0%, 88% 1%, 100% 0%, 95% 46%, 100% 97%, 75% 99%, 65% 96%, 56% 98%, 29% 96%, 0% 100%, 7% 31%, 0% 4%);
    clip-path: polygon(35% 0%, 55% 3%, 69% 0%, 88% 1%, 100% 0%, 95% 46%, 100% 97%, 75% 99%, 65% 96%, 56% 98%, 29% 96%, 0% 100%, 7% 31%, 0% 4%);
    -webkit-filter: drop-shadow(0 1px 0 var(--color-dark-blue))
            drop-shadow(0 2px 0 var(--color-dark-blue));
    filter: drop-shadow(0 1px 0 var(--color-dark-blue))
            drop-shadow(0 2px 0 var(--color-dark-blue));
}

.pt-date-banner {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 14px 60px;
    line-height: 1;
    background: linear-gradient(135deg, #170B40 0%, #2B187B 50%, #1A0E5F 100%);
    box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.18);
    -webkit-clip-path: polygon(35% 0%, 55% 3%, 69% 0%, 88% 1%, 100% 0%, 95% 46%, 100% 97%, 75% 99%, 65% 96%, 56% 98%, 29% 96%, 0% 100%, 7% 31%, 0% 4%);
    clip-path: polygon(35% 0%, 55% 3%, 69% 0%, 88% 1%, 100% 0%, 95% 46%, 100% 97%, 75% 99%, 65% 96%, 56% 98%, 29% 96%, 0% 100%, 7% 31%, 0% 4%);
}

.pt-date-jeudi {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 30px;
    letter-spacing: 2px;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.pt-date-star {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(1, 255, 255, 0.8))
            drop-shadow(0 0 10px rgba(1, 255, 255, 0.5));
    animation: ptStarPulse 2s ease-in-out infinite;
}

@keyframes ptStarPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(1,255,255,0.8)) drop-shadow(0 0 10px rgba(1,255,255,0.5)); }
    50%      { transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(1,255,255,1)) drop-shadow(0 0 14px rgba(1,255,255,0.7)); }
}

.pt-date-num {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 36px;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.pt-date-day {
    color: var(--color-rose);
    text-shadow:
        0 0 4px rgba(253, 126, 219, 0.5),
        0 0 10px rgba(253, 126, 219, 0.25);
}

.pt-date-month {
    color: var(--color-blue);
    text-shadow:
        0 0 4px rgba(1, 255, 255, 0.5),
        0 0 10px rgba(1, 255, 255, 0.25);
}

/* Venue : ANGERS label simple + L'ARCHE stack même couleur */
.pt-venue {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 4px;
}

.pt-venue-city {
    display: inline-block;
    background-color: white;
    color: var(--color-dark-blue);
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 26px;
    letter-spacing: 2px;
    /* padding-top plus grand pour compenser le clip-path qui mange plus de haut que de bas */
    padding: 18px 30px 12px 30px;
    line-height: 1;
    box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.55);
    /* polygon fourni — Y rescalé à 0-100% */
    -webkit-clip-path: polygon(0 12%, 92% 4%, 100% 100%, 0 96%);
    clip-path: polygon(0 12%, 92% 4%, 100% 100%, 0 96%);
    -webkit-filter: drop-shadow(0 1px 0 var(--color-dark-blue))
            drop-shadow(0 2px 0 var(--color-dark-blue))
            drop-shadow(0 3px 0 var(--color-dark-blue));
    filter: drop-shadow(0 1px 0 var(--color-dark-blue))
            drop-shadow(0 2px 0 var(--color-dark-blue))
            drop-shadow(0 3px 0 var(--color-dark-blue));
}

.pt-venue-place {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: 1;
}

.pt-venue-name {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    /* Calibré pour que L'ARCHE et "Rooftop & Restaurant" aient des largeurs naturelles proches */
    font-size: clamp(28px, 3.7vw, 38px);
    color: white;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: left;
}

.pt-venue-sub {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: clamp(9px, 1.07vw, 11px);
    color: white;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    /* L'ARCHE collé au sous-titre */
    margin-top: 0;
    align-self: stretch;
    /* justifie pour absorber tout résiduel d'écart entre les deux largeurs */
    text-align: justify;
    text-align-last: justify;
}

/* Responsive — Premier Tonnerre */
@media (max-width: 600px) {
    #projet.premier-tonnerre {
        padding: 60px 20px 80px 20px;
        margin: 160px 0 100px 0;
    }
    .pt-title-word {
        padding: 14px 40px;
        font-size: clamp(40px, 13vw, 64px);
    }
    .pt-word-wrap-tonnerre {
        margin-top: -8px;
    }
    .pt-glass-badge {
        bottom: -18px;
        right: -18px;
        padding: 6px 12px 4px 10px;
        gap: 4px;
    }
    .pt-glass-icon {
        width: 24px;
    }
    .pt-glass-time {
        font-size: 22px;
    }
    .pt-date-banner {
        gap: 12px;
        padding: 11px 22px;
    }
    .pt-date-jeudi {
        font-size: 22px;
    }
    .pt-date-num {
        font-size: 26px;
    }
    .pt-date-star {
        width: 18px;
        height: 18px;
    }
    .pt-venue {
        gap: 14px;
    }
    .pt-venue-city {
        font-size: 18px;
        padding: 14px 20px 9px 20px;
    }
    .pt-deco {
        width: 40px !important;
    }
}

@media (max-width: 420px) {
    .pt-venue {
        flex-direction: column;
        gap: 12px;
    }
    .pt-venue-place {
        align-items: center;
    }
    .pt-venue-name,
    .pt-venue-sub {
        text-align: center;
    }
    .pt-venue-sub {
        text-align-last: center;
    }
}

.p-secondary {
    padding-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: white;
    letter-spacing: -3%;
    opacity: 0.5;
}

/* Wrapper Section Valeurs pour l'ombre */
.valeurs-wrapper {
    position: relative;
    filter: drop-shadow(0 -1px 0 var(--color-blue))
            drop-shadow(0 -2px 0 var(--color-blue))
            drop-shadow(0 -3px 0 var(--color-blue))
            drop-shadow(0 -4px 0 var(--color-blue))
            drop-shadow(0 1px 0 var(--color-blue))
            drop-shadow(0 2px 0 var(--color-blue))
            drop-shadow(0 3px 0 var(--color-blue))
            drop-shadow(0 4px 0 var(--color-blue))
}

/* Section Valeurs */
#valeur {
    padding: 120px 30px;
    -webkit-clip-path: polygon(0% 0%, 29% 3%, 71% 2%, 89% 3%, 95% 8%, 100% 7%, 100% 95%, 61% 93%, 23% 96%, 14% 93%, 0% 91%);
    clip-path: polygon(0% 0%, 29% 3%, 71% 2%, 89% 3%, 95% 8%, 100% 7%, 100% 95%, 61% 93%, 23% 96%, 14% 93%, 0% 91%);    
    background-color: var(--color-rose);
    position: relative;
}

/* Grille en mode pass-through (transparente) */
#valeur::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/img/grille.png');
    background-size: 380%;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: overlay;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Ajustement de la taille de la grille selon l'écran */
@media (min-width: 768px) {
    #valeur::after {
        background-size: 300%;
    }
}

@media (min-width: 1200px) {
    #valeur::after {
        background-size: 190%;
    }
}


.valeurs-title {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.valeurs-content {
    position: relative;
    z-index: 2;
}

.valeurs-title h2 {
    text-align: center;
}

.valeurs-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.valeurs-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.valeur-card {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    max-width: 320px;
    background: var(--color-dark-blue);
    border: 2px solid var(--color-blue);
    padding: 32px 44px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(253, 126, 219, 0.3), inset 0 0 10px rgba(253, 126, 219, 0.1);
}

.valeur-card-1 {
    transform: rotate(-2deg) translateY(100px);
    transition: transform 0.5s ease-out;
    opacity: 0;
    z-index: 1;
}

.valeur-card-2 {
    transform: rotate(4deg);    
    transition: transform 0.5s ease-in-out;
    z-index: 3;
}

.valeur-card-3 {
    transform: rotate(-3deg) translateY(-100px);
    transition: transform 0.5s ease-out;
    opacity: 0;
    z-index: 1;
}

/* Animation au scroll */
.valeur-card-1.animate {
    transform: rotate(-2deg) translateY(0);
    opacity: 1;
}

.valeur-card-3.animate {
    transform: rotate(-3deg) translateY(0);
    opacity: 1;
}

.valeur-card-1:hover,
.valeur-card-1.animate:hover {
    transform: rotate(2deg) translateY(0);
    transition: transform 0.3s ease-in-out;
}

.valeur-card-2:hover {
    transform: rotate(-2deg);
    transition: transform 0.4s ease-in-out;
}

.valeur-card-3:hover,
.valeur-card-3.animate:hover {
    transform: rotate(3deg) translateY(0);
    transition: transform 0.3s ease-in-out;
}

.valeur-title {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: white;
    line-height: 1.05;
}

.valeur-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    #valeur {
        padding: 100px 20px;
    }
    
    .valeurs-cards {
        flex-direction: column;
        gap: 5px;
    }
    
    .valeur-card {
        max-width: 100%;
        padding: 26px 30px;
        gap: 10px;
    }
    
    .valeur-title {
        font-size: 20px;
    }
    
    .valeur-description {
        font-size: 15px;
    }
}


/* Section Partenaires - overflow: visible pour que les SVG décoratifs dépassent en haut/bas (scroll horizontal géré par html/body) */
#partenaires {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 120px 30px;
    position: relative;
    overflow: visible;
    background-color: var(--color-dark);
}

/* Éléments SVG décoratifs */
.decorative-svg {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

/* Positionnement et tailles aléatoires */
.svg-nuage {
    top: 43px;
    left: -15px;
    width: 200px;
}

.svg-eclair-1 {
    top: -90px;
    z-index: 3;
    right: -80px;
    width: 200px;
}

.svg-eclair-2 {
    top: 120px;
    left: -45px;
    width: 100px;
}

.svg-plume-1 {
    bottom: -30px;
    left: -55px;
    width: 160px;
    z-index: 4;
}

.svg-fer {
    bottom: 80px;
    right: -30px;
    width: 150px;
}

.partenaires-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.partenaires-title {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {

    .svg-eclair-1 {
        top: -100px;
        z-index: 3;
        right: -85px;
        width: 170px;
    }

.svg-eclair-2 {
    top: 120px;
    left: -45px;
    width: 20%;
}

.svg-plume-1 {
    bottom: -40px;
    left: -65px;
    width: 160px;
    z-index: 4;
}
}

/* Section Button Partenaires */
#button-partenaires {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Section Contact */
#contact {
    padding: 120px 30px;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-bottom: 120px;
}

.contact-content {
    max-width: 600px;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-icon {
    width: 25px;
    rotate: 90deg;
    filter: drop-shadow(0 0 10px rgba(1, 255, 255, 0.6));
}

.contact-header h2 {
    margin-bottom: 15px;
}

.contact-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.form-group input,
.form-group textarea {
    background-color: color-mix(in srgb, var(--color-rose) 12%, transparent);
    border: 2px solid var(--color-rose);
    border-radius: 8px;
    padding: 15px;
    padding-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

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

/* Label remonte quand on focus ou qu'il y a du contenu */
.form-group input:focus + label,
.form-group input.has-value + label,
.form-group textarea:focus + label,
.form-group textarea.has-value + label {
    top: 8px;
    font-size: 12px;
    color: var(--color-blue);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 10px rgba(1, 255, 255, 0.3);
}

/* Placeholder invisible pour que le label fonctionne */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.form-message.error {
    background-color: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--color-rose);
    color: var(--color-rose);
    box-shadow: 0 0 15px rgba(253, 126, 219, 0.3);
}

.form-message.success {
    background-color: rgba(1, 255, 255, 0.15);
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    box-shadow: 0 0 15px rgba(1, 255, 255, 0.3);
}

.contact-form .button-wrapper {
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 768px) {
    #contact {
        padding: 80px 20px;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-icon {
        width: 25px;
    }
}

/* Section Licorne */
#licorne {
    position: relative;
    background-color: var(--color-dark);
    padding: 60px 30px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: top;
    gap: 10px;
    min-height: 280px;
    margin-bottom: -120px;
}

.licorne-img {
    width: clamp(180px, 35vw, 320px);
    height: auto;
    object-fit: contain;
    object-position: bottom left;
    flex-shrink: 0;
}

/* Wrapper pour la quote : le triangle est ici pour ne pas être coupé par le clip-path de la quote */
.licorne-quote-wrap {
    flex: 1;
    min-width: 280px;
    max-width: 520px;
    margin: 0;
    margin-top: -30px;
    position: relative;
}

/* Triangle de la bulle (hors du blockquote pour ne pas être clipé) */
.licorne-quote-wrap::after {
    content: '';
    position: absolute;
    left: -15px;
    bottom: 15px;
    border-width: 0 0 20px 30px;
    border-style: solid;
    border-color: transparent white white transparent;
    z-index: 1;
}

.licorne-quote {
    -webkit-clip-path: polygon(0% 2%, 37% 0%, 77% 3%, 97% 0%, 100% 14%, 99% 65%, 98% 90%, 89% 100%, 40% 100%, 0% 100%, 2% 57%, 0% 31%);
    clip-path: polygon(0% 2%, 37% 0%, 77% 3%, 97% 0%, 100% 14%, 99% 65%, 98% 90%, 89% 100%, 40% 100%, 0% 100%, 2% 57%, 0% 31%);
    margin: 0;
    padding: 25px 30px;
    background: white;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.licorne-quote p {
    font-family:  'TBJ Fluke', sans-serif;
    font-size: clamp(14px, 2vw, 16px);
    color: var(--color-dark);
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.licorne-quote cite {
    display: block;
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: var(--color-dark);
    font-style: normal;
    text-align: right;
}

@media (max-width: 768px) {

    #licorne {
        margin-bottom: -80px;
        padding: 0px;
    }
    
    .licorne-img {
        width: clamp(160px, 50vw, 220px);
        margin-left: -80px;
    }
    
    .licorne-quote-wrap {
        max-width: 360px;
        margin-top: -80px;
        min-width: 0;
    }
}

/* Footer */
.footer-wrapper {
    position: relative;
    margin-top: 0;
}

.footer-rose-line {
    display: block;
    position: absolute;
    top: 0;
    left: 10px;
    right: 0;
    height: 200px;
    background: var(--color-rose);
    -webkit-clip-path: polygon(0% 0%, 85% 0%, 88% 5%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 85% 0%, 88% 5%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
    z-index: 1;
    pointer-events: none;
}

.footer {
    background-color: var(--color-blue);
    padding: 50px 30px 40px;
    padding-top: 56px;
    position: relative;
    -webkit-clip-path: polygon(0% 0%, 85% 0%, 88% 5%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 85% 0%, 88% 5%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
    z-index: 2;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-family: 'TBJ Fluke', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid var(--color-dark);
    border-radius: 50%;
    color: var(--color-dark);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-social-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-legal {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--color-dark);
    text-decoration: underline;
    margin-bottom: 25px;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.footer-legal:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-bolt {
    width: 28px;
    height: auto;
    object-fit: contain;
}

.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 46px 20px 30px;
        -webkit-clip-path: polygon(0% 0%, 85% 0%, 88% 5%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 0%, 85% 0%, 88% 5%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
    }
    
    .footer-title {
        font-size: 20px;
    }
}