/* ==========================================================
   1. RESET & BASE
   ========================================================== */

/* ==========================================================
   1. RESET & BASE
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;500;600&display=swap');

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top left, #262232 0, #050508 40%, #020106 100%);
    color: #f5f5f5;
    line-height: 1.6;
}

/* ==========================================================
   2. TYPOGRAPHIE
   ========================================================== */

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
}
.section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.7rem;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #b57cff, transparent);
}
.section p {
    max-width: 650px;
    margin-bottom: .75rem;
    color: #d4d4d4;
    font-size: .98rem;
}

/* ==========================================================
   3. LAYOUT GLOBAL
   ========================================================== */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

/* ==========================================================
   4. HEADER & NAVIGATION
   ========================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.35), transparent);
    border-bottom: 1px solid rgba(181,124,255,.18);
}

header nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: .8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    letter-spacing: .12em;
    color: #f5f5f5;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #b57cff;
    transform: translateY(-50%);
}

.logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(181,124,255,.4));
    opacity: .9;
    transition: opacity .25s ease, transform .25s ease;
}
.logo:hover img { opacity: 1; transform: scale(1.05); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    font-size: .9rem;
}

.nav-links a {
    text-decoration: none;
    color: #e3e3e3;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding-bottom: .2rem;
    position: relative;
    transition: color .25s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #b57cff, transparent);
    transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* CTA */
.cta-nav {
    padding: .4rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(181,124,255,.65);
    background: radial-gradient(circle at top left, rgba(181,124,255,.25), transparent);
    box-shadow: 0 0 22px rgba(181,124,255,.15);
    font-size: .75rem;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #b57cff;
    border-radius: 3px;
    transition: transform .35s ease, opacity .35s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width:850px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        padding: 2.5rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
        background: rgba(15,12,18,.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(181,124,255,.25);
        border-bottom: 1px solid rgba(181,124,255,.25);
        border-radius: 18px 0 18px 18px;
        min-height: 60vh;
        transform: translateX(100%);
        transition: transform .35s ease;
        font-size: 1.1rem;
    }
    .nav-links a {
        font-size: 1.05rem;
        padding: .3rem 0;
    }
    .cta-nav {
        font-size: .95rem;
        padding: .6rem 1.2rem;
    }
    .nav-links.nav-open { transform: translateX(0); }
    nav { position: relative; }
}

/* ==========================================================
   5. HERO
   ========================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    opacity: .7;
}
.hero::before {
    width: 380px;
    height: 380px;
    right: -80px;
    top: -60px;
    background: radial-gradient(circle, rgba(181,124,255,.9), transparent 60%);
}
.hero::after {
    width: 420px;
    height: 420px;
    left: -120px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(164,97,255,.6), transparent 60%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem,4vw,3.6rem);
    letter-spacing: .08em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    line-height: 1.1;
}
.hero p {
    max-width: 520px;
    font-size: 1rem;
    color: #d6d6d6;
    margin-bottom: 2rem;
}

/* ==========================================================
   6. CTA BOUTONS
   ========================================================== */

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: all .25s ease;
    border: none;
    cursor: pointer;
}

.cta-primary {
    background: linear-gradient(135deg, #b57cff, #8e61ff);
    color: #1b130d;
    box-shadow: 0 0 30px rgba(181,124,255,.35), 0 12px 24px rgba(0,0,0,.7);
}
.cta-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 0 40px rgba(181,124,255,.5), 0 16px 32px rgba(0,0,0,.85);
}

.cta-secondary {
    background: transparent;
    border: 1px solid rgba(181,124,255,.7);
    color: #b57cff;
    box-shadow: 0 0 18px rgba(181,124,255,.2);
    margin-top: 1.2rem;
}
.cta-secondary:hover { background: rgba(181,124,255,.07); transform: translateY(-1px); }

/* ==========================================================
   7. ABOUT / SALON
   ========================================================== */

/* ==========================================================
   7. ABOUT / SALON
   ========================================================== */

#about { padding-bottom: 5rem; }

