/* BELLY BOUQUET — Atelier de peinture français
   Palette : mint #a8c4a2 · cream #f5ead8 · burgundy #5c2024 · orange #c97e5d · soft white #fffaf3
   Fonts   : Cormorant Garamond (italic display) + Inter (corps) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Caveat:wght@500;700&display=swap');

:root {
    --bb-mint:        #a8c4a2;
    --bb-mint-soft:   #c4d8c0;
    --bb-mint-deep:   #88a884;
    --bb-cream:       #f5ead8;
    --bb-cream-deep:  #ebdfc6;
    --bb-burgundy:    #5c2024;
    --bb-burgundy-soft: #7d2f34;
    --bb-orange:      #c97e5d;
    --bb-orange-soft: #d99878;
    --bb-soft-white:  #fffaf3;
    --bb-ink:         #2a1f1c;
    --bb-ink-mute:    #6b5b56;
    --bb-line:        rgba(92, 32, 36, 0.15);

    --bb-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --bb-body:    'Inter', system-ui, -apple-system, sans-serif;
    --bb-script:  'Caveat', 'Brush Script MT', cursive;

    --bb-radius:  18px;
    --bb-shadow:  0 18px 48px -28px rgba(92, 32, 36, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, .bb-body {
    background: var(--bb-soft-white);
    color: var(--bb-ink);
    font-family: var(--bb-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s, transform .25s; }
button { background: 0; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
em, .is-italic { font-family: var(--bb-display); font-style: italic; font-weight: 500; }

/* SHARED */
.bb-eyebrow {
    display: inline-block;
    font-family: var(--bb-script);
    font-size: 1.4rem;
    color: var(--bb-burgundy);
    letter-spacing: .02em;
    margin-bottom: .75rem;
}
.bb-section-title {
    font-family: var(--bb-display);
    font-style: italic;
    font-weight: 500;
    color: var(--bb-burgundy);
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.005em;
}
.bb-section-title--center { text-align: center; }

.bb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 2.1rem;
    border-radius: 999px;
    font-family: var(--bb-body);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    cursor: pointer;
    border: 1px solid transparent;
}
.bb-btn--burgundy { background: var(--bb-burgundy); color: var(--bb-soft-white); box-shadow: var(--bb-shadow); }
.bb-btn--burgundy:hover { background: var(--bb-burgundy-soft); transform: translateY(-2px); }
.bb-btn--ghost { background: transparent; color: var(--bb-burgundy); border-color: var(--bb-burgundy); }
.bb-btn--ghost:hover { background: var(--bb-burgundy); color: var(--bb-soft-white); }

