
:root{
  --ivory:#fbf7ef;
  --paper:#fffdf8;
  --green:#214f3d;
  --green2:#466b58;
  --gold:#c49a4d;
  --gold2:#e8d2a4;
  --text:#2a2925;
  --muted:#777267;
  --shadow:0 18px 48px rgba(53,45,34,.15);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.96), transparent 30%),
    linear-gradient(180deg,#fbf7ef 0%,#f8f1e7 100%);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
body::before,
body::after{
  content:"";
  position:fixed;
  z-index:-1;
  width:190px;height:190px;
  border-radius:50%;
  filter:blur(4px);
  opacity:.10;
}
body::before{background:var(--gold);top:-70px;left:-70px}
body::after{background:var(--green);bottom:-90px;right:-80px}
a{color:inherit}
.app{
  width:min(100%,760px);
  margin:auto;
  padding:18px 14px 110px;
}
.hero{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(196,154,77,.28);
  border-radius:34px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,253,248,.90)),
    var(--paper);
  box-shadow:var(--shadow);
  padding:24px 18px 30px;
}
.demo-badge{
  width:max-content;
  margin:0 auto 12px;
  padding:7px 12px;
  border:1px solid rgba(196,154,77,.35);
  border-radius:999px;
  color:#886b33;
  background:rgba(255,250,240,.86);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.brand{
  text-align:center;
  color:var(--green);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.flourish{
  text-align:center;
  color:var(--gold);
  font-size:25px;
  margin:8px 0 14px;
}
.photo-stage{
  position:relative;
  height:360px;
  max-width:560px;
  margin:0 auto 20px;
}
.card-photo{
  position:absolute;
  width:58%;
  height:330px;
  border-radius:30px;
  overflow:hidden;
  border:5px solid #fffdf8;
  box-shadow:0 20px 36px rgba(36,31,24,.18);
  background:#ddd;
}
.card-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.card-photo.left{
  left:2%;
  top:8px;
  transform:rotate(-4deg);
}
.card-photo.right{
  right:2%;
  top:22px;
  transform:rotate(4deg);
}
.card-photo.left img{object-position:center 18%}
.card-photo.right img{object-position:center 20%}
.heart-medal{
  position:absolute;
  left:50%;top:148px;
  transform:translate(-50%,-50%);
  width:56px;height:56px;
  border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#f7e6bc,#bd8e3b);
  border:4px solid #fffdf8;
  box-shadow:0 10px 24px rgba(80,60,30,.22);
  color:white;
  font-size:26px;
  z-index:3;
}
.names{
  text-align:center;
  color:var(--green);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,9vw,66px);
  line-height:.95;
  margin:2px 0 10px;
  letter-spacing:-.02em;
}
.names span{
  color:var(--gold);
  font-style:italic;
  font-size:.7em;
}
.date{
  text-align:center;
  color:#7d6333;
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:.20em;
  font-size:15px;
}
.intro{
  max-width:520px;
  margin:20px auto 0;
  text-align:center;
  color:#5f5b52;
  line-height:1.65;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
}
.cta-row{
  display:grid;
  gap:11px;
  margin:24px auto 0;
  max-width:520px;
}
.btn{
  min-height:58px;
  border-radius:999px;
  padding:15px 20px;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:700;
  border:1px solid rgba(196,154,77,.35);
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:active{transform:scale(.98)}
.btn-primary{
  color:white;
  background:linear-gradient(135deg,var(--green2),var(--green));
  box-shadow:0 10px 26px rgba(33,79,61,.20);
}
.btn-light{
  color:#80612c;
  background:rgba(255,253,248,.95);
}
.section{
  margin-top:18px;
  padding:26px 20px;
  border-radius:var(--radius);
  background:rgba(255,253,248,.94);
  border:1px solid rgba(196,154,77,.25);
  box-shadow:0 12px 32px rgba(65,55,45,.10);
}
.section-title{
  margin:0 0 7px;
  color:var(--green);
  text-align:center;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
}
.section-sub{
  margin:0 0 18px;
  text-align:center;
  color:var(--muted);
  line-height:1.55;
}
.features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.feature{
  min-height:118px;
  padding:17px 12px;
  border-radius:20px;
  background:linear-gradient(180deg,#fffdf9,#fbf6ed);
  border:1px solid rgba(196,154,77,.20);
  text-align:center;
}
.feature .ico{font-size:29px;margin-bottom:7px}
.feature strong{display:block;color:var(--green);margin-bottom:4px}
.feature small{color:var(--muted);line-height:1.35}
.page-head{
  text-align:center;
  padding:24px 8px 14px;
}
.eyebrow{
  color:var(--gold);
  font-size:11px;
  letter-spacing:.18em;
  font-weight:800;
}
.page-head h1{
  margin:8px 0 6px;
  font-family:Georgia,"Times New Roman",serif;
  color:var(--green);
  font-size:clamp(34px,7vw,52px);
}
.page-head p{
  margin:0 auto;
  max-width:550px;
  color:var(--muted);
  line-height:1.55;
}
.timeline{display:grid;gap:14px}
.event{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:14px;
  padding:15px 0;
  border-bottom:1px solid rgba(196,154,77,.18);
}
.event:last-child{border-bottom:0}
.time{font-weight:800;color:var(--gold)}
.event h2,.route h2{margin:0 0 4px;color:var(--green);font-size:20px}
.event p,.route p{margin:0;color:#666158;line-height:1.5}
.route + .route{margin-top:12px}
.demo-note{
  margin-top:15px;
  padding:12px 14px;
  border-radius:16px;
  background:#f8f3e8;
  color:#776a53;
  font-size:13px;
  line-height:1.45;
}
.invite-card{
  max-width:580px;
  margin:auto;
  padding:34px 22px;
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 10%,rgba(255,255,255,.95),transparent 45%),
    #fffaf1;
  border:1px solid rgba(196,154,77,.32);
  text-align:center;
  box-shadow:var(--shadow);
}
.invite-card .script{
  font-family:Georgia,"Times New Roman",serif;
  font-size:42px;
  color:var(--gold);
  font-style:italic;
}
.invite-card .day{
  color:var(--green);
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:.12em;
  font-size:20px;
  margin:20px 0;
}
.invite-card p{line-height:1.55;color:#5f5b52}
.bottom-nav{
  position:fixed;
  z-index:30;
  left:50%;bottom:10px;
  transform:translateX(-50%);
  width:min(calc(100% - 18px),730px);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(196,154,77,.26);
  background:rgba(255,253,248,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 14px 34px rgba(40,35,30,.18);
}
.nav-item{
  min-height:68px;
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:var(--green);
  font-size:9px;
}
.nav-item .ico{font-size:20px}
.nav-item.active{color:var(--gold);background:rgba(196,154,77,.08)}
.fade-up{
  animation:fadeUp .75s ease both;
}
.fade-up.d2{animation-delay:.12s}
.fade-up.d3{animation-delay:.24s}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
@media(min-width:620px){
  .features{grid-template-columns:repeat(4,1fr)}
  .cta-row{grid-template-columns:1fr 1fr}
  .cta-row .btn-primary{grid-column:1/-1}
}
@media(max-width:430px){
  .app{padding-left:10px;padding-right:10px}
  .hero{padding-left:12px;padding-right:12px}
  .photo-stage{height:320px}
  .card-photo{height:292px}
  .heart-medal{top:130px}
  .names{font-size:42px}
}
.back-demos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
/* ===== Faire-part premium — Élise & Gabriel ===== */
.fairepart-head{padding-bottom:22px}
.invite-card-premium{
  position:relative;
  max-width:610px;
  padding:13px;
  overflow:hidden;
  border-radius:32px;
  background:linear-gradient(145deg,#fffdf9,#f7eddd);
  border:1px solid rgba(196,154,77,.38);
  box-shadow:0 24px 60px rgba(53,45,34,.16);
}
.invite-card-premium::before,
.invite-card-premium::after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  border-radius:50%;
  pointer-events:none;
}
.invite-card-premium::before{
  top:-105px;
  left:-95px;
  background:radial-gradient(circle,rgba(196,154,77,.16),rgba(196,154,77,0) 70%);
}
.invite-card-premium::after{
  right:-105px;
  bottom:-105px;
  background:radial-gradient(circle,rgba(33,79,61,.11),rgba(33,79,61,0) 70%);
}
.invite-inner{
  position:relative;
  z-index:1;
  padding:42px 34px 40px;
  border:1px solid rgba(196,154,77,.34);
  border-radius:23px;
  background:rgba(255,253,248,.72);
}
.invite-monogram{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:var(--green);
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  letter-spacing:.08em;
}
.invite-monogram i{
  color:var(--gold);
  font-size:17px;
  font-style:normal;
}
.invite-kicker{
  margin:17px 0 13px;
  color:#8b7040;
  font-size:10px;
  font-weight:800;
  letter-spacing:.28em;
}
.invite-card-premium .script{
  margin:0;
  color:var(--green);
  font-size:clamp(42px,8vw,58px);
  line-height:1.05;
  font-style:normal;
  letter-spacing:-.025em;
}
.invite-card-premium .script span{
  color:var(--gold);
  font-style:italic;
  font-weight:400;
}
.invite-card-premium .invite-wording{
  max-width:410px;
  margin:16px auto 0;
  color:#686257;
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.65;
}
.invite-ornament{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  margin:22px auto 17px;
  color:var(--gold);
}
.invite-ornament span{
  width:58px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold));
}
.invite-ornament span:last-child{
  background:linear-gradient(90deg,var(--gold),transparent);
}
.invite-ornament b{font-size:17px;font-weight:400}
.invite-date-block{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:13px;
  color:var(--green);
  font-family:Georgia,"Times New Roman",serif;
}
.invite-date-number{
  font-size:54px;
  line-height:1;
}
.invite-date-month{
  color:var(--gold);
  font-size:22px;
  letter-spacing:.18em;
}
.invite-date-year{
  font-size:25px;
  letter-spacing:.08em;
}
.invite-weekday{
  margin-top:4px;
  color:#8a8174;
  font-size:10px;
  font-weight:800;
  letter-spacing:.34em;
}
.invite-events{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:29px auto 0;
  max-width:500px;
}
.invite-event{
  display:grid;
  grid-template-columns:32px 1fr;
  gap:9px;
  align-items:start;
  min-height:126px;
  padding:18px 16px;
  border-radius:19px;
  text-align:left;
  background:rgba(255,255,255,.52);
  border:1px solid rgba(196,154,77,.25);
}
.invite-event-icon{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  color:var(--gold);
  background:#f8f0df;
  font-size:17px;
}
.invite-event strong{
  display:block;
  color:var(--gold);
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  line-height:1.1;
}
.invite-event span{
  display:block;
  margin-top:5px;
  color:var(--green);
  font-weight:750;
  line-height:1.3;
}
.invite-event small{
  display:block;
  margin-top:5px;
  color:#716b61;
  font-size:12px;
  line-height:1.4;
}
.invite-closing{
  margin-top:28px;
  color:#686257;
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.5;
}
.invite-closing span{display:block;font-size:14px}
.invite-closing em{
  display:block;
  margin-top:2px;
  color:#8a6b35;
  font-size:19px;
}
@media(max-width:520px){
  .invite-card-premium{padding:9px;border-radius:27px}
  .invite-inner{padding:34px 17px 32px;border-radius:19px}
  .invite-card-premium .script{font-size:40px}
  .invite-date-block{gap:8px}
  .invite-date-number{font-size:45px}
  .invite-date-month{font-size:18px}
  .invite-date-year{font-size:21px}
  .invite-events{grid-template-columns:1fr;gap:9px}
  .invite-event{min-height:0;padding:15px}
}


/* Faire-part Élégante — version photo */
.invite-card-photo{
  display:grid;
  grid-template-columns:minmax(0,42%) minmax(0,58%);
  max-width:980px;
  min-height:650px;
  margin:0 auto 34px;
  padding:0;
  overflow:hidden;
  border-radius:34px;
  background:#fffdf8;
  border:1px solid rgba(196,154,77,.34);
  box-shadow:0 26px 70px rgba(45,57,47,.13);
}
.invite-card-photo .invite-photo-panel{
  position:relative;
  min-height:650px;
  overflow:hidden;
  background:#d8c8ac;
}
.invite-card-photo .invite-photo-panel img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:52% center;
  transform:scale(1.015);
}
.invite-photo-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(20,55,43,.03) 38%,rgba(20,55,43,.72) 100%);
}
.invite-photo-caption{
  position:absolute;
  left:30px;
  right:30px;
  bottom:30px;
  color:#fffaf1;
  text-align:left;
  text-shadow:0 2px 16px rgba(0,0,0,.25);
}
.invite-photo-caption span{
  display:block;
  margin-bottom:6px;
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  font-size:22px;
}
.invite-photo-caption strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:42px;
  font-weight:400;
  letter-spacing:.08em;
}
.invite-card-photo .invite-copy-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:48px 42px 44px;
  border:0;
  border-radius:0;
  background:linear-gradient(145deg,#fffdf9 0%,#fbf4e8 100%);
}
.invite-card-photo .invite-card-premium .script,
.invite-card-photo .script{
  font-size:clamp(38px,4.4vw,55px);
}
.invite-card-photo .invite-wording{max-width:390px}
.invite-card-photo .invite-events{
  width:100%;
  grid-template-columns:1fr;
  max-width:410px;
  gap:9px;
  margin-top:24px;
}
.invite-card-photo .invite-event{
  min-height:0;
  padding:13px 15px;
  grid-template-columns:30px 1fr;
  background:rgba(255,255,255,.62);
}
.invite-card-photo .invite-event strong{font-size:18px}
.invite-card-photo .invite-closing{margin-top:22px}