.about-inner {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.about-photo {
    flex: 0 0 360px;
    position: relative;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
    border: 1px solid rgba(181,124,255,.35);
    box-shadow: 0 20px 55px rgba(0,0,0,.85), 0 0 30px rgba(181,124,255,.18);
    display: block;
}

/* Trait décoratif derrière la photo */
.about-photo::before {
    content: "";
    position: absolute;
    inset: 12px -12px -12px 12px;
    border-radius: 24px;
    border: 1px solid rgba(181,124,255,.2);
    z-index: -1;
}

@media (max-width: 900px) {
    .about-inner {
        flex-direction: column;
        gap: 2.5rem;
    }
    .about-photo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Tablette paysage / petit laptop : réduire la photo pour ne pas écraser le texte */
@media (min-width: 901px) and (max-width: 1100px) {
    .about-photo {
        flex: 0 0 280px;
    }
    .about-inner {
        gap: 2.5rem;
    }
}

/* Mobile : limiter la hauteur de la photo portrait */
@media (max-width: 599px) {
    .about-photo img {
        aspect-ratio: 4 / 3;
        object-position: center 20%;
        max-height: 280px;
        width: 100%;
    }
    .about-photo {
        max-width: 100%;
    }
}

/* Très petit mobile */
@media (max-width: 360px) {
    .about-photo img {
        max-height: 220px;
        border-radius: 16px;
    }
    .about-inner { gap: 1.8rem; }
}

#about p:last-of-type { margin-bottom: .2rem; }

#salon {
    border-radius: 24px;
    padding: 3rem 1.5rem;
    border: 1px solid rgba(255,255,255,.05);
    background: radial-gradient(circle at top left, rgba(255,255,255,.03), rgba(0,0,0,.9));
    box-shadow: 0 28px 60px rgba(0,0,0,.75);
}

/* ==========================================================
   8. GALERIE
   ========================================================== */

.galerie { padding-top: 4rem; }

.gallery-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 1.4rem;
}

.gallery-grid .img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(181,124,255,.22), transparent),
        radial-gradient(circle at top, rgba(255,255,255,.04), rgba(0,0,0,.9));
    border: 1px solid rgba(181,124,255,.35);
    box-shadow: 0 18px 45px rgba(0,0,0,.95), 0 0 30px rgba(181,124,255,.18);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.gallery-grid .img:hover {
    transform: translateY(-6px) scale(1.02) rotate(-.3deg);
    box-shadow: 0 22px 60px rgba(0,0,0,1), 0 0 40px rgba(181,124,255,.28);
    border-color: rgba(181,124,255,.8);
}

.gallery-grid .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .35s ease, filter .35s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery-grid .img:hover img { transform: scale(1.06); filter: brightness(1.12) contrast(1.06); }

.img.gravure::after {
    content: "Gravure";
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f5eaff;
    background: rgba(181,124,255,.22);
    border: 1px solid rgba(181,124,255,.45);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,.55);
    pointer-events: none;
}

/* ==========================================================
   LIGHTBOX
   ========================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 9999;
    cursor: zoom-out;
}
.lightbox.hidden { display: none; }

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(181,124,255,.35), 0 20px 60px rgba(0,0,0,.85);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 2.6rem;
    color: #b57cff;
    cursor: pointer;
    text-shadow: 0 0 12px rgba(181,124,255,.6);
    transition: opacity .25s ease;
}

.lightbox-close:hover { opacity: .7; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    padding: .6rem;
    color: #b57cff;
    cursor: pointer;
    text-shadow: 0 0 12px rgba(181,124,255,.6);
    transition: opacity .25s ease;
    user-select: none;
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: .7; }

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ==========================================================
   9. AVIS CLIENTS
   ========================================================== */

.avis { padding-top: 4rem; }
.avis-list {
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 1.5rem;
}

.avis-item {
    position: relative;
    padding: 1.6rem 1.5rem 1.4rem;
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(181,124,255,.18), rgba(10,7,12,.98));
    border: 1px solid rgba(181,124,255,.35);
    box-shadow: 0 22px 50px rgba(0,0,0,.85);
}
.avis-item::before {
    content: "”";
    position: absolute;
    top: -18px;
    right: 16px;
    font-size: 3.5rem;
    color: rgba(181,124,255,.18);
    font-family: 'Playfair Display', serif;
}
.avis-item p {
    margin-bottom: .7rem;
    font-size: .95rem;
    color: #f3f3f3;
}
.avis-item span {
    font-size: .8rem;
    letter-spacing: .16em;
    color: #d9c5ff;
    text-transform: uppercase;
}

/* ==========================================================
   10. FORMULAIRE DE CONTACT
   ========================================================== */

#contact h2 { text-align: center; }
#contact h2::after { left: 50%; transform: translateX(-50%); }
#contact p {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 600px;
}