/* HEADER — sticky cream/mint */
.bb-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(180deg, var(--bb-cream) 0%, var(--bb-cream) 65%, rgba(168,196,162,0.35) 100%);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--bb-line);
    padding: 1.05rem 2.5rem;
}
.bb-header__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}
.bb-nav ul { display: flex; gap: 1.6rem; align-items: center; }
.bb-nav a {
    font-size: .92rem;
    color: var(--bb-ink);
    font-weight: 400;
    letter-spacing: .015em;
    position: relative;
}
.bb-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1px;
    background: var(--bb-burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.bb-nav a:hover::after, .bb-nav a.is-active::after { transform: scaleX(1); }
.bb-nav a.is-active { color: var(--bb-burgundy); font-style: italic; font-family: var(--bb-display); font-size: 1.08rem; font-weight: 500; }
.bb-nav--right ul { justify-content: flex-end; }
.bb-nav__phone a { color: var(--bb-burgundy); font-weight: 500; font-size: .85rem; }

.bb-logo { display: inline-flex; align-items: center; gap: .55rem; }
.bb-logo__text {
    font-family: var(--bb-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--bb-burgundy);
    letter-spacing: .005em;
}
.bb-logo__mark {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.bb-logo__dot { width: 9px; height: 9px; border-radius: 50%; }
.bb-logo__dot--1 { background: var(--bb-mint); }
.bb-logo__dot--2 { background: var(--bb-orange); }
.bb-logo__dot--3 { background: var(--bb-burgundy); }

/* HERO — mint/cream */
.bb-hero {
    position: relative;
    background: linear-gradient(160deg, var(--bb-mint) 0%, var(--bb-mint-soft) 45%, var(--bb-cream) 100%);
    padding: clamp(4rem, 9vw, 7rem) 2.5rem clamp(5rem, 10vw, 8rem);
    text-align: center;
    overflow: hidden;
}
.bb-hero__inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    z-index: 2;
}
.bb-hero__eyebrow {
    display: inline-block;
    font-family: var(--bb-script);
    font-size: 1.6rem;
    color: var(--bb-burgundy);
    margin-bottom: 1.1rem;
}
.bb-hero__title {
    font-family: var(--bb-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(3rem, 7.5vw, 5.8rem);
    line-height: 1.02;
    color: var(--bb-burgundy);
    letter-spacing: -.012em;
    margin-bottom: 1.6rem;
}
.bb-hero__lead {
    color: var(--bb-ink);
    font-size: 1.08rem;
    max-width: 580px;
    margin: 0 auto 2.2rem;
    line-height: 1.7;
}

/* Brushstroke decorations (clip-path polygons) */
.bb-hero__brush {
    position: absolute;
    pointer-events: none;
    opacity: .55;
    z-index: 1;
}
.bb-hero__brush--mint {
    width: 320px; height: 70px;
    top: 12%; left: -40px;
    background: var(--bb-mint-deep);
    clip-path: polygon(0 50%, 6% 30%, 18% 22%, 32% 25%, 48% 18%, 65% 24%, 78% 20%, 92% 32%, 100% 48%, 96% 65%, 84% 72%, 70% 76%, 55% 70%, 40% 78%, 22% 74%, 10% 68%, 2% 60%);
    transform: rotate(-8deg);
}
.bb-hero__brush--burgundy {
    width: 280px; height: 60px;
    bottom: 14%; right: -30px;
    background: var(--bb-burgundy);
    opacity: .35;
    clip-path: polygon(0 55%, 10% 40%, 24% 30%, 40% 35%, 56% 25%, 72% 30%, 88% 22%, 100% 40%, 96% 60%, 88% 72%, 72% 78%, 56% 70%, 40% 78%, 24% 72%, 10% 76%, 2% 66%);
    transform: rotate(6deg);
}
.bb-hero__brush--orange {
    width: 220px; height: 55px;
    top: 38%; right: 10%;
    background: var(--bb-orange);
    opacity: .4;
    clip-path: polygon(0 50%, 10% 28%, 28% 22%, 46% 28%, 64% 18%, 82% 26%, 100% 42%, 94% 60%, 78% 72%, 60% 76%, 42% 70%, 24% 78%, 8% 70%);
    transform: rotate(-14deg);
}

.bb-hero__icon {
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 2;
    opacity: .9;
}
.bb-hero__icon--brush { top: 18%; left: 8%; transform: rotate(-18deg); }
.bb-hero__icon--roller { bottom: 16%; left: 12%; width: 80px; height: 80px; transform: rotate(12deg); }
.bb-hero__icon--drop { top: 22%; right: 11%; width: 48px; height: 48px; }

/* PIECES — cream section, 3 swatch columns */
.bb-pieces {
    background: var(--bb-cream);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
}
.bb-pieces__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.bb-pieces__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.bb-piece {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.2;
    border-radius: var(--bb-radius);
    overflow: hidden;
    background: var(--bb-soft-white);
    transition: transform .35s, box-shadow .35s;
}
.bb-piece:hover { transform: translateY(-6px); box-shadow: var(--bb-shadow); }
.bb-piece__swatch {
    position: absolute;
    inset: 8% 6% 30% 6%;
    /* brushstroke vertical shape */
    clip-path: polygon(
        20% 0%, 35% 4%, 55% 1%, 72% 6%, 85% 3%, 95% 12%,
        92% 30%, 96% 45%, 88% 60%, 95% 75%, 90% 90%, 80% 96%,
        68% 100%, 52% 96%, 35% 100%, 22% 94%, 10% 92%, 5% 80%,
        12% 65%, 6% 50%, 14% 32%, 8% 18%
    );
}
.bb-piece--mint .bb-piece__swatch     { background: linear-gradient(160deg, var(--bb-mint) 0%, var(--bb-mint-deep) 100%); }
.bb-piece--burgundy .bb-piece__swatch { background: linear-gradient(160deg, var(--bb-burgundy-soft) 0%, var(--bb-burgundy) 100%); }
.bb-piece--orange .bb-piece__swatch   { background: linear-gradient(160deg, var(--bb-orange-soft) 0%, var(--bb-orange) 100%); }

.bb-piece__overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    color: var(--bb-burgundy);
}
.bb-piece--mint .bb-piece__overlay,
.bb-piece--orange .bb-piece__overlay { color: var(--bb-burgundy); }
.bb-piece--burgundy .bb-piece__overlay { color: var(--bb-soft-white); }

.bb-piece__label {
    font-family: var(--bb-display);
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
}
.bb-piece__desc {
    font-size: .9rem;
    line-height: 1.55;
    opacity: .85;
}
.bb-piece__arrow {
    align-self: flex-end;
    font-size: 1.3rem;
    transition: transform .3s;
}
.bb-piece:hover .bb-piece__arrow { transform: translateX(6px); }

/* INSPIRATIONS — cream, carousel-style row */
.bb-inspirations {
    background: var(--bb-cream);
    padding: clamp(3rem, 6vw, 5.5rem) 2.5rem clamp(4rem, 7vw, 6rem);
}
.bb-inspirations__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}
.bb-inspirations__lead {
    margin-top: .85rem;
    color: var(--bb-ink-mute);
    font-size: 1rem;
    line-height: 1.7;
}
.bb-inspirations__row {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    align-items: center;
}
.bb-inspiration {
    border-radius: var(--bb-radius);
    overflow: hidden;
    background: var(--bb-soft-white);
    aspect-ratio: 3 / 4;
    box-shadow: var(--bb-shadow);
    transition: transform .35s;
}
.bb-inspiration--up   { transform: translateY(-12px); }
.bb-inspiration--down { transform: translateY(12px); }
.bb-inspiration:hover { transform: translateY(-4px) scale(1.015); }
.bb-inspiration__frame {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* PARTNERS — mint band */
.bb-partners {
    background: linear-gradient(170deg, var(--bb-mint) 0%, var(--bb-mint-soft) 100%);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
    color: var(--bb-burgundy);
}
.bb-partners__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.bb-partners .bb-section-title { color: var(--bb-burgundy); margin-bottom: 3rem; }
.bb-partners__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem 3rem;
    margin-bottom: 3rem;
}
.bb-partners__logo {
    flex: 0 0 auto;
    min-width: 140px;
    padding: .9rem 1.4rem;
    border-radius: 12px;
    border: 1px dashed rgba(92,32,36,.35);
    background: rgba(255,250,243,.45);
    font-family: var(--bb-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--bb-burgundy);
    opacity: .82;
    transition: opacity .25s, transform .25s;
}
.bb-partners__logo:hover { opacity: 1; transform: translateY(-2px); }
.bb-partners__signature {
    font-family: var(--bb-display);
    font-style: italic;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--bb-burgundy);
    letter-spacing: .005em;
    margin-top: 1rem;
}

/* FOOTER — cream 3-col */
.bb-footer {
    background: var(--bb-cream);
    color: var(--bb-ink);
    padding: clamp(3rem, 5vw, 4.5rem) 2.5rem 2rem;
}
.bb-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
}
.bb-footer__brand {
    font-family: var(--bb-display);
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
    color: var(--bb-burgundy);
    margin-bottom: .5rem;
}
.bb-footer__tag {
    color: var(--bb-ink-mute);
    font-size: .92rem;
    line-height: 1.6;
    max-width: 320px;
}
.bb-footer__title {
    font-family: var(--bb-display);
    font-style: italic;
    font-weight: 500;
    color: var(--bb-burgundy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.bb-footer__col ul li { margin-bottom: .55rem; font-size: .92rem; }
.bb-footer__col ul li a:hover { color: var(--bb-burgundy); }
.bb-footer__contact li { color: var(--bb-ink-mute); }

.bb-footer__divider {
    height: 2px;
    background: var(--bb-burgundy);
    max-width: 1200px;
    margin: 2.5rem auto 1.5rem;
    border-radius: 2px;
    opacity: .85;
}
.bb-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .88rem;
    color: var(--bb-ink-mute);
}
.bb-footer__bottom em { color: var(--bb-burgundy); }
.bb-footer__signature {
    font-family: var(--bb-script);
    font-size: 1.45rem;
    color: var(--bb-burgundy);
    line-height: 1;
}
.bb-footer__signature span { font-style: italic; }

/* Generic / contact / 404 fallbacks */
.contact-page { background: var(--bb-soft-white); padding: clamp(3rem, 6vw, 5rem) 2.5rem; }
.contact-page .container { max-width: 1100px; margin: 0 auto; }
.contact-page .two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-page h1 { font-family: var(--bb-display); font-style: italic; font-weight: 500; color: var(--bb-burgundy); font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 1.4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--bb-ink-mute); }
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: .85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--bb-line);
    background: var(--bb-soft-white);
    font: inherit;
    color: var(--bb-ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--bb-burgundy); outline-offset: 1px; }
