/* Pétale & Tige — site d'exemple Devlume (marque fictive). */

@font-face {
  font-family: "Fraunces";
  src: url("../../assets/fonts/Fraunces-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../../assets/fonts/Fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../../assets/fonts/Inter-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #fbf7f0;
  --ivory-2: #f4ece1;
  --paper: #fffcf7;
  --green: #21402f;
  --green-2: #2c5240;
  --green-ink: #13291c;
  --coral: #e8735a;
  --coral-ink: #c2492f;
  --coral-text: #ad3f27;
  --pink: #f6e2da;
  --pink-2: #f1cfc3;
  --pink-3: #f9ece6;
  --muted: #4d6155;
  --line: rgba(33, 64, 47, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --focus: #c2492f;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--green);
  font: 400 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }
section:focus, body:focus { outline: none; }
.infobar, .abo-shell, .site-footer { --focus: #f6cf72; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 16px; top: 16px; z-index: 2000; padding: 10px 16px; border-radius: 999px; background: var(--green); color: var(--ivory); font-weight: 600; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 40px, 1220px); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); }

/* ---------- Typographie ---------- */

h1, h2 { font-family: var(--serif); font-weight: 330; letter-spacing: -0.022em; text-wrap: balance; }
a[href^="tel:"] { white-space: nowrap; }
h1 em, h2 em, .brand-name em, .footer-word em { font-style: italic; font-weight: 400; color: var(--coral-ink); }
h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; margin-bottom: 18px; }
h3 { font-family: var(--serif); font-weight: 420; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 600 14px/1.3 var(--sans); color: var(--coral-text);
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex: none;
  background: var(--coral); border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
}
.lead { font-size: 18.5px; color: var(--muted); }
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > p:not(.eyebrow) { font-size: 17.5px; color: var(--muted); margin: 0; }
.section-head > p a { color: var(--coral-text); font-weight: 600; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; max-width: none; }
.section-head.split h2 { margin-bottom: 0; }
.section-head .note { font-size: 13.5px; }
.on-dark h2 { color: var(--ivory); }
.on-dark h2 em { color: #f6b49f; }
.on-dark .eyebrow { color: #f6b49f; }
.on-dark > p:not(.eyebrow) { color: #dbe3dc; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px;
  font: 600 15.5px/1.1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-coral { background: var(--coral); color: var(--green-ink); }
.btn-coral:hover { background: #ef8a72; }
.btn-green { background: var(--green); color: var(--ivory); }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { background: transparent; border-color: rgba(251, 247, 240, 0.55); color: var(--ivory); }
.btn-ghost:hover { background: var(--ivory); color: var(--green); }
.btn-block { width: 100%; }
.link-under {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link-under:hover { color: var(--coral-ink); }

/* ---------- Barre d'infos et en-tête ---------- */

.infobar { background: var(--green); color: var(--ivory); font-size: 13.5px; }
.infobar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.infobar p { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.infobar .ico { width: 18px; height: 18px; color: #f6b49f; --ivory: var(--green); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 240, 0.97); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font: 400 29px/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color 0.2s;
}
.site-nav ul a:hover { background: var(--pink); }
.nav-contact { display: none; margin: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 16px 0 14px; border: 1.5px solid var(--green); border-radius: 999px;
  background: transparent; cursor: pointer; font-weight: 600; font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
}
.cart-btn:hover { background: var(--green); color: var(--ivory); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: var(--coral); color: var(--green-ink); font-size: 12.5px; font-weight: 700; line-height: 1;
}
.cart-count.bump { animation: bump 0.45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle {
  display: none; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1.5px solid var(--green); border-radius: 50%; background: transparent; cursor: pointer;
}
.menu-toggle-lines { position: relative; display: block; width: 18px; height: 1.6px; background: currentColor; transition: background-color 0.2s; }
.menu-toggle-lines::before, .menu-toggle-lines::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: currentColor; transition: transform 0.25s, top 0.25s;
}
.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }

/* ---------- Héros ---------- */

.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(48px, 6vw, 86px); line-height: 0.98; margin-bottom: 26px; }
.hero h1 em { display: inline; }
.hero-lead { max-width: 33rem; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin: 34px 0 40px; }
.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); max-width: 36rem; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.hero-points strong { display: block; color: var(--green); font-weight: 600; }
.hero-points .ico { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--pink); color: var(--coral-ink); --ivory: var(--pink); }

.hero-visual { position: relative; min-height: 560px; }
.hero-blob {
  position: absolute; left: 0; top: 16%; width: 62%; aspect-ratio: 1;
  background: var(--pink-2); border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
}
.hero-arch {
  position: relative; width: 80%; margin: 0 0 0 auto; aspect-ratio: 4 / 5;
  border-radius: 50% 50% 32px 32px / 40% 40% 32px 32px; overflow: hidden; background: var(--pink-2);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero-round {
  position: absolute; left: 2%; bottom: -3%; width: 36%; aspect-ratio: 1; margin: 0;
  border-radius: 50%; overflow: hidden; border: 8px solid var(--ivory);
}
.hero-round img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; transform: scale(1.35); transform-origin: 30% 40%; }
.hero-seal { position: absolute; left: 10%; top: 3%; width: 124px; height: 124px; }

/* ---------- Bouquets ---------- */

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px) clamp(20px, 2.6vw, 34px); margin: 0; padding: 0; list-style: none; }
.product { display: flex; flex-direction: column; }
.product-media {
  position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; isolation: isolate;
  border-radius: 50% 50% 26px 26px / 43.5% 43.5% 26px 26px; background: var(--pink);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 50%); transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (hover: hover) { .product:hover .product-media img { transform: scale(calc(var(--zoom, 1) * 1.05)); } }
.product-tag {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px; background: var(--ivory); color: var(--green);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.product-tag.tag-plant { background: var(--green); color: var(--ivory); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 4px 0; }
.product-body h3 { font-size: 27px; line-height: 1.1; margin-bottom: 8px; }
.product-body > p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { margin: 0; font: 400 26px/1 var(--serif); }
.price small { font: 500 13px/1 var(--sans); color: var(--muted); margin-left: 4px; }
.btn-add {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1.5px solid var(--green); border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.btn-add::before { content: "+"; font-size: 19px; line-height: 1; font-weight: 500; }
.btn-add:hover { background: var(--green); color: var(--ivory); }
.btn-add.is-added { background: var(--green); color: var(--ivory); }
.btn-add.is-added::before { content: "✓"; font-size: 15px; }

/* ---------- Composer ---------- */

.composer { position: relative; z-index: 1; background: var(--pink); }
.edge { position: absolute; left: 0; width: 100%; height: 44px; color: var(--pink); pointer-events: none; }
.edge-top { bottom: calc(100% - 1px); }
.edge-bottom { top: calc(100% - 1px); }
.composer-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.composer-form { display: grid; gap: 14px; }
.opt { margin: 0; padding: 24px clamp(18px, 2.6vw, 30px) 26px; border: 0; border-radius: 28px; background: var(--paper); min-width: 0; }
.opt legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font: 420 23px/1.2 var(--serif); }
.opt legend + * { clear: both; }
.opt-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: var(--green-ink); font: 700 14px/1 var(--sans); }

.size, .palette, .mode-opt { position: relative; display: block; cursor: pointer; }
.size input, .palette input, .mode-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size > span {
  display: grid; justify-items: center; gap: 2px; padding: 16px 10px 14px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 22px; background: var(--ivory); transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.size strong { font: 400 34px/1 var(--serif); }
.size em { font-style: normal; font-weight: 600; font-size: 14.5px; }
.size small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.size b { margin-top: 6px; font: 400 19px/1 var(--serif); color: var(--coral-ink); }
.size:hover > span { border-color: var(--green); }
.size input:checked + span { background: var(--green); border-color: var(--green); color: var(--ivory); }
.size input:checked + span small { color: #cfdcd3; }
.size input:checked + span b { color: #f6b49f; }
.size input:focus-visible + span, .palette input:focus-visible + .swatch, .mode-opt input:focus-visible + span { outline: 2.5px solid var(--coral-ink); outline-offset: 3px; }

.palettes { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.palette { display: grid; justify-items: center; gap: 8px; width: 84px; text-align: center; }
.swatch {
  width: 58px; height: 58px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--s1) 0 34%, var(--s2) 0 67%, var(--s3) 0);
  box-shadow: inset 0 0 0 1px rgba(33, 64, 47, 0.12); transition: box-shadow 0.2s, transform 0.2s;
}
.palette:hover .swatch { transform: scale(1.05); }
.palette input:checked + .swatch { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--green); }
.pal-name { font-size: 13px; font-weight: 500; line-height: 1.25; }
.palette input:checked ~ .pal-name { font-weight: 700; }

.toggle { display: flex; align-items: center; gap: 14px; padding: 8px 0; cursor: pointer; font-size: 15.5px; }
.toggle + .toggle { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: #d9d2c7; transition: background-color 0.2s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s; }
.toggle input:checked + .toggle-ui { background: var(--green); }
.toggle input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-ui { outline: 2.5px solid var(--coral-ink); outline-offset: 3px; }
.toggle b { font-weight: 600; color: var(--coral-ink); white-space: nowrap; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 14.5px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select, .zone-row select {
  width: 100%; padding: 13px 16px; border: 1.5px solid rgba(33, 64, 47, 0.28); border-radius: 16px;
  background: var(--ivory); font-size: 16px;
}
.field select, .zone-row select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2321402f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible, .zone-row select:focus-visible { outline: 2.5px solid var(--coral-ink); outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: var(--coral-ink); box-shadow: inset 0 0 0 1px var(--coral-ink); }
.count { font-size: 12.5px; color: var(--muted); }

.preview { position: sticky; top: 104px; padding: 22px; border-radius: 32px; background: var(--paper); }
.preview-stage { position: relative; display: grid; place-items: center start; padding: 6px 0 64px; border-radius: 26px; background: radial-gradient(circle at 42% 40%, #fff 0, #fff 34%, var(--pink-3) 34.4%, var(--pink-3) 100%); overflow: hidden; }
.bouquet { width: min(78%, 340px); height: auto; aspect-ratio: 320 / 360; margin-left: 4%; }
.bouquet .bq { transform-box: view-box; transform-origin: 160px 330px; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bouquet .fl, .bouquet .lf { transform-box: fill-box; transform-origin: center; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; }
.bouquet.size-S .min-M, .bouquet.size-S .min-L, .bouquet.size-M .min-L { opacity: 0; transform: scale(0.4); }
.bouquet .c1 { fill: var(--c1); }
.bouquet .c2 { fill: var(--c2); }
.bouquet .c3 { fill: var(--c3); }
.bouquet .petal { stroke: rgba(33, 64, 47, 0.1); stroke-width: 1; transition: fill 0.35s; }
.bouquet .vase { opacity: 0; transition: opacity 0.3s; }
.bouquet.has-vase .vase { opacity: 1; }
.bouquet.has-vase .wrap-paper { opacity: 0; }
.bouquet .wrap-paper { transition: opacity 0.3s; }
.bouquet.no-kraft .wrap-paper { opacity: 0; }

.msg-card {
  position: absolute; right: 14px; bottom: 14px; width: min(58%, 240px); padding: 16px 16px 14px;
  border-radius: 6px; background: #fffdf8; box-shadow: 0 14px 28px -14px rgba(33, 64, 47, 0.45), 0 0 0 1px rgba(33, 64, 47, 0.06);
  transform: rotate(-3deg);
}
.msg-stamp { position: absolute; top: -14px; right: 14px; width: 28px; height: 28px; }
.msg-text { margin: 0; font: italic 400 17px/1.35 var(--serif); overflow-wrap: anywhere; }
.msg-text.is-placeholder { color: #7d8b82; }
.msg-sig { margin: 8px 0 0; font: 500 13px/1.2 var(--sans); color: var(--coral-ink); text-align: right; overflow-wrap: anywhere; }
.msg-sig:empty { display: none; }
.preview-foot { padding: 20px 6px 4px; }
.preview-sum { margin: 0 0 6px; font-size: 14.5px; color: var(--muted); }
.preview-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font: 400 44px/1 var(--serif); }
.preview-price small { font: 500 12.5px/1 var(--sans); color: var(--muted); }

/* ---------- Livraison ---------- */

.livraison { padding-top: clamp(110px, 11vw, 150px); }
.livraison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.livraison-text > p:not(.eyebrow):not(.note) { color: var(--muted); font-size: 17.5px; }
.zone-check { margin: 26px 0 26px; padding: 20px 22px; border-radius: 24px; background: var(--ivory-2); }
.zone-check label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14.5px; }
.zone-row select { background-color: var(--paper); }
.zone-result { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.zone-result strong { color: var(--green); }
.zones { margin: 0 0 14px; }
.zones div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.zones dt { display: flex; align-items: baseline; gap: 12px; font-size: 15.5px; }
.zones dd { margin: 0; font: 400 22px/1 var(--serif); white-space: nowrap; }
.zone-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; transform: translateY(1px); }
.zone-dot.z1 { background: #ec9f88; }
.zone-dot.z2 { background: #f3c9bb; box-shadow: inset 0 0 0 1px rgba(33, 64, 47, 0.2); }
.zone-dot.z3 { background: #f7ddd3; box-shadow: inset 0 0 0 1px rgba(33, 64, 47, 0.2); }
.map-card { margin: 0; }
.map { width: 100%; height: auto; border-radius: 32px; }
.map-towns circle { fill: var(--green); transition: r 0.25s, fill 0.25s; }
.map-towns circle.home { fill: var(--coral-ink); }
.map-towns g.is-active circle { fill: var(--coral-ink); r: 9; }
.map-towns g.is-active text { font-weight: 700; }
.map-card figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Abonnement ---------- */

.abonnement { padding: 0; }
.abo-shell {
  margin-inline: clamp(10px, 1.6vw, 24px); padding: clamp(72px, 8vw, 112px) 0;
  border-radius: clamp(28px, 4vw, 56px); background: var(--green); color: var(--ivory);
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 34px 28px 28px; border-radius: 30px;
  background: rgba(251, 247, 240, 0.06); border: 1px solid rgba(251, 247, 240, 0.18);
}
.plan h3 { font-size: 28px; margin-bottom: 10px; }
.plan-price { margin: 0 0 22px; font-size: 15px; color: #cfdcd3; }
.plan-price strong { font: 400 46px/1 var(--serif); color: var(--ivory); margin-right: 6px; }
.plan-list { display: grid; gap: 10px; margin: 0 0 28px; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(251, 247, 240, 0.2); font-size: 15px; color: #e3eae4; }
.plan-list li { display: flex; gap: 10px; }
.plan-list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; flex: none; border-radius: 50% 0 50% 50%; background: #f6b49f; transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan-featured { position: relative; background: var(--pink); border-color: var(--pink); color: var(--green); }
.plan-featured .plan-price { color: var(--muted); }
.plan-featured .plan-price strong { color: var(--green); }
.plan-featured .plan-list { border-top-color: var(--line); color: var(--green); }
.plan-featured .plan-list li::before { background: var(--coral); }
.plan-featured .btn-coral { background: var(--green); color: var(--ivory); }
.plan-featured .btn-coral:hover { background: var(--green-2); }
.plan-featured { --focus: #c2492f; }
.plan-badge { position: absolute; top: -14px; left: 28px; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--coral); color: var(--green-ink); font-size: 13px; font-weight: 700; }
.abo-note { max-width: 46rem; margin: 30px auto 0; text-align: center; font-size: 14px; color: #cfdcd3; }

/* ---------- Mariages ---------- */

.mariages-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.mariages-photo { position: relative; margin: 0; }
.mariages-photo::before {
  content: ""; position: absolute; inset: 6% -3% -3% 8%; border-radius: 44% 56% 40% 60% / 54% 40% 60% 46%; background: var(--pink-2);
}
.mariages-photo img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%;
  border-radius: 46% 54% 38% 62% / 42% 38% 62% 58%;
}
.services { margin: 26px 0 30px; padding: 0; list-style: none; }
.services li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.services b { font: 400 20px/1 var(--serif); white-space: nowrap; color: var(--coral-ink); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 50px; counter-increment: step; font-size: 14.5px; color: var(--muted); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; font: italic 400 30px/1 var(--serif); color: var(--coral-ink); }
.steps strong { display: block; margin-bottom: 2px; color: var(--green); font-size: 15.5px; }
.mariages-cta { margin-bottom: 12px; }

/* ---------- Boutique ---------- */

.boutique { background: var(--pink-3); }
.boutique-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.boutique-text > p:not(.eyebrow) { color: var(--muted); font-size: 17.5px; }
.ticks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green); color: var(--ivory); }
.boutique-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bp { margin: 0; overflow: hidden; background: var(--pink-2); }
.bp img { width: 100%; height: 100%; object-fit: cover; }
.bp-1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 32px; }
.bp-1 img { object-position: 50% 60%; }
.bp-2 { aspect-ratio: 1; border-radius: 50%; }
.bp-2 img { object-position: 50% 72%; transform: scale(1.35); transform-origin: 50% 72%; }
.bp-3 { aspect-ratio: 1; border-radius: 50% 50% 28px 28px / 50% 50% 28px 28px; }
.bp-3 img { object-position: 6% 80%; transform: scale(2.1); transform-origin: 6% 80%; }

/* ---------- Infos pratiques ---------- */

.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { padding: clamp(26px, 3.5vw, 40px); border-radius: 32px; background: var(--ivory-2); }
.card h3 { font-size: 28px; margin-bottom: 16px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 9px 16px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 14.5px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #b9b0a3; flex: none; }
.status.is-open .status-dot { background: #2f8f5b; box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.18); }
.status.is-closed .status-dot { background: var(--coral-ink); box-shadow: 0 0 0 4px rgba(194, 73, 47, 0.15); }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours tr { border-bottom: 1px dashed var(--line); }
.hours th { padding: 11px 12px 11px 0; text-align: left; font-weight: 600; }
.hours td { padding: 11px 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours td span { display: inline-block; white-space: nowrap; }
.hours td span + span::before { content: "·"; margin: 0 0.45em; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--coral-text); font-weight: 700; }
.hours-card .note { margin: 16px 0 0; }
.visit-card { display: flex; flex-direction: column; }
.visit { margin: 0 0 24px; }
.visit div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.visit dt { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--coral-text); }
.visit dd { margin: 3px 0 0; font-size: 15.5px; }
.visit a { font-weight: 600; }
.visit-art { margin-top: auto; }
.visit-art svg { width: 100%; height: auto; border-radius: 0 0 20px 20px; }

/* ---------- Avis ---------- */

.avis { background: var(--pink); }
.avis-legend { font-size: 13.5px !important; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.reviews li:nth-child(2) { transform: translateY(26px); }
.reviews blockquote { position: relative; height: 100%; margin: 0; padding: 46px 28px 28px; border-radius: 30px; background: var(--paper); }
.reviews blockquote::before { content: "“"; position: absolute; top: 4px; left: 24px; font: italic 400 72px/1 var(--serif); color: var(--coral); }
.reviews p { font: 400 19px/1.45 var(--serif); margin-bottom: 18px; }
.reviews footer { font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-photo { margin: 34px 0 0; max-width: 380px; }
.faq-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 60%; border-radius: 50% 50% 26px 26px / 66% 66% 26px 26px; }
.faq-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; display: block; padding: 22px 56px 22px 0; cursor: pointer; list-style: none;
  font: 420 21px/1.35 var(--serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2321402f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s, background-color 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--pink-2); }
.faq-list summary:hover { color: var(--coral-ink); }
.faq-list details p { margin: -4px 0 22px; max-width: 60ch; color: var(--muted); }

/* ---------- Pied de page ---------- */

.site-footer { padding: clamp(64px, 8vw, 96px) 0 30px; background: var(--green); color: #dbe3dc; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(251, 247, 240, 0.18); }
.footer-word { margin: 0; font: 300 clamp(48px, 8vw, 112px)/0.95 var(--serif); letter-spacing: -0.03em; color: var(--ivory); }
.footer-word em { color: #f6b49f; }
.footer-tagline { margin: 0; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-title { margin: 0 0 14px; font: 600 14px/1.2 var(--sans); color: #f6b49f; letter-spacing: 0; }
.site-footer a { color: var(--ivory); text-underline-offset: 3px; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials { display: flex; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(251, 247, 240, 0.1); transition: background-color 0.2s; }
.socials a:hover { background: rgba(251, 247, 240, 0.2); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251, 247, 240, 0.18); font-size: 13px; color: #c3cfc6; }
.footer-bottom p { margin: 0; }

/* ---------- Panier (tiroir) ---------- */

.drawer-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(19, 41, 28, 0.42); opacity: 0; transition: opacity 0.3s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer-backdrop[hidden], .drawer[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; display: flex; flex-direction: column;
  width: min(460px, 100%); background: var(--ivory); border-radius: 28px 0 0 28px;
  box-shadow: -24px 0 60px -30px rgba(19, 41, 28, 0.5);
  transform: translateX(100%); transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 30px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--pink); cursor: pointer; }
.icon-btn:hover { background: var(--pink-2); }
.icon-btn svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px 28px; overscroll-behavior: contain; }
.cart-empty { display: grid; justify-items: center; gap: 4px; padding: 48px 10px; text-align: center; color: var(--muted); }
.cart-empty[hidden] { display: none; }
.cart-empty-ico { width: 64px; height: 64px; margin-bottom: 10px; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.cart-thumb { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--pink); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--pos, 50% 50%); object-position: var(--pos, 50% 50%); transform: scale(var(--zoom, 1)); }
.cart-thumb.is-swatch { background: conic-gradient(from 210deg, var(--s1) 0 34%, var(--s2) 0 67%, var(--s3) 0); }
.cart-thumb.is-abo { display: grid; place-items: center; background: var(--green); color: #f6b49f; }
.cart-thumb.is-abo svg { width: 28px; height: 28px; }
.cart-name { margin: 0; font: 420 19px/1.2 var(--serif); }
.cart-detail { margin: 3px 0 10px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 18px; line-height: 1; }
.qty button:hover { background: var(--pink); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-side { display: grid; justify-items: end; gap: 8px; }
.cart-price { margin: 0; font: 400 20px/1 var(--serif); white-space: nowrap; }
.cart-remove { padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-remove:hover { color: var(--coral-ink); }

.checkout { margin-top: 20px; }
.checkout[hidden] { display: none; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; }
.mode legend { margin-bottom: 10px; padding: 0; font-weight: 600; font-size: 14.5px; }
.mode-opt > span { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid rgba(33, 64, 47, 0.28); border-radius: 18px; background: var(--paper); transition: border-color 0.2s, background-color 0.2s; }
.mode-opt strong { font-size: 15px; }
.mode-opt small { font-size: 12.5px; color: var(--muted); }
.mode-opt input:checked + span { border-color: var(--green); background: var(--pink); box-shadow: inset 0 0 0 1px var(--green); }
.field-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.field-row select { padding-left: 14px; padding-right: 36px; background-position: right 12px center; }
.field-row .field { margin-bottom: 14px; }
#commune-field[hidden] { display: none; }
.totals { margin: 8px 0 14px; padding: 14px 18px; border-radius: 20px; background: var(--ivory-2); }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.totals .total dd { font: 400 26px/1 var(--serif); }
.cart-error { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #fbe1d9; color: #7d2a17; font-size: 14px; font-weight: 600; }
.cart-error:empty { display: none; }
.checkout .note { margin: 12px 0 0; text-align: center; }
.cart-done { display: grid; justify-items: center; gap: 6px; padding: 36px 6px; text-align: center; }
.cart-done[hidden] { display: none; }
.cart-done:focus { outline: none; }
.done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--ivory); margin-bottom: 8px; }
.done-ico svg { width: 30px; height: 30px; }
.cart-done h3 { font-size: 30px; margin-bottom: 6px; }
.cart-done p { color: var(--muted); }
.demo-note { padding: 8px 14px; border-radius: 999px; background: var(--pink); color: var(--green) !important; font-size: 14px; font-weight: 600; }

/* ---------- Notification ---------- */

.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 1050; display: flex; align-items: center; gap: 16px;
  width: max-content; max-width: calc(100% - 32px); padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--green); color: var(--ivory); box-shadow: 0 18px 40px -18px rgba(19, 41, 28, 0.6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
  --focus: #f6cf72;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.25s, transform 0.25s, visibility 0s; }
.toast-text { margin: 0; font-size: 14.5px; font-weight: 500; }
.toast-btn { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--coral); color: var(--green-ink); font-weight: 700; font-size: 14px; cursor: pointer; }

/* ---------- Adaptations ---------- */

@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(19, 41, 28, 0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 14px 4px; border-radius: 0; border-bottom: 1px dashed var(--line); font: 400 24px/1.2 var(--serif); }
  .site-nav ul a:hover { background: none; color: var(--coral-ink); }
  .nav-contact { display: block; margin-top: 18px; font-size: 15px; }
  .nav-contact a { font-weight: 700; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 540px; width: 100%; margin-inline: auto; }
  .section-head.split { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .composer-grid { grid-template-columns: 1fr; }
  .preview { position: static; max-width: 560px; width: 100%; margin-inline: auto; }
  .livraison-grid, .mariages-grid, .boutique-grid, .faq-grid { grid-template-columns: 1fr; }
  .map-card { max-width: 620px; }
  .mariages-photo { max-width: 440px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 28px; }
  .infos-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .reviews li:nth-child(2) { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .infobar .infobar-more { display: none; }
  .infobar-inner { justify-content: center; font-size: 13px; }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 24px; }
  .cart-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cart-btn { padding: 0 12px; }
  html { scroll-padding-top: 84px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { margin: 28px 0 30px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-seal { width: 96px; height: 96px; left: 0; top: 0; }
  .hero-arch { width: 80%; }
  .hero-round { width: 42%; border-width: 6px; }
  .products { grid-template-columns: 1fr; gap: 36px; }
  .product-media { aspect-ratio: 1 / 1; border-radius: 50% 50% 24px 24px / 50% 50% 24px 24px; }
  .opt { border-radius: 24px; }
  .sizes { gap: 8px; }
  .size > span { padding: 14px 6px 12px; border-radius: 18px; }
  .size small { display: none; }
  .palettes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .palette { width: auto; }
  .swatch { width: 46px; height: 46px; }
  .pal-name { font-size: 11.5px; }
  .map-towns text { font-size: 18px; }
  .hours td span { display: block; }
  .hours td span + span::before { content: none; }
  .preview { padding: 14px; border-radius: 28px; }
  .msg-card { width: 66%; right: 10px; bottom: 10px; padding: 12px; }
  .msg-text { font-size: 15px; }
  .preview-price { font-size: 38px; }
  .zones dt { font-size: 14.5px; }
  .steps { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px 24px; }
  .bp-1 { border-radius: 24px; }
  .reviews p { font-size: 18px; }
  .faq-list summary { font-size: 19px; }
  .faq-photo { max-width: none; }
  .faq-photo img { aspect-ratio: 16 / 9; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .drawer { border-radius: 0; }
  .drawer-head { padding: 16px 18px 14px; }
  .drawer-body { padding: 14px 18px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .mode-opt > span { padding: 11px 12px; }
  .toast { bottom: 14px; padding-left: 16px; }
  .toast-text { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