.contact-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.8rem;
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(181,124,255,.12), rgba(10,7,12,.75));
    border: 1px solid rgba(181,124,255,.25);
    box-shadow: 0 20px 60px rgba(0,0,0,.75), 0 0 30px rgba(181,124,255,.15);
    backdrop-filter: blur(18px);
    transition: box-shadow .35s ease;
}
.contact-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0,0,0,.85), 0 0 40px rgba(181,124,255,.3);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    margin-top: .2rem;
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(11,8,13,.95);
    padding: .9rem 1rem;
    color: #f5f5f5;
    font-size: .9rem;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(181,124,255,.85);
    box-shadow: 0 0 22px rgba(181,124,255,.25);
    background: rgba(12,9,15,1);
}

.contact-form textarea {
    grid-column: 1/-1;
    min-height: 150px;
    resize: vertical;
}

.contact-form .cta-primary {
    grid-column: 1/-1;
    justify-self: flex-start;
}

.upload-wrapper label,
.piercing-label {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #d9c5ff;
    margin-bottom: .4rem;
    display: block;
}

.upload-wrapper input[type="file"] {
    margin-top: .3rem;
    padding: .4rem;
    color: #d4d4d4;
    border-radius: 10px;
    background: rgba(11,8,13,.9);
}

/* ==========================================================
   11. FOOTER
   ========================================================== */

.footer {
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 2rem;
}

.footer-card {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 1.6rem 1.4rem;
    border-radius: 20px;
    border: 1px solid rgba(181,124,255,.5);
    background: radial-gradient(circle at top left, rgba(181,124,255,.18), rgba(10,7,12,.98));
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.5rem;
    justify-content: space-between;
    align-items: center;
}

.footer-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-card p {
    margin: 0;
    color: #f1e4cf;
    font-size: .9rem;
}

.footer-card a {
    color: #b57cff;
    text-decoration: none;
}
.footer-card a:hover { text-decoration: underline; }

.footer .copyright {
    max-width: 1100px;
    margin: 0 auto;
    font-size: .75rem;
    letter-spacing: .16em;
    color: #77707f;
    text-transform: uppercase;
}

/* ==========================================================
   12. RESPONSIVE
   ========================================================== */

@media(max-width:900px) {
    header nav { padding-inline: 1rem; }
    .nav-links { gap: 1.1rem; font-size: .8rem; flex-wrap: wrap; }
    .section { padding: 4.5rem 1.3rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form .cta-primary { justify-self: stretch; text-align: center; }
    .footer-card { flex-direction: column; align-items: flex-start; }
}

@media(max-width:600px) {
    .hero { padding-top: 5.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: .95rem; }
    .section h2 { font-size: 2rem; }
    .cta-primary,.cta-secondary { width: 100%; justify-content: center; }
    .logo img { width: 32px; height: 32px; }
}

/* ==========================================================
   13. ANIMATIONS
   ========================================================== */

#tattoo-options { animation: fadeIn .35s ease forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   14. UTILITAIRES
   ========================================================== */

.hidden { display: none !important; }

/* Case à cocher RGPD */
.rgpd-check {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .4rem;
}

.rgpd-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #b57cff;
    cursor: pointer;
    border-radius: 4px;
    margin: 0;
    padding: 0;
}

.rgpd-check label {
    font-size: .88rem;
    color: #c4b3e0;
    cursor: pointer;
    line-height: 1.4;
}

.rgpd-check label .open-confidentialite {
    color: #b57cff;
    text-decoration: underline;
    cursor: pointer;
}

.rgpd-required {
    color: #ff7f7f;
    margin-left: 2px;
}

/* Feedback formulaire */
.form-feedback {
    grid-column: 1 / -1;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .03em;
}
.form-feedback.success {
    background: rgba(100, 220, 130, .12);
    border: 1px solid rgba(100, 220, 130, .45);
    color: #a3f0b5;
}
.form-feedback.error {
    background: rgba(255, 90, 90, .12);
    border: 1px solid rgba(255, 90, 90, .45);
    color: #ffb3b3;
}

