:root {
    --bg: #FBF4F1;
    --blush: #F6E3E2;
    --rose: #E9B7C0;
    --rose-d: #C9798B;
    --plum: #5E2C3D;
    --ink: #3B2A2F;
    --sage: #D5DFCE;
    --butter: #F5E6BF;
    --r: 20px
}

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

html {
    scroll-behavior: smooth
}

body {
    font: 17px/1.65 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg)
}

h1,
h2,
h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    line-height: 1.12;
    color: var(--plum)
}

h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem)
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem)
}

h3 {
    font-size: 1.3rem
}

a {
    color: inherit
}

img {
    max-width: 100%
}

:focus-visible {
    outline: 3px solid var(--rose-d);
    outline-offset: 3px
}

.wrap {
    width: min(1120px, 92%);
    margin: auto
}

section {
    padding: clamp(3rem, 8vw, 6rem) 0
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 244, 241, .92);
    backdrop-filter: blur(8px)
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px
}

.logo{display:flex;align-items:center;gap:.6rem;line-height:1;color:var(--plum);text-decoration:none}
.logo-mark{width:46px;height:46px;flex:none}
.logo-text{display:grid;gap:.2rem}
.logo-text small{font:500 .75rem 'DM Sans',sans-serif;opacity:.85}
.logo-text span{font-family:'Fraunces',Georgia,serif;font-size:1.6rem;font-weight:600}

nav {
    display: flex;
    gap: 2rem;
    align-items: center
}

nav a {
    text-decoration: none;
    padding: .2rem 0;
    border-bottom: 2px solid transparent
}

nav a:hover,
nav a[aria-current] {
    border-color: var(--rose-d)
}

.btn {
    display: inline-block;
    background: var(--plum);
    color: #fff;
    padding: .8rem 1.6rem;
    border-radius: 99px;
    text-decoration: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    transition: background .2s
}

.btn:hover {
    background: var(--rose-d)
}

.btn.alt {
    background: transparent;
    color: var(--plum);
    border: 1.5px solid var(--plum)
}

.btn.alt:hover {
    background: var(--plum);
    color: #fff
}

.menu {
    display: none;
    background: none;
    border: 0;
    font-size: 1.6rem;
    color: var(--plum);
    cursor: pointer
}

/* arches : la signature du site */
.arch {
    border-radius: 999px 999px var(--r) var(--r);
    overflow: hidden;
    position: relative;
    background: var(--rose)
}

.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: .85rem;
    color: var(--plum);
    opacity: .9;
    padding: 1rem;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 45%), repeating-radial-gradient(circle at 60% 70%, rgba(255, 255, 255, .12) 0 2px, transparent 2px 6px), var(--c, var(--rose))
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center
}

.hero p {
    max-width: 34em;
    margin: 1.2rem 0 2rem;
    font-size: 1.15rem
}

.hero .arch {
    aspect-ratio: 3/4
}

.hero .btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.band {
    background: var(--blush)
}

.head {
    max-width: 40em;
    margin-bottom: 2.5rem
}

.head p {
    margin-top: .8rem
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem 1.5rem
}

.card .arch {
    aspect-ratio: 4/5;
    margin-bottom: 1rem
}

.card .arch:hover .ph,
.card .arch:hover img {
    transform: scale(1.04)
}

.ph,
.arch img {
    transition: transform .5s
}

.card h3 {
    font-size: 1.15rem
}

.card .price {
    color: var(--rose-d);
    font-weight: 600
}

.card .btn {
    margin-top: .7rem;
    padding: .55rem 1.1rem;
    font-size: .95rem
}

.tabs {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem
}

.tabs button {
    font: inherit;
    padding: .5rem 1.2rem;
    border-radius: 99px;
    border: 1.5px solid var(--rose);
    background: none;
    color: var(--plum);
    cursor: pointer
}

.tabs button[aria-pressed=true] {
    background: var(--plum);
    color: #fff;
    border-color: var(--plum)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.split .arch {
    aspect-ratio: 1/1.1
}

.split.rev .arch {
    order: 2
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.values div {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--r)
}

.values p {
    margin-top: .5rem
}

form {
    display: grid;
    gap: 1.1rem;
    max-width: 560px
}

label {
    display: grid;
    gap: .35rem;
    font-weight: 500
}

input,
select,
textarea {
    font: inherit;
    padding: .8rem 1rem;
    border: 1.5px solid var(--rose);
    border-radius: 14px;
    background: #fff;
    color: var(--ink)
}

textarea {
    min-height: 150px;
    resize: vertical
}

.ok {
    display: none;
    background: var(--sage);
    padding: 1rem 1.2rem;
    border-radius: 14px
}

footer {
    background: var(--plum);
    color: #F6E3E2;
    padding: 3.5rem 0 2rem
}

footer .wrap {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem
}

footer h3,
footer .logo {
    color: #fff
}

footer h3 {
    font-size: 1rem;
    margin-bottom: .6rem
}

footer a {
    display: block;
    text-decoration: none;
    opacity: .85;
    padding: .1rem 0
}

footer a:hover {
    opacity: 1;
    text-decoration: underline
}

.copy {
    grid-column: 1/-1;
    opacity: .7;
    font-size: .9rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 1.2rem
}

@media(max-width:800px) {
    .menu {
        display: block
    }

    nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        padding: 1.5rem;
        gap: 1rem;
        display: none
    }

    nav.open {
        display: flex
    }

    .hero .wrap,
    .split,
    .values,
    footer .wrap {
        grid-template-columns: 1fr
    }

    .split.rev .arch {
        order: 0
    }

    .split {
        gap: 2rem
    }

    .hero .arch {
        max-width: 360px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* Tableaux : rectangle au lieu d'une arche */
.card[data-cat="tableaux"] .arch{
  border-radius:8px;   /* mets 0 pour des angles totalement droits */
}

/* Photo d'accueil : cadrée sur le visage et les mains */
.hero .arch{aspect-ratio:4/5;box-shadow:0 24px 50px -28px rgba(94,44,61,.45)}
.hero .arch img{object-position:15% 20%}

/* Page À propos */
.lead{font-family:'Fraunces',Georgia,serif;font-size:1.35rem;line-height:1.4;color:var(--plum);margin:1.2rem 0}
.split p+p{margin-top:1rem}