/* Pétale & Tige — démonstration de site vitrine (ZataLabs, V7.4). */
:root { --rose: #e7849b; --rose-pale: #fbe9ec; --tige: #4f7a4a; --creme: #fffaf6; --encre: #2e2327; --doux: #7b6a70; }
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--creme); color: var(--encre); font: 400 17px/1.6 "Work Sans", system-ui, sans-serif; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.05; margin: 0 0 .4em; }
h1 i, h2 i, .logo i { font-weight: 400; color: var(--rose); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tige); outline-offset: 3px; border-radius: 4px; }

.entete { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; padding: 1.4rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid #f0d9de; }
.logo { font: 600 1.7rem/1 Fraunces, serif; text-decoration: none; }
.entete p { margin: 0; color: var(--doux); font-size: .92rem; }
.hero { padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 5vw, 4rem) 2rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 16ch; }
.hero p { color: var(--doux); font-size: 1.15rem; }

.atelier { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: 1rem clamp(1rem, 5vw, 4rem) 4rem; align-items: start; }
@media (max-width: 860px) { .atelier { grid-template-columns: 1fr; } }
.apercu { position: sticky; top: 1rem; padding: 1.5rem; border-radius: 200px 200px 24px 24px; background: var(--rose-pale); text-align: center; }
@media (max-width: 860px) { .apercu { position: static; border-radius: 140px 140px 24px 24px; } }
.apercu svg { width: 100%; max-width: 340px; height: auto; }
.apercu svg .fleur { transform-box: fill-box; transform-origin: center; animation: pousse .5s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes pousse { from { transform: scale(0); } to { transform: scale(1); } }
.apercu__prix { display: flex; justify-content: space-between; align-items: baseline; margin: .5rem 0 0; padding: .9rem 1.2rem; border-radius: 16px; background: #fff; }
.apercu__prix b { font: 600 1.8rem/1 Fraunces, serif; color: var(--tige); }
.choix { display: grid; gap: 1.2rem; }
.choix fieldset { margin: 0; padding: 1.2rem 1.3rem 1.4rem; border: 1px solid #f0d9de; border-radius: 20px; background: #fff; }
.choix legend { display: flex; align-items: center; gap: .6rem; padding: 0 .4rem; font: 600 1.15rem/1 Fraunces, serif; }
.choix legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: #fff; font: 600 .9rem/1 "Work Sans", sans-serif; }
.options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.options label { position: relative; }
.options input, .couleurs input { position: absolute; opacity: 0; }
.options span { display: block; padding: .6rem 1rem; border-radius: 99px; border: 1.5px solid #ecd3d9; cursor: pointer; font-weight: 500; }
.options span small { color: var(--doux); }
.options input:checked + span { background: var(--encre); border-color: var(--encre); color: #fff; }
.options input:checked + span small { color: #e8d5da; }
.options input:focus-visible + span, .couleurs input:focus-visible + span { outline: 2px solid var(--tige); outline-offset: 3px; }
.couleurs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }
.couleurs label { position: relative; }
.couleurs span { display: block; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #ddd; }
.couleurs input:checked + span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--encre); }
.plus { display: flex; align-items: center; gap: .6rem; margin-top: .6rem; cursor: pointer; }
.plus input { width: 1.1rem; height: 1.1rem; accent-color: var(--tige); }
.plus small { color: var(--doux); }
#message { width: 100%; margin-top: .6rem; padding: .7rem; border: 1px solid #ecd3d9; border-radius: 12px; font: italic 400 1rem/1.4 Fraunces, serif; resize: vertical; }

.livraison { margin: 0 clamp(1rem, 5vw, 4rem) 4rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 30px; background: var(--tige); color: #fff; text-align: center; }
.livraison h2 { font-size: clamp(2rem, 5vw, 3rem); }
.livraison h2 i { color: #ffd2dc; }
.livraison__form { display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.livraison__form input { width: 140px; padding: .8rem 1rem; border: 0; border-radius: 12px; font: 600 1.1rem/1 "Work Sans", sans-serif; text-align: center; letter-spacing: .1em; }
.livraison__form button, .commander { padding: .8rem 1.3rem; border: 0; border-radius: 12px; background: var(--rose); color: #fff; font: 600 1rem/1 "Work Sans", sans-serif; cursor: pointer; }
.commander { margin-top: 1.5rem; background: #fff; color: var(--tige); }
.livraison__retour { min-height: 1.5em; margin: .8rem 0 0; font-weight: 500; }
.pied { padding: 1.5rem; text-align: center; color: var(--doux); font-size: .9rem; }