/* ==========================================================
   MODALES (Mentions / Confidentialité)
   ========================================================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 99999;
}
.modal.hidden { display: none; }

.modal-content {
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(181,124,255,.15), rgba(10,7,12,.95));
    border: 1px solid rgba(181,124,255,.35);
    box-shadow: 0 0 40px rgba(0,0,0,.8);
    animation: fadeInModal .35s ease;
}

.modal-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f5eaff;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.modal-close {
    position: absolute;
    right: 35px;
    top: 25px;
    font-size: 2.2rem;
    color: #d4b7ff;
    cursor: pointer;
    transition: opacity .25s;
}
.modal-close:hover { opacity: .6; }

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(.92); }
    to { opacity: 1; transform: scale(1); }
}

.open-mentions,
.open-confidentialite {
    cursor: pointer;
    color: #b57cff;
}
.open-mentions:hover,
.open-confidentialite:hover { text-decoration: underline; }

/* ==========================================================
   MODALES – STYLE DU TEXTE
   ========================================================== */

.modal-content { line-height: 1.75; }

.modal-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    margin: 1.6rem 0 .6rem;
    color: #e6d8ff;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.modal-content p {
    white-space: pre-line;
    color: #d8cfff;
    font-size: .92rem;
    margin-bottom: 1rem;
}

