/* CAPASSECREEEME — charte reprise du site Squarespace (rose poudré, rose bonbon, orange, prune) */

:root {
  --rose-poudre: #ffd4d1;
  --rose-clair: #ffe6e4;
  --rose: #ffadec;
  --orange: #ff751f;
  --orange-fonce: #d9530a;
  --prune: #621e51;
  --prune-doux: #7d3b6c;
  --blanc: #ffffff;

  --font-titre: "Fraunces", Georgia, serif;
  --font-texte: "Poppins", system-ui, sans-serif;
  --font-bouton: "Montserrat", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --radius: 28px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--rose-poudre);
  color: var(--prune);
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; 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: -60px; z-index: 100;
  background: var(--prune); color: var(--blanc); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

/* ---------- Titres (police rétro arrondie) ---------- */
h1, h2, h3, .display {
  font-family: var(--font-titre);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
.accent { color: var(--orange); }
.eyebrow {
  font-family: var(--font-bouton);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-fonce);
  margin-bottom: 1rem;
  display: inline-block;
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 38ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-bouton);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 1em 1.8em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--blanc); }
.btn-orange:hover { background: var(--orange-fonce); }
.btn-prune { background: var(--prune); color: var(--blanc); }
.btn-prune:hover { background: var(--prune-doux); }
.btn-ghost { border-color: currentColor; color: var(--prune); background: transparent; }
.btn-ghost:hover { background: var(--prune); color: var(--blanc); border-color: var(--prune); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--rose-poudre) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--orange) 25%, transparent);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--font-titre);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 0.8em 1.4em; font-size: 0.78rem; }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--prune);
}
.menu-toggle span { display: block; width: 28px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--rose);
    flex-direction: column; justify-content: center; gap: 28px;
    font-size: 1.4rem;
    transform: translateY(-110%);
    transition: transform .35s ease;
    visibility: hidden;
  }
  .nav a:not(.btn) { font-family: var(--font-titre); font-weight: 800; font-size: 2rem; }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections & vagues ---------- */
.section { position: relative; padding-block: clamp(64px, 10vw, 128px); }
.bg-rose { background: var(--rose); }
.bg-poudre { background: var(--rose-poudre); }
.bg-clair { background: var(--rose-clair); }
.bg-prune { background: var(--prune); color: var(--rose-clair); }
.bg-prune h2, .bg-prune h3 { color: var(--blanc); }

/* Vague décorative avec liseré orange, posée en haut d'une section */
.wave {
  position: absolute; left: 0; right: 0; top: 1px;
  width: 100%; height: clamp(28px, 4vw, 56px);
  transform: translateY(-100%);
  pointer-events: none;
}
.wave .fill { fill: currentColor; }
.wave .line { fill: none; stroke: var(--orange); stroke-width: 3; vector-effect: non-scaling-stroke; }
.bg-rose > .wave { color: var(--rose); }
.bg-poudre > .wave { color: var(--rose-poudre); }
.bg-clair > .wave { color: var(--rose-clair); }
.bg-prune > .wave { color: var(--prune); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100svh - var(--header-h));
  max-height: 900px;
  background: var(--rose-poudre);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 96px) var(--gutter);
  padding-right: clamp(24px, 4vw, 64px);
}
.hero-text h1 { margin-bottom: 0.35em; }
.hero-text .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media > img:not(.hero-badge) { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  width: clamp(120px, 14vw, 170px);
  border-radius: 34%;
  box-shadow: 0 18px 40px -12px rgba(98, 30, 81, .45);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-media { order: -1; width: 100%; height: min(100vw, 68svh); }
  .hero-text { padding-top: 40px; padding-bottom: 56px; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-grid h2 { color: var(--prune); }
.occasions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.occasions li {
  background: var(--blanc); color: var(--prune);
  padding: 8px 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
}
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Cartes formes organiques ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  isolation: isolate;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(98, 30, 81, .55)); }
.card:hover img { transform: scale(1.05); }
.card-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 3vw, 32px);
  color: var(--blanc);
  font-family: var(--font-titre); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.05;
}
.card-title small { display: block; font-family: var(--font-texte); font-weight: 400; font-size: 0.95rem; margin-top: 6px; opacity: .95; }
.shape-cloud { border-radius: 42% 42% 42% 42% / 28% 28% 28% 28%; }
.shape-squircle { border-radius: 36px; }
.shape-leaf { border-radius: 220px 28px 220px 28px; }
.shape-arch { border-radius: 999px 999px 28px 28px; }
.card.on-flowers::before { background: linear-gradient(180deg, transparent 30%, rgba(255, 117, 31, .55)); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { aspect-ratio: 5 / 4; } .shape-leaf { border-radius: 140px 28px 140px 28px; } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); counter-reset: step; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.steps li { background: var(--blanc); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 34%; background: var(--rose); color: var(--orange-fonce);
  font-family: var(--font-titre); font-weight: 900; font-size: 1.6rem;
}
.steps h3 { font-size: 1.35rem; margin-bottom: .35em; }
.steps p { margin: 0; font-size: 0.98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bannière photo + logo ---------- */
.banner { position: relative; min-height: clamp(360px, 55vw, 620px); display: grid; place-items: center; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .logo-badge { position: relative; width: clamp(180px, 26vw, 300px); border-radius: 34%; box-shadow: 0 24px 60px -16px rgba(98, 30, 81, .5); }

/* ---------- Bloc CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Page intérieure ---------- */
.page-head { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.page-head .lead { max-width: 52ch; }
.breadcrumb { font-size: .9rem; margin-bottom: 1.2rem; }
.breadcrumb a { text-decoration: none; border-bottom: 1px solid currentColor; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.prose { max-width: 62ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Galerie ---------- */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 22px; overflow: hidden;
}
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .92rem; padding: 10px 6px 0; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(60, 14, 48, .92); }
.lightbox-inner { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 16px; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 112px); width: auto; border-radius: 18px; }
.lightbox button {
  position: fixed; background: var(--blanc); color: var(--prune); border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Formulaire ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; opacity: .75; font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--prune);
  background: var(--blanc); border: 2px solid transparent; border-radius: 16px; padding: 14px 16px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.form-note { font-size: .85rem; opacity: .85; }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 16px; display: none; }
.form-status.ok { display: block; background: var(--blanc); border-left: 6px solid #2e9d5b; }
.form-status.err { display: block; background: var(--blanc); border-left: 6px solid #c62828; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-aside { background: var(--rose); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.contact-aside a { font-weight: 600; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 14px; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; background: var(--orange); color: var(--blanc); padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-titre); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); padding-inline: 1.2em; white-space: nowrap; text-decoration: none; }
.marquee a { text-decoration: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--rose-clair); padding-block: 72px 32px; text-align: center; }
.site-footer > .wave { color: var(--rose-clair); }
.footer-brand {
  font-family: var(--font-titre); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.4rem); color: var(--rose); -webkit-text-stroke: 1px var(--prune-doux);
  text-decoration: none; display: inline-block; margin-bottom: .2em; line-height: 1.1;
}
.footer-tag { margin-bottom: 1.6rem; }
.socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 1.4rem; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; background: var(--rose); color: var(--orange-fonce);
  display: grid; place-items: center; transition: transform .2s ease, background-color .2s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--orange); color: var(--blanc); }
.socials svg { width: 22px; height: 22px; }
.footer-mail { font-size: 1.15rem; font-weight: 500; }
.footer-legal { margin-top: 2.4rem; font-size: .85rem; opacity: .85; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------- Apparition douce ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