.contact-form .hp { display: none; }
.contact-form .btn,
.contact-form .btn-primary {
    background: var(--bb-burgundy);
    color: var(--bb-soft-white);
    border: 0;
    border-radius: 999px;
    padding: .95rem 2rem;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
}
.contact-form .btn-primary:hover { background: var(--bb-burgundy-soft); }
.flash { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .92rem; }
.flash-success { background: var(--bb-mint-soft); color: var(--bb-burgundy); }
.flash-error   { background: #f7d7d7; color: var(--bb-burgundy); }

.not-found { padding: 5rem 2.5rem; text-align: center; background: var(--bb-soft-white); }
.not-found h1 { font-family: var(--bb-display); font-style: italic; color: var(--bb-burgundy); font-size: 2.6rem; margin-bottom: 1rem; }
.not-found .btn-primary { display: inline-block; margin-top: 1.5rem; background: var(--bb-burgundy); color: var(--bb-soft-white); padding: .85rem 1.85rem; border-radius: 999px; }

.preview-banner {
    background: var(--bb-mint);
    color: var(--bb-burgundy);
    text-align: center;
    padding: .55rem;
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .02em;
}

[x-cloak] { display: none !important; }

/* RESPONSIVE — 800px breakpoint */
@media (max-width: 800px) {
    .bb-header { padding: .85rem 1.2rem; }
    .bb-header__inner { grid-template-columns: 1fr auto; gap: 1rem; }
    .bb-nav--left { display: none; }
    .bb-nav--right ul { gap: 1rem; }
    .bb-nav__phone { display: none; }

    .bb-hero { padding: 3.5rem 1.4rem 4.5rem; }
    .bb-hero__icon--brush { left: -10px; top: 8%; width: 48px; height: 48px; }
    .bb-hero__icon--roller { left: -10px; bottom: 6%; width: 56px; height: 56px; }
    .bb-hero__icon--drop { right: 6%; top: 14%; width: 36px; height: 36px; }
    .bb-hero__brush--mint { width: 220px; }
    .bb-hero__brush--burgundy { width: 200px; }
    .bb-hero__brush--orange { width: 160px; right: 4%; }

    .bb-pieces { padding: 3rem 1.4rem; }
    .bb-pieces__grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .bb-piece { aspect-ratio: 4 / 3.4; }

    .bb-inspirations { padding: 2.5rem 1.4rem 3.5rem; }
    .bb-inspirations__row { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
    .bb-inspiration--up,
    .bb-inspiration--down { transform: none; }

    .bb-partners { padding: 3rem 1.4rem; }
    .bb-partners__row { gap: 1rem 1.4rem; }
    .bb-partners__logo { min-width: 120px; padding: .7rem 1rem; font-size: 1rem; }

    .bb-footer { padding: 2.5rem 1.4rem 1.5rem; }
    .bb-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .bb-footer__bottom { flex-direction: column; align-items: flex-start; }

    .contact-page { padding: 2.5rem 1.4rem; }
    .contact-page .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