.modal-content ul { margin: .8rem 0 1rem 1.2rem; }
.modal-content ul li { margin-bottom: .35rem; color: #e7dafa; }
.modal-content strong { color: #cbaaff; font-weight: 600; }

.modal-content .section-separator {
    margin: 1.8rem 0;
    border-bottom: 1px solid rgba(181,124,255,.25);
}

.modal-content .info-block {
    background: rgba(181,124,255,.08);
    padding: 1rem 1.2rem;
    border-left: 3px solid rgba(181,124,255,.5);
    border-radius: 12px;
    margin-bottom: 1.4rem;
}

.modal-content a { color: #b57cff; text-decoration: underline; }
.modal-content a:hover { color: #d5b0ff; }

.modal-content::-webkit-scrollbar { width: 8px; }
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(181,124,255,.35);
    border-radius: 12px;
}
.modal-content::-webkit-scrollbar-track { background: rgba(255,255,255,.05); }

/* ==========================================================
   MEDIA QUERIES PREMIUM — CONDENSÉ
   ========================================================== */

@media(min-width:1440px) {
    .section { max-width: 1300px; }
    .hero-content { max-width: 1200px; }
    .gallery-grid { gap: 2rem; }
    .gallery-grid .img { border-radius: 22px; }
    .modal-content { max-width: 850px; padding: 2.6rem; }
}

@media(max-width:1439px) {
    .hero h1 { font-size: 3.2rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
}

@media(max-width:1199px) {
    .hero { padding-top: 7rem; }
    .hero h1 { font-size: 2.8rem; }
    .lightbox-img { max-width: 88%; max-height: 88%; }
}

@media(max-width:1023px) {
    .logo img { width: 70px; height: 70px; }
    .section { padding: 4.5rem 1.2rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.2rem; }
    .avis-list { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
}

@media(max-width:899px) {
    .logo img { width: 58px; height: 58px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: .95rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); }
    .contact-wrapper { padding: 1.6rem 1.3rem; }
}

@media(max-width:767px) {
    header nav { padding: .6rem 1rem; }
    .logo img { width: 48px; height: 48px; }
    .hero { padding-top: 5rem; padding-bottom: 3rem; }
    .hero h1 { font-size: 2.2rem; text-align: center; }
    .hero p,.hero .cta-primary { margin: 0 auto; text-align: center; display: block; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 1rem; }
    .avis-list { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; gap: 1rem; }
    .cta-primary { width: 100%; text-align: center; }
    .modal-content { max-height: 85vh; padding: 1.6rem; }
}

@media(max-width:599px) {
    .logo img { width: 40px; height: 40px; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); }
    .gallery-grid .img { border-radius: 14px; }
    .lightbox-prev,.lightbox-next { font-size: 2.4rem; top: 48%; }
    .footer-card { padding: 1.4rem; gap: 1rem; flex-direction: column; align-items: flex-start; }
}

@media(max-width:479px) {
    .hero h1 { font-size: 1.9rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: .9rem; }
    .lightbox-img { max-width: 92%; max-height: 82%; }
    .modal-content { padding: 1.3rem; border-radius: 14px; }
    .modal-close { top: 18px; right: 20px; }
}

@media(max-width:360px) {
    .logo img { width: 32px; height: 32px; }
    .hero h1 { font-size: 1.7rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .img { aspect-ratio: 1/1.3; }
    .cta-primary,
    .cta-secondary { padding: .8rem; font-size: .75rem; }
}

/* Empêche tout scroll horizontal */
html, body {
    overflow-x: hidden;
}

/* Fix menu mobile qui dépasse */
@media (max-width: 850px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        max-width: 70%;
        transform: translateX(100%);
        overflow-y: auto;
    }
}
.footer-socials {
    display: flex;
    justify-content: center;  /* centre dans la carte */
    align-items: center;
    gap: 1.6rem;               /* espace entre Instagram et TikTok */
    margin-top: 0.8rem;
    width: 100%;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;              /* espace icône/texte */
    text-decoration: none;
    color: #d9c5ff;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: opacity .25s ease, transform .25s ease;
}

.social-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-item .icon {
    width: 20px;
    height: 20px;
    fill: #b57cff;
    opacity: 0.85;
    transition: opacity .25s ease, fill .25s ease;
}

.social-item:hover .icon {
    fill: #ffffff;
    opacity: 1;
}
/* Mise en forme texte présentation Julie — géré dans .about-text */
/* ==========================================================
   FLASH DU MOMENT — BASE
   ========================================================== */
.flash {
    padding-top: 4rem;
}

.flash-head {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.flash-head p {
    max-width: 900px; /* cohérent avec #about */
}

/* ==========================================================
   FLASH GRID — LIGNE DE 4 IMAGES
   ========================================================== */
.flash-grid {
    display: flex;              /* images sur une ligne */
    flex-wrap: nowrap;          /* interdit le retour à la ligne */
    justify-content: center;    /* centre la grille horizontalement */
    gap: 1rem;                  /* espace entre les images */
    max-width: 1200px;          /* largeur totale de la grille */
    margin: 0 auto;             /* centre la grille sur la page */
}

.flash-grid .flash-item {
    flex: 0 0 22%;              /* chaque image prend ~22% de la largeur */
    max-width: 280px;           /* limite la taille sur grand écran */
    text-align: center;         /* centre le contenu */
    cursor: pointer;            /* incite au clic */
    position: relative;
    aspect-ratio: 3 / 4;        /* identique à la galerie */
    overflow: hidden;
    border-radius: 18px;

    background:
        linear-gradient(135deg, rgba(181,124,255,.15), transparent),
        radial-gradient(circle at top, rgba(255,255,255,.04), rgba(0,0,0,.9));
    border: 1px solid rgba(181,124,255,.3);
    box-shadow:
        0 16px 40px rgba(0,0,0,.85),
        0 0 22px rgba(181,124,255,.14);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.flash-grid .flash-item img {
    width: 100%;                /* adapte l’image à son conteneur */
    height: 100%;               /* conserve l’aspect ratio */
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}

/* Hover effect */
.flash-grid .flash-item:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow:
        0 20px 52px rgba(0,0,0,.95),
        0 0 30px rgba(181,124,255,.22);
    border-color: rgba(181,124,255,.6);
}

.flash-grid .flash-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.08) contrast(1.05);
}

/* META TAGS ET INFOS (optionnel sur les images) */
.flash-meta {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    pointer-events: none;
}

.flash-tag,
.flash-info {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f5eaff;
    background: rgba(181,124,255,.18);
    border: 1px solid rgba(181,124,255,.35);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,.55);
}

/* Placeholder pendant le chargement des images */
.gallery-grid .img img,
.flash-grid .flash-item img,
.about-photo img {
    background: linear-gradient(135deg, rgba(181,124,255,.12), rgba(10,7,12,.8));
}


.gallery-grid .img,
.flash-grid .flash-item {
    will-change: transform;
    transform: translateZ(0);
    transition: transform .45s cubic-bezier(.2,.8,.2,1),
                box-shadow .45s cubic-bezier(.2,.8,.2,1),
                border-color .45s ease;
}

.gallery-grid .img img,
.flash-grid .flash-item img {
    will-change: transform, filter;
    transform: translateZ(0);
    transition: transform .55s cubic-bezier(.2,.8,.2,1),
                filter .55s cubic-bezier(.2,.8,.2,1);
}

@media (hover: none) {
    .gallery-grid .img:hover img,
    .flash-grid .flash-item:hover img {
        filter: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1200px) {
    #about p,
    .flash-head p {
        line-height: 1.85;
    }
}

@media (max-width: 899px) {
    .flash-grid .flash-item {
        flex: 0 0 30%;
    }
}

@media (max-width: 768px) {
    .gallery-grid .img,
    .flash-grid .flash-item,
    .avis-item,
    .contact-wrapper,
    .footer-card {
        box-shadow: 0 10px 28px rgba(0,0,0,.65);
    }

    .hero::before,
    .hero::after {
        filter: blur(40px);
        opacity: .45;
    }
}

@media (max-width: 599px) {
    .flash-grid {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .flash-grid .flash-item {
        flex: 0 0 45%;
        max-width: calc(50% - .5rem); /* évite le débordement sur 360px */
    }
}

/* Fix tattoo-options sur mobile */
@media (max-width: 767px) {
    #tattoo-options,
    #tattoo-options select {
        width: 100%;
    }
}

/* Case RGPD responsive */
@media (max-width: 480px) {
    .rgpd-check {
        align-items: flex-start;
        gap: .6rem;
    }
    .rgpd-check input[type="checkbox"] {
        margin-top: 2px; /* aligne visuellement avec la première ligne du label */
        flex-shrink: 0;
    }
    .rgpd-check label {
        font-size: .82rem;
        line-height: 1.5;
    }
}

/* HERO BACKGROUNDS */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

/* Image 2 - bas gauche */
.hero-bg2 {
    background-image: url("images/fond/2.png");
    bottom: -10%;
    left: 6%;
    width: 35%;
    height: 110%;
    opacity: 0.15;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

/* Image 1 - haut droite */
.hero-bg1 {
    background-image: url("images/fond/1.png");
    top: -75%;
    right: -16%;
    width: 40%;
    height: 180%;
    opacity: 0.1;
    z-index: 1;
    animation: rotation 120s linear infinite;
    transform-origin: center center;
}

/* Image 3 - bas droite */
.hero-bg3 {
    background-image: url("images/fond/3.png");
    bottom: -12%;
    right: -10%;
    width: 50%;
    height: 65%;
    opacity: 0.6;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

/* Contenu toujours au-dessus */
.hero-content {
    position: relative;
    z-index: 2;
}

/* ROTATION IMAGE 1 */
@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FLOTTEMENT IMAGES 2 & 3 */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* TABLETTE (768px à 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .hero-bg1 { top: 0%; right: 5%; width: 50%; height: 60%; opacity: 0.08; } /* plus haut */
    .hero-bg2 { bottom: 25%; left: 2%; width: 45%; height: 50%; opacity: 0.15; } /* plus bas à gauche */
    .hero-bg3 { bottom: 0%; right: 2%; width: 50%; height: 55%; opacity: 0.4; } /* plus bas à droite */
}

/* MOBILE LARGE (480px à 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .hero-bg1 { top: -10%; right: -12%; width: 70%; height: 60%; opacity: 0.2; } /* plus haut */
    .hero-bg2 { bottom: 25%; left: 2%; width: 65%; height: 50%; opacity: 0.15; } /* plus bas à gauche */
    .hero-bg3 { bottom: -10%; right: -12%; width: 70%; height: 55%; opacity: 0.8; } /* plus bas à droite */
}

/* MOBILE PETIT (moins de 480px) */
@media (max-width: 479px) {
    .hero-bg1 { top: -10%; right: -12%; width: 80%; height: 50%; opacity: 0.2; } /* plus haut */
    .hero-bg2 { bottom: 25%; left: 0%; width: 70%; height: 45%; opacity: 0.15; } /* plus bas à gauche */
    .hero-bg3 { bottom: -10%; right: -12%; width: 75%; height: 50%; opacity: 0.8; } /* plus bas à droite */
}
/* ==========================================================
   COOKIE BANNER
   ========================================================== */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    max-width: 900px;
    width: calc(100% - 2rem);
    padding: 1.4rem 1.6rem;
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(181,124,255,.18), rgba(10,7,12,.95));
    border: 1px solid rgba(181,124,255,.35);
    box-shadow: 0 20px 60px rgba(0,0,0,.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    z-index: 999999;
    animation: fadeInCookie .4s ease;
}

.cookie-banner p {
    margin: 0;
    font-size: .9rem;
    color: #e6d8ff;
    line-height: 1.5;
}

.cookie-banner span {
    cursor: pointer;
    color: #b57cff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: .8rem;
    flex-shrink: 0;
}

@keyframes fadeInCookie {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions button {
        width: 100%;
    }
}

