/* ============================================================
   STYLES DU SITE VITRINE - Bloom Studio
   Palette : Marron pale (#b89a7b), Rose pale (#d4a0a0)
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Outfit', sans-serif; color: #1a1a1a; background: #faf8f6; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* -- HEADER ------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250,248,246,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.header--scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.06);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600;
    color: #1a1a1a; letter-spacing: .5px; display: flex; align-items: center; gap: 8px;
}
.logo-bloom { color: #b89a7b; font-weight: 700; }
.logo-studio { color: #d4a0a0; font-weight: 600; }

.header__nav { display: flex; align-items: center; gap: 36px; list-style: none; }
.header__nav a {
    font-size: .82rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1.5px; color: #6b6b6b; transition: color .3s;
    position: relative; padding: 4px 0;
}
.header__nav a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
    background: #b89a7b; transition: width .4s cubic-bezier(.4,0,.2,1);
}
.header__nav a:hover,
.header__nav a.active { color: #1a1a1a; }
.header__nav a:hover::after,
.header__nav a.active::after { width: 100%; }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px;
    border-radius: 6px; font-weight: 600; font-size: .82rem; text-transform: uppercase;
    letter-spacing: 1.2px; cursor: pointer; transition: all .35s cubic-bezier(.4,0,.2,1);
    border: none; font-family: inherit;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: #b89a7b; color: #fff; }
.btn--primary:hover { background: #a6896a; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(184,154,123,.3); }
.btn--outline { background: transparent; color: #1a1a1a; border: 1.5px solid #b89a7b; }
.btn--outline:hover { background: #b89a7b; color: #fff; }
.btn--gold { background: #d4a0a0; color: #fff; }
.btn--gold:hover { background: #c08e8e; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(212,160,160,.3); }

.header__burger { display: none; flex-direction: column; gap: 6px; cursor: pointer; background: none; border: none; padding: 4px; }
.header__burger span { display: block; width: 24px; height: 1.5px; background: #1a1a1a; transition: all .3s; border-radius: 1px; transform-origin: center; }
.header__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -- HERO --------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('../asset/image/img.png') center center / cover no-repeat fixed;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, .82) 0%,
        rgba(26, 26, 26, .55) 55%,
        rgba(26, 26, 26, .15) 100%
    );
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero__content {
    max-width: 580px;
    padding: 100px 0;
    text-align: left;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #d4a0a0;
    margin-bottom: 28px;
    font-weight: 600;
}
.hero__badge::before {
    content: '';
    width: 36px;
    height: 1.5px;
    background: #d4a0a0;
}
.hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.6rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 500;
}
.hero__title em {
    font-style: italic;
    color: #d4a0a0;
}
.hero__text {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 40px;
    max-width: 460px;
    line-height: 1.85;
}
.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.btn--white {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
    backdrop-filter: blur(4px);
}
.btn--white:hover {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

/* -- SECTIONS ----------------------------------------------- */
.section { padding: 120px 0; }
.section--alt { background: #fff; }
.section--cream { background: #f5f0eb; }
.section__header { text-align: center; margin-bottom: 70px; }
.section__label {
    display: inline-flex; align-items: center; gap: 12px; font-size: .75rem;
    text-transform: uppercase; letter-spacing: 3px; color: #b89a7b; font-weight: 600; margin-bottom: 16px;
}
.section__label::before,
.section__label::after { content: ''; width: 30px; height: 1px; background: #b89a7b; }
.section__title {
    font-family: 'Cormorant Garamond', serif; font-size: 2.8rem;
    color: #1a1a1a; font-weight: 500; line-height: 1.2;
}
.section__title em { font-style: italic; color: #d4a0a0; }

/* -- A PROPOS ----------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__image { position: relative; }
.about__image-main {
    width: 100%; height: 500px; background: linear-gradient(160deg, #f5f0eb, #e8ddd4);
    border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about__image-main svg { width: 80px; height: 80px; color: #b89a7b; opacity: .25; }
.about__experience-badge {
    position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px;
    background: #b89a7b; border-radius: 50%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 10px 40px rgba(184,154,123,.35);
}
.about__experience-badge .number { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about__experience-badge .label { font-size: .6rem; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }
.about__content h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin-bottom: 24px; color: #1a1a1a; font-weight: 500; line-height: 1.3; }
.about__content p { color: #6b6b6b; margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.about__content p strong { color: #1a1a1a; font-weight: 600; }
.about__separator { width: 40px; height: 1.5px; background: #b89a7b; margin: 30px 0; }
.about__quote {
    margin: 0; padding: 20px 0 20px 24px;
    border-left: 3px solid #d4a0a0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #1a1a1a;
    line-height: 1.7;
}
.about__stats { display: flex; gap: 50px; margin-top: 35px; padding-top: 35px; border-top: 1px solid #eee; }
.about__stat { text-align: center; }
.about__stat-number { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: #1a1a1a; font-weight: 600; line-height: 1; }
.about__stat-label { font-size: .72rem; color: #999; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }

/* -- SERVICES ----------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: #fff; border-radius: 12px; padding: 44px 32px 36px; text-align: center;
    border: 1px solid #f0ece8; transition: all .4s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #b89a7b, #d4a0a0);
    transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.06); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 56px; height: 56px; border-radius: 50%; background: #f5f0eb;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all .3s;
}
.service-card__icon svg { width: 24px; height: 24px; color: #b89a7b; stroke-width: 1.5; }
.service-card:hover .service-card__icon { background: #b89a7b; }
.service-card:hover .service-card__icon svg { color: #fff; }
.service-card__title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; margin-bottom: 12px; color: #1a1a1a; font-weight: 600; }
.service-card__desc { color: #999; font-size: .88rem; margin-bottom: 24px; line-height: 1.7; }
.service-card__divider { width: 30px; height: 1px; background: #d4c4b0; margin: 0 auto 16px; }
.service-card__price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: #1a1a1a; }
.service-card__price small { font-family: 'Outfit', sans-serif; font-size: .7rem; font-weight: 400; color: #aaa; text-transform: uppercase; letter-spacing: .5px; }

/* -- PORTFOLIO ---------------------------------------------- */
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.portfolio__item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/5; background: #f5f0eb; }
.portfolio__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.portfolio__item:hover img { transform: scale(1.05); }
.portfolio__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(26,26,26,.8) 0%, transparent 50%);
    display: flex; align-items: flex-end; padding: 28px; opacity: 0; transition: opacity .4s ease;
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__overlay p { color: #fff; font-size: .9rem; line-height: 1.5; }
.portfolio__empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: #aaa; font-size: 1rem; }
.portfolio__empty svg { width: 48px; height: 48px; color: #ddd; margin: 0 auto 16px; stroke-width: 1; }

/* -- PRISE DE RDV ------------------------------------------- */
.booking { background: #f5f0eb; }
.booking__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.booking__info { padding-top: 20px; }
.booking__info h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin-bottom: 20px; color: #1a1a1a; font-weight: 500; }
.booking__info > p { color: #6b6b6b; line-height: 1.8; margin-bottom: 30px; }
.booking__detail { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 16px 20px; background: #fff; border-radius: 10px; }
.booking__detail-icon {
    width: 44px; height: 44px; border-radius: 50%; background: #f5f0eb;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.booking__detail-icon svg { width: 20px; height: 20px; color: #b89a7b; stroke-width: 1.5; }
.booking__detail-text { font-size: .9rem; color: #6b6b6b; line-height: 1.5; }
.booking__detail-text strong { display: block; color: #1a1a1a; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.booking__form { background: #fff; border-radius: 16px; padding: 48px 40px; box-shadow: 0 20px 60px rgba(0,0,0,.05); }
.form__group { margin-bottom: 22px; }
.form__label { display: block; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: #999; margin-bottom: 8px; }
.form__input, .form__select {
    width: 100%; padding: 14px 18px; border: 1.5px solid #e8e4e0; border-radius: 8px;
    font-size: .95rem; font-family: inherit; transition: all .3s; background: #faf8f6; color: #1a1a1a;
}
.form__input:focus, .form__select:focus { outline: none; border-color: #b89a7b; box-shadow: 0 0 0 3px rgba(184,154,123,.1); }
.form__input::placeholder { color: #bbb; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.slots__grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.slot-btn {
    padding: 10px 18px; border: 1.5px solid #e8e4e0; border-radius: 6px; background: #fff;
    cursor: pointer; font-size: .85rem; font-weight: 500; font-family: inherit; color: #1a1a1a; transition: all .25s;
}
.slot-btn:hover { border-color: #b89a7b; background: #faf5ed; }
.slot-btn.selected { background: #b89a7b; color: #fff; border-color: #b89a7b; }
.slots__loading, .slots__empty { color: #999; font-size: .88rem; padding: 12px 0; }
.form__submit { width: 100%; margin-top: 8px; justify-content: center; }
.form__message { text-align: center; padding: 16px 20px; border-radius: 8px; margin-top: 16px; font-weight: 500; font-size: .9rem; display: none; }
.form__message--success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; display: block; }
.form__message--error { background: #fce4ec; color: #c62828; border: 1px solid #f8bbd0; display: block; }

/* -- FOOTER ------------------------------------------------- */
.footer { background: #1a1a1a; color: #999; padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer__brand { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #fff; margin-bottom: 16px; font-weight: 500; }
.footer__brand .logo-bloom { color: #c9ad8a; font-weight: 700; }
.footer__brand .logo-studio { color: #e0b3b3; font-weight: 600; }
.footer__desc { font-size: .88rem; line-height: 1.8; color: #777; }
.footer__title { font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 1.1rem; margin-bottom: 20px; font-weight: 600; letter-spacing: .5px; }
.footer__contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .85rem; color: #999; }
.footer__contact-item svg { width: 16px; height: 16px; color: #b89a7b; flex-shrink: 0; stroke-width: 1.5; }
.footer__hours-line { display: flex; justify-content: space-between; font-size: .85rem; padding: 4px 0; border-bottom: 1px solid #2a2a2a; }
.footer__hours-line:last-child { border-bottom: none; }
.footer__hours-line .day { color: #999; }
.footer__hours-line .time { color: #ccc; font-weight: 500; }
.footer__hours-line .closed { color: #666; font-style: italic; }
.footer__bottom { text-align: center; padding-top: 30px; border-top: 1px solid #2a2a2a; font-size: .78rem; color: #555; letter-spacing: .5px; }

/* -- ANIMATIONS --------------------------------------------- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* -- RESPONSIVE --------------------------------------------- */

/* ---- Tablette (max 1024px) ---- */
@media (max-width: 1024px) {
    /* Header : burger visible, nav cachée */
    .header__nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: rgba(250,248,246,.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px 24px;
        gap: 8px;
        z-index: 999;
    }
    .header__nav.open { display: flex; }
    .header__nav a {
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid #eee;
        letter-spacing: 2px;
    }
    .header__burger { display: flex; }
    .btn--header-cta { display: none; }

    /* Hero */
    .hero { background-attachment: scroll; }
    .hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(26,26,26,.75) 0%,
            rgba(26,26,26,.55) 50%,
            rgba(26,26,26,.35) 100%
        );
    }
    .hero__title { font-size: 2.8rem; }
    .hero__content { padding: 80px 0; max-width: 100%; }

    /* Sections */
    .section { padding: 80px 0; }
    .section__header { margin-bottom: 50px; }
    .section__title { font-size: 2.2rem; }

    /* A propos */
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__image-main { height: 350px; }
    .about__experience-badge { bottom: -15px; right: -15px; width: 100px; height: 100px; }
    .about__experience-badge .number { font-size: 1.8rem; }
    .about__content h3 { font-size: 1.7rem; }

    /* Services */
    .services__grid { grid-template-columns: repeat(2, 1fr); }

    /* RDV */
    .booking__layout { grid-template-columns: 1fr; gap: 40px; }

    /* Footer */
    .footer { padding: 60px 0 24px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
}

/* ---- Mobile (max 640px) ---- */
@media (max-width: 640px) {
    .container { padding: 0 16px; }

    /* Header */
    .header .container { height: 60px; }
    .header__logo { font-size: 1.4rem; }
    .header__nav { top: 60px; padding: 30px 16px; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero__content { padding: 70px 0 50px; }
    .hero__badge { font-size: .6rem; letter-spacing: 3px; margin-bottom: 20px; }
    .hero__title { font-size: 2rem; margin-bottom: 18px; }
    .hero__text { font-size: .88rem; margin-bottom: 32px; line-height: 1.75; }
    .hero__buttons { flex-direction: column; gap: 10px; }
    .hero__buttons .btn { justify-content: center; width: 100%; padding: 14px 24px; }

    /* Sections */
    .section { padding: 60px 0; }
    .section__header { margin-bottom: 36px; }
    .section__label { font-size: .65rem; letter-spacing: 2px; gap: 8px; }
    .section__label::before,
    .section__label::after { width: 20px; }
    .section__title { font-size: 1.8rem; }

    /* A propos */
    .about__grid { gap: 30px; }
    .about__image-main { height: 260px; }
    .about__experience-badge { width: 80px; height: 80px; bottom: -10px; right: -10px; }
    .about__experience-badge .number { font-size: 1.5rem; }
    .about__experience-badge .label { font-size: .5rem; }
    .about__content h3 { font-size: 1.4rem; margin-bottom: 16px; }
    .about__content p { font-size: .9rem; margin-bottom: 12px; }
    .about__quote { font-size: 1rem; padding: 16px 0 16px 18px; }
    .about__separator { margin: 20px 0; }
    .about__stats { flex-direction: row; gap: 0; justify-content: space-between; }
    .about__stat { flex: 1; }
    .about__stat-number { font-size: 2rem; }
    .about__stat-label { font-size: .6rem; letter-spacing: 1px; }

    /* Services */
    .services__grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 30px 24px 28px; }
    .service-card__icon { width: 48px; height: 48px; margin-bottom: 16px; }
    .service-card__title { font-size: 1.2rem; }
    .service-card__desc { font-size: .82rem; margin-bottom: 18px; }
    .service-card__price { font-size: 1.4rem; }

    /* Portfolio */
    .portfolio__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .portfolio__item { border-radius: 8px; }
    .portfolio__empty { padding: 50px 16px; }

    /* RDV */
    .booking__info h3 { font-size: 1.5rem; }
    .booking__info > p { font-size: .9rem; }
    .booking__detail { padding: 12px 14px; gap: 12px; }
    .booking__detail-icon { width: 36px; height: 36px; }
    .booking__detail-icon svg { width: 16px; height: 16px; }
    .booking__form { padding: 28px 20px; border-radius: 12px; }
    .form__row { grid-template-columns: 1fr; }
    .form__input, .form__select { padding: 12px 14px; font-size: .9rem; }
    .form__label { font-size: .68rem; }
    .slot-btn { padding: 8px 14px; font-size: .8rem; }

    /* Footer */
    .footer { padding: 50px 0 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
    .footer__brand { font-size: 1.3rem; }
    .footer__desc { font-size: .82rem; }
    .footer__title { font-size: 1rem; margin-bottom: 14px; }
    .footer__contact-item { font-size: .8rem; }
    .footer__hours-line { font-size: .8rem; }
    .footer__bottom { font-size: .7rem; }
}

/* ---- Petit mobile (max 380px) ---- */
@media (max-width: 380px) {
    .hero__title { font-size: 1.7rem; }
    .hero__badge { font-size: .55rem; }
    .about__stats { flex-direction: column; gap: 16px; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .btn { padding: 12px 20px; font-size: .75rem; }
}