@media(max-width:760px){
  .invite-card-photo{
    grid-template-columns:1fr;
    min-height:0;
    border-radius:28px;
  }
  .invite-card-photo .invite-photo-panel{
    min-height:0;
    height:360px;
  }
  .invite-card-photo .invite-photo-panel img{
    object-position:center 42%;
  }
  .invite-photo-caption{left:24px;right:24px;bottom:22px}
  .invite-photo-caption span{font-size:19px}
  .invite-photo-caption strong{font-size:34px}
  .invite-card-photo .invite-copy-panel{
    padding:36px 20px 34px;
  }
}
@media(max-width:420px){
  .invite-card-photo .invite-photo-panel{height:300px}
  .invite-card-photo .invite-copy-panel{padding:32px 16px 30px}
  .invite-card-photo .script{font-size:38px}
}
.contact-cta {
  max-width: 1100px;
  margin: 40px auto 10px;
  padding: 55px 30px;
  text-align: center;
  background: #1f5a45;
  color: white;
  border-radius: 32px;
}

.contact-cta-label {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #d1a24b;
}

.contact-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 55px);
  color: white;
}

.contact-cta > p:not(.contact-cta-label) {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 20px;
  line-height: 1.5;
}

.contact-cta .btn {
  display: inline-block;
}
.back-to-top {
  display: block;
  width: fit-content;
  margin: 30px auto 120px;
  padding: 14px 28px;

  color: #1f5a45;
  text-decoration: none;
  font-weight: 700;

  border: 1px solid #1f5a45;
  border-radius: 999px;
}

.back-to-top:hover {
  background: #1f5a45;
  color: white;
}
.back-demos {
  transition: background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              transform 0.25s ease;
}

.back-demos:hover {
  background-color: #1f5a45;
  color: white;
  border-color: #1f5a45;
  transform: translateY(-2px);
}