/* Studio : page de presentation des faire-part numeriques.
   Univers volontairement different de SEOscore : fond clair bleute, bleu encre et or, formes arrondies. */

@font-face { font-family: 'Italiana'; src: url('fonts/italiana-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f3f4fb;
  --paper-2: #e6e9f6;
  --ink: #0b1230;
  --ink-2: #2b3358;
  --navy: #0b1230;
  --navy-2: #141d4d;
  --gold: #d4af6a;
  --gold-hi: #ecd9a6;
  --gold-ink: #7a5712;
  --line: rgba(11, 18, 48, .16);
  --f-display: 'Italiana', 'Times New Roman', serif;
  --f-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --stars: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><g fill='%23ecd9a6'><circle cx='20' cy='34' r='1.1' fill-opacity='.7'/><circle cx='88' cy='12' r='.8' fill-opacity='.5'/><circle cx='150' cy='52' r='1.3' fill-opacity='.8'/><circle cx='214' cy='30' r='.9' fill-opacity='.55'/><circle cx='44' cy='96' r='.8' fill-opacity='.45'/><circle cx='120' cy='110' r='1.1' fill-opacity='.65'/><circle cx='196' cy='120' r='.8' fill-opacity='.5'/><circle cx='12' cy='170' r='1' fill-opacity='.6'/><circle cx='78' cy='190' r='1.3' fill-opacity='.75'/><circle cx='160' cy='176' r='.8' fill-opacity='.5'/><circle cx='226' cy='204' r='1.1' fill-opacity='.7'/><circle cx='110' cy='230' r='.8' fill-opacity='.5'/></g></svg>");
  --tick: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%237a5712' d='M12 1 L15.22 4.22 L19.78 4.22 L19.78 8.78 L23 12 L19.78 15.22 L19.78 19.78 L15.22 19.78 L12 23 L8.78 19.78 L4.22 19.78 L4.22 15.22 L1 12 L4.22 8.78 L4.22 4.22 L8.78 4.22 Z'/></svg>");
  --tick-gold: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23d4af6a' d='M12 1 L15.22 4.22 L19.78 4.22 L19.78 8.78 L23 12 L19.78 15.22 L19.78 19.78 L15.22 19.78 L12 23 L8.78 19.78 L4.22 19.78 L4.22 15.22 L1 12 L4.22 8.78 L4.22 4.22 L8.78 4.22 Z'/></svg>");
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: #9aa1c9 var(--paper);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink-2);
  background: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--navy); color: var(--gold-hi); }
a { color: var(--ink); text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--navy); color: var(--gold-hi); border-radius: 999px; }
.skip:focus { top: .75rem; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 7.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-family: var(--f-body); font-weight: 500; font-size: 1.35rem; line-height: 1.3; }
p { margin: 0 0 1rem; text-wrap: pretty; }
.gold { color: var(--gold-ink); }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.6rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn:hover { background: rgba(11, 18, 48, .07); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--gold-hi); box-shadow: 0 10px 20px -10px rgba(11, 18, 48, .6); }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 16px 26px -12px rgba(11, 18, 48, .65); }
.btn--ghost { border-color: rgba(11, 18, 48, .45); }
.btn--small { min-height: 2.5rem; padding: .45rem 1.15rem; font-size: .95rem; background: var(--navy); color: var(--gold-hi); }
.btn--small:hover { background: var(--navy-2); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-2px); }
.btn--light { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn--light:hover { background: rgba(236, 217, 166, .12); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.actions--center { justify-content: center; }

/* En-tete */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(243, 244, 251, .96);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-display); font-size: 1.7rem; line-height: 1; color: var(--ink); text-decoration: none; }
.brand-mark { display: block; width: auto; height: 2.6rem; }
.top-nav { display: none; gap: 1.75rem; margin-left: auto; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.top-nav a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 44rem) { .top-nav { display: flex; } }

/* Presentation et choix de l'occasion */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "chooser" "phone" "panel";
  gap: 1.75rem;
  max-width: 74rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero-copy { grid-area: copy; }
.lead { max-width: 38rem; margin: 1.25rem 0 1rem; font-size: 1.2rem; color: var(--ink-2); }
.price-line { margin: 0; font-size: 1.05rem; }
.price-line strong { font-weight: 500; color: var(--ink); }

.chooser { grid-area: chooser; margin: 0; padding: 0; border: 0; min-inline-size: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chooser legend { width: 100%; padding: 0; margin-bottom: .6rem; font-weight: 500; color: var(--ink); }
.chip { position: relative; display: inline-block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem 1.15rem;
  border: 1.5px solid rgba(11, 18, 48, .3);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.chip:hover span { border-color: var(--navy); background: rgba(11, 18, 48, .06); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--gold-hi); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

.phone {
  grid-area: phone;
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 2.75rem) 1rem;
  background: var(--navy) var(--stars);
  border-radius: 2rem;
  box-shadow: 0 30px 50px -28px rgba(11, 18, 48, .7);
}
.phone-frame {
  width: min(16rem, 72vw);
  padding: .5rem;
  background: #05081a;
  border-radius: 2.2rem;
  box-shadow: 0 26px 34px -18px rgba(0, 0, 0, .75), 0 6px 12px rgba(0, 0, 0, .4);
}
.phone-img { display: block; width: 100%; aspect-ratio: 390 / 844; border-radius: 1.75rem; transition: opacity .22s ease; }
.phone-img.is-swapping { opacity: 0; }

.panel-wrap { grid-area: panel; }
.panel h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); margin-bottom: .75rem; }
.panel p { max-width: 36rem; }
.panel-sub { margin: 1.25rem 0 .5rem; font-weight: 500; color: var(--ink); }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .85rem; height: .85rem; background: var(--tick) center / contain no-repeat; }
.ticks--gold li::before { background-image: var(--tick-gold); }
.panel[hidden] { display: none; }

@media (min-width: 62rem) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas: "copy phone" "chooser phone" "panel phone";
    column-gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }
  .phone { position: sticky; top: 5.5rem; padding: 3rem 1.5rem; }
}

/* Ce que decouvrent les invites */
.guests { max-width: 74rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem); }
.guests > h2 { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: center; margin-bottom: clamp(2.5rem, 7vw, 4.5rem); }
.shot { margin: 0; display: flex; justify-content: center; padding: 2rem 1rem; background: var(--navy) var(--stars); border-radius: 2rem; }
.shot img { width: min(14.5rem, 100%); border: .45rem solid #05081a; border-radius: 1.9rem; box-shadow: 0 24px 30px -16px rgba(0, 0, 0, .75); }
.row-text { max-width: 32rem; }
.row-text h3 { margin-bottom: .75rem; font-size: clamp(1.4rem, 3.4vw, 1.75rem); }
@media (min-width: 48rem) {
  .row { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
  .row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); }
  .row--flip .shot { order: 2; }
  .row--flip .row-text { justify-self: end; }
}

/* Commande */
.order { background: var(--paper-2); padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 5vw, 3rem); }
.order > * { max-width: 52rem; margin-left: auto; margin-right: auto; }
.order h2 { margin-bottom: 1.75rem; }
.steps { margin: 0 auto; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 1.1rem 0 1.1rem 3.75rem; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .85rem; font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--gold-ink); }
.steps strong { font-weight: 500; color: var(--ink); }
.order .actions { margin-top: 1.5rem; }

/* Tarifs */
.pricing { background: var(--navy) var(--stars); color: #d7daf0; padding: clamp(2.75rem, 8vw, 5rem) clamp(1rem, 5vw, 3rem); }
.pricing > * { max-width: 62rem; margin-left: auto; margin-right: auto; }
.pricing h2 { color: var(--gold-hi); text-align: center; }
.pricing-lead { margin-top: .75rem; text-align: center; font-size: 1.15rem; }
.offer { max-width: 34rem; margin: 2.5rem auto 0; padding: clamp(1.75rem, 5vw, 2.75rem); text-align: center; border: 1px solid rgba(212, 175, 106, .4); border-radius: 1.5rem; background: rgba(5, 8, 26, .55); }
.plan-price { margin: 0; font-family: var(--f-display); font-size: clamp(4rem, 14vw, 5.5rem); line-height: 1; color: #fff; }
.offer-unit { margin: .35rem 0 1.5rem; color: var(--gold-hi); font-size: 1.1rem; }
.offer .ticks { max-width: 26rem; margin: 0 auto 1.5rem; text-align: left; }
.offer .ticks li { color: #d7daf0; }
.offer-note { max-width: 26rem; margin: 0 auto 1.75rem; font-size: .98rem; }
.custom { max-width: 34rem; margin: 2.5rem auto 0; text-align: center; }
.custom p { margin-bottom: 1.25rem; }

/* Questions */
.faq { max-width: 50rem; margin: 0 auto; padding: clamp(2.75rem, 8vw, 5rem) clamp(1rem, 5vw, 3rem); }
.faq h2 { margin-bottom: 1.75rem; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 500; font-size: 1.08rem; color: var(--ink); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font-size: 1.6rem; line-height: 1; color: var(--gold-ink); transition: transform .3s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 1.25rem; max-width: 40rem; }

/* Appel final */
.final { padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 5vw, 3rem); background: var(--navy-2) var(--stars); text-align: center; color: #d7daf0; }
.final h2 { color: var(--gold-hi); }
.final p { max-width: 30rem; margin: 1rem auto 0; font-size: 1.15rem; }

.site-foot { padding: 2.5rem clamp(1rem, 5vw, 3rem) 3rem; text-align: center; font-size: .95rem; }
.site-foot p { max-width: 44rem; margin: 0 auto .75rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; justify-content: center; }
.foot-logo { display: block; width: 9rem; height: auto; margin: 0 auto 1rem; }
.foot-links a, .site-foot p a { display: inline-block; padding: .6rem .2rem; }
.brand { min-height: 2.75rem; }
.copy { color: #4a5278; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
