  :root{
    --cream:      #F7F1E3;
    --cream-alt:  #EFE6CE;
    --white:      #FFFFFF;
    --olive:      #3E4A2C;
    --olive-dark: #2E3821;
    --olive-mid:  #5F6E44;
    --olive-pale: #E1E6CE;
    --gold:       #B9945C;
    --ink:        #2B2A22;
    --ink-soft:   #6B6656;
    --radius: 2px;
  }

  *{ box-sizing:border-box; }
  /* l'attribut hidden doit toujours masquer, même quand un sélecteur de classe
     impose display (ex. .step{ display:grid }) : sinon les étapes « année »
     restent visibles alors que le JS les a désactivées. */
  [hidden]{ display:none !important; }
  img{
    /* casual deterrents against right-click save / drag-out - not real
       protection (a browser can always be inspected), but it covers the
       common case of someone dragging a photo to their desktop */
    -webkit-user-select:none; user-select:none;
    -webkit-user-drag:none; user-drag:none;
    -webkit-touch-callout:none;
  }
  html{ scroll-behavior:smooth; }
  @media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

  /* ---------- slow arrival fade, so the transition from the homepage
     doesn't feel abrupt - the page stays put at the top while it fades in ---------- */
  .arrival-veil{
    position:fixed; inset:0; z-index:999; background:var(--cream);
    transition:opacity 1.1s ease;
  }
  .arrival-veil.hide{ opacity:0; pointer-events:none; }

  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:'Lora', serif;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    opacity:1; transition:opacity .6s ease;
  }
  body.page-leaving{ opacity:0; }

  h1,h2,h3{ font-family:'Fraunces', serif; color:var(--olive); }
  .script{ font-family:'Fraunces', serif; font-style:italic; }

  a{ color:inherit; }
  :focus-visible{ outline:2px solid var(--olive); outline-offset:3px; }

  .canvas{ max-width:1080px; margin:0 auto; padding:0 24px; }

  /* ---------- HEADER ---------- */
  header{
    display:flex; align-items:center; gap:18px;
    padding:32px 0 4px;
  }
  header img.logo{ width:76px; height:76px; flex:none; }

  .back-link{
    display:inline-flex; align-items:center; gap:6px;
    font-size:.82rem; font-weight:600; color:var(--olive-mid);
    text-decoration:none; margin-left:auto; flex:none;
    padding:8px 4px; transition:color .15s ease;
  }
  .back-link:hover{ color:var(--olive); }
  .back-link svg{ width:16px; height:16px; }
  @media (max-width:520px){ .back-link span{ display:none; } }
  .brand-text .label{
    font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
    color:var(--olive-mid);
  }
  .brand-text .founder{
    font-size:.8rem; color:var(--ink-soft); margin-top:2px;
  }

  /* ---------- HERO ---------- */
  .hero{
    display:grid; grid-template-columns:1.15fr .85fr; align-items:center;
    gap:36px; padding:44px 0 56px; position:relative;
  }
  .eyebrow{
    font-size:.8rem; letter-spacing:.12em; text-transform:uppercase;
    color:var(--gold); margin:0 0 16px; font-weight:600;
  }
  .hero h1{
    font-size:clamp(2rem, 3.6vw, 2.85rem); font-weight:600;
    line-height:1.2; margin:0 0 14px;
  }
  .hero .script-line{
    font-size:1.25rem; color:var(--olive-mid); margin:0 0 22px;
  }
  .hero .lede{ max-width:48ch; color:var(--ink-soft); font-size:.98rem; margin:0 0 28px; }

  .hero-cta-wrap{ margin:0 0 26px; }
  .hero-cta svg{ flex:none; }
  .hero-meta{ display:flex; gap:30px; flex-wrap:wrap; }
  .hero-meta .item strong{
    display:block; font-family:'Fraunces', serif; font-size:1.35rem;
    color:var(--olive); font-weight:600;
  }
  .hero-meta .item span{ font-size:.78rem; color:var(--ink-soft); }

  .hero-art{ position:relative; display:flex; align-items:center; justify-content:center; }
  .hero-art figure{ margin:0; text-align:center; }
  .hero-art img{
    display:block; width:280px; height:280px; max-width:100%; flex:none;
    object-fit:cover; object-position:50% 22%;
    border-radius:18px;
    /* soft cream halo so the edge blurs into the page instead of a hard frame */
    box-shadow:
      0 0 0 8px var(--cream),
      0 0 22px 10px var(--cream),
      0 16px 30px -16px rgba(43,42,34,.35);
  }
  .hero-art figcaption{
    margin-top:16px; font-size:.8rem; color:var(--ink-soft); letter-spacing:.01em;
  }
  .hero-art figcaption strong{
    display:block; font-family:'Fraunces', serif; font-weight:600;
    color:var(--olive); font-size:.98rem; margin-bottom:2px;
  }

  /* Text-only now - the flyer image itself moved to the "Inviter une amie"
     share feature below, where it travels as a real attachment instead of
     sitting as a static thumbnail. */
  .openhouse-banner{
    background:var(--olive-pale); border-radius:var(--radius);
    padding:14px 18px; font-size:.85rem; color:var(--olive-dark);
    margin-top:10px;
  }
  .openhouse-banner strong{ color:var(--olive); display:block; margin-bottom:2px; }
  .openhouse-pay{
    display:inline-block; margin-top:8px; font-weight:700;
    color:var(--olive); text-decoration:underline; text-underline-offset:3px;
  }
  .openhouse-pay:hover, .openhouse-pay:focus-visible{ color:var(--olive-dark); }

  /* ---------- INVITE A FRIEND ---------- */
  .invite-box{
    margin-top:30px; padding:22px 20px;
    background:var(--olive-pale); border-radius:var(--radius);
    text-align:left;
  }
  .invite-box h3{
    display:flex; align-items:center; gap:9px;
    font-family:'Fraunces', serif; font-weight:600; font-size:1.08rem;
    color:var(--olive); margin:0 0 6px;
  }
  .invite-box h3 svg{
    width:19px; height:19px; flex:none;
    stroke:var(--olive-mid); fill:none; stroke-linecap:round; stroke-linejoin:round;
  }
  .invite-box p{ margin:0 0 16px; font-size:.9rem; color:var(--ink-soft); }
  .invite-actions{ position:relative; display:flex; gap:12px; flex-wrap:wrap; margin:0; }
  .invite-actions .btn svg{ width:17px; height:17px; flex:none; }
  /* the form's own button.btn-primary{width:100%} rule (meant for the
     standalone submit button) would also stretch this one full-width since
     it shares the same classes - keep it sized to its content here so it
     sits inline next to "Copier le lien" until the mobile stack kicks in */
  .invite-actions .btn-primary{ width:auto; }
  .invite-feedback{
    margin:14px 0 0 !important; font-size:.85rem; font-weight:600;
    color:var(--olive-mid); min-height:1.2em;
  }

  /* Fallback menu, shown only when the browser can't open the native share
     sheet (desktop, mostly) - mirrors the one on the homepage's "Partager
     l'événement" button so the pattern feels familiar across the site. */
  .invite-menu{
    position:absolute; top:calc(100% + 10px); left:0; z-index:20;
    background:var(--white); border:1px solid var(--gold); border-radius:var(--radius);
    padding:8px; display:flex; flex-direction:column; gap:2px;
    width:max-content; min-width:190px; max-width:calc(100vw - 48px);
    opacity:0; transform:translateY(-6px) scale(.97); transform-origin:top left;
    transition:opacity .16s ease, transform .16s ease; pointer-events:none;
  }
  .invite-menu.open{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
  .invite-menu a{
    display:flex; align-items:center; gap:10px; padding:11px 13px; border-radius:9px;
    text-decoration:none; color:var(--ink); font-size:.9rem; font-weight:600; white-space:nowrap;
  }
  .invite-menu a:hover, .invite-menu a:focus-visible{ background:var(--cream-alt); }
  .invite-menu svg{ width:18px; height:18px; flex:none; stroke:var(--olive); }

  /* ---------- dossier d'inscription: pre-filled PDF, download / email ---------- */
  .dossier-box{
    margin-top:20px; padding:22px 20px;
    background:var(--olive-pale); border-radius:var(--radius);
    text-align:left;
  }
  .dossier-box h3{
    display:flex; align-items:center; gap:9px;
    font-family:'Fraunces', serif; font-weight:600; font-size:1.08rem;
    color:var(--olive); margin:0 0 6px;
  }
  .dossier-box h3 svg{
    width:19px; height:19px; flex:none;
    stroke:var(--olive-mid); fill:none; stroke-linecap:round; stroke-linejoin:round;
  }
  .dossier-box p{ margin:0 0 16px; font-size:.9rem; color:var(--ink-soft); }
  .dossier-actions{ display:flex; gap:12px; flex-wrap:wrap; margin:0; }
  .dossier-actions .btn svg{ width:17px; height:17px; flex:none; }
  .dossier-actions .btn-primary{ width:auto; }
  .dossier-status{
    margin:14px 0 0 !important; font-size:.85rem; font-weight:600;
    color:var(--olive-mid); min-height:1.2em;
  }

  /* ---------- PROGRAMME PILLS ---------- */
  .programme{ display:flex; flex-wrap:wrap; gap:10px; margin:0; }
  .programme .pill{
    position:relative; display:flex; align-items:center; gap:8px;
    background:var(--olive-pale); border-radius:30px; border:1px solid transparent;
    padding:7px 14px 7px 8px; font-size:.8rem; color:var(--olive-dark);
    cursor:pointer; transition:background-color .15s ease, border-color .15s ease;
  }
  .programme .pill input{
    position:absolute; opacity:0; width:100%; height:100%; margin:0; top:0; left:0; cursor:pointer;
  }
  .programme .pill:has(input:checked){ background:var(--olive); border-color:var(--olive); color:var(--cream); }
  .programme .pill .badge{
    width:26px; height:26px; border-radius:50%; background:var(--olive);
    display:flex; align-items:center; justify-content:center; flex:none;
  }
  .programme .pill svg{ width:14px; height:14px; stroke:var(--cream); }
  .programme .pill:has(input:checked) .badge{ background:var(--cream); }
  .programme .pill:has(input:checked) svg{ stroke:var(--olive); }

  /* ---------- FORM SHELL ---------- */
  main{ padding-bottom:70px; }
  .form-card{
    background:var(--white); border:1px solid var(--gold);
    border-radius:var(--radius); padding:44px clamp(20px,4vw,54px);
    position:relative;
  }
  .form-card::before{
    content:""; position:absolute; inset:7px;
    border:1px solid rgba(185,148,92,0.3); pointer-events:none;
  }

  .form-intro{ margin:0 0 36px; max-width:60ch; }
  .form-intro h2{ font-size:1.45rem; margin:0 0 8px; font-weight:600; }
  .form-intro p{ color:var(--ink-soft); margin:0; font-size:.9rem; }

  .steps{ position:relative; }
  .step{
    display:grid; grid-template-columns:52px 1fr; column-gap:22px;
    position:relative; padding-bottom:44px;
  }
  .step:last-of-type{ padding-bottom:0; }
  .step-line{
    position:absolute; left:25px; top:6px; bottom:6px; width:1px;
    background:var(--gold); opacity:.5; z-index:0;
  }
  .step.no-line .step-line, .step:last-of-type .step-line{ display:none; }
  .step-marker{
    position:relative; z-index:1; width:52px; height:52px; border-radius:50%;
    background:var(--olive); color:var(--cream);
    display:flex; align-items:center; justify-content:center;
    font-family:'Fraunces', serif; font-size:.95rem; font-weight:600;
  }
  .step h3{ font-size:1.1rem; margin:2px 0 20px; font-weight:600; }
  .step p.step-help{ font-size:.85rem; color:var(--ink-soft); margin:-12px 0 20px; }

  .field-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px 20px; }
  .field{ display:flex; flex-direction:column; gap:6px; }
  .field.full{ grid-column:1 / -1; }
  label{ font-size:.78rem; letter-spacing:.02em; color:var(--ink-soft); }
  label .req{ color:var(--olive); }
  label .opt{ font-style:italic; }

  input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea{
    font-family:inherit; font-size:16px; color:var(--ink);
    background:var(--cream); border:1px solid #DCD0AE; border-radius:var(--radius);
    padding:11px 12px; width:100%;
  }
  /* Le champ date natif ignorait ce style sur mobile (fond blanc, texte
     minuscule) : on lui redonne la même hauteur et la même apparence. */
  input[type=date]{ min-height:46px; appearance:none; -webkit-appearance:none; text-align:left; }
  input[type=date]::-webkit-date-and-time-value{ text-align:left; }
  textarea{ resize:vertical; min-height:92px; }
  input::placeholder, textarea::placeholder{ color:#A79F8B; }
  select{ appearance:none; background-image:linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size:5px 5px, 5px 5px; background-repeat:no-repeat; }

  .visually-hidden{
    position:absolute; width:1px; height:1px; margin:-1px; padding:0;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
  }

  .seats-box{
    background:var(--olive-pale); border:1px solid var(--gold);
    border-radius:var(--radius); padding:16px 20px; margin-bottom:18px;
  }
  .seats-text{ font-size:.87rem; color:var(--olive-dark); margin-bottom:10px; }
  .seats-text strong{ color:var(--olive); }
  .seats-bar{
    width:100%; height:8px; border-radius:30px; background:rgba(62,74,44,0.15);
    overflow:hidden;
  }
  .seats-bar-fill{
    height:100%; border-radius:30px;
    background:linear-gradient(90deg, var(--gold), var(--olive));
  }
  .seats-remaining{
    display:block; margin-top:8px; font-size:.78rem; font-weight:700;
    color:var(--olive); letter-spacing:.02em;
  }

  .countdown-box{
    background:var(--olive-dark); border-radius:var(--radius);
    padding:20px 18px; margin-bottom:22px;
    display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center;
  }
  .countdown-label{ font-size:.86rem; color:var(--cream-alt); }
  .countdown-label strong{ color:var(--gold); font-weight:700; }
  .countdown-units{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
  .countdown-unit{
    flex:0 0 auto; min-width:62px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    background:rgba(247,241,227,0.08); border:1px solid rgba(185,148,92,0.4);
    border-radius:var(--radius); padding:8px 6px;
  }
  .countdown-num{
    font-family:'Fraunces', serif; font-weight:600; font-size:1.35rem;
    color:var(--cream); line-height:1; font-variant-numeric:tabular-nums;
  }
  .countdown-word{ font-size:.62rem; letter-spacing:.05em; text-transform:uppercase; color:var(--cream-alt); margin-top:4px; }
  .countdown-box.expired .countdown-units{ display:none; }
  @media (max-width: 420px){
    .countdown-box{ padding:18px 12px; }
    .countdown-unit{ min-width:0; flex:1 1 44%; }
    .countdown-num{ font-size:1.2rem; }
  }
  @media (prefers-reduced-motion: no-preference){
    .countdown-box{ animation:countdownPulse 3.2s ease-in-out infinite; }
    @keyframes countdownPulse{
      0%, 100%{ box-shadow:0 0 0 0 rgba(185,148,92,.4); }
      50%{ box-shadow:0 0 0 8px rgba(185,148,92,0); }
    }
  }

  .deposit-box{
    background:var(--olive-pale); border:1px solid var(--gold);
    border-radius:var(--radius); padding:16px 20px; margin-bottom:20px;
    display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap;
  }
  .deposit-box .label{ font-size:.84rem; color:var(--olive-dark); }
  .deposit-box .amount{ font-family:'Fraunces', serif; font-size:1.5rem; color:var(--olive); font-weight:600; text-align:right; }
  .deposit-box .amount .fee-note{
    display:block; font-family:'Lora', serif; font-size:.72rem; font-weight:400;
    color:var(--olive-dark); opacity:.9; margin-top:2px;
  }

  .echeancier{ margin:4px 0 22px; }
  .echeancier-title{ font-size:.9rem; font-weight:600; color:var(--olive); margin:0 0 8px; }
  .echeancier table{ width:100%; border-collapse:collapse; font-size:.86rem; }
  .echeancier th{
    text-align:left; font-weight:600; color:var(--olive-dark);
    font-size:.72rem; letter-spacing:.06em; text-transform:uppercase;
    padding:0 10px 8px; border-bottom:1px solid var(--gold);
  }
  .echeancier th:last-child, .echeancier td:last-child{ text-align:right; }
  .echeancier td{ padding:9px 10px; border-bottom:1px solid rgba(62,74,44,.14); color:var(--ink); vertical-align:top; }
  .echeancier tr:last-child td{ border-bottom:0; }
  .echeancier tr.is-acompte td{ color:var(--olive); font-weight:600; }
  .echeancier td .sub{ display:block; font-size:.76rem; color:var(--ink-soft); font-weight:400; }
  .echeancier-note{ font-size:.78rem; color:var(--ink-soft); margin:10px 0 0; }

  .info-box{
    background:var(--olive-pale); border:1px solid var(--gold);
    border-radius:var(--radius); padding:16px 20px; margin:0 0 26px;
    display:flex; gap:12px; align-items:flex-start; font-size:.87rem; color:var(--olive-dark);
  }
  .info-box svg{ width:20px; height:20px; flex:none; margin-top:1px; stroke:var(--olive); }
  .info-box strong{ color:var(--olive); }

  .radio-group{ display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
  .radio-option{
    display:flex; gap:12px; align-items:flex-start;
    border:1px solid #DCD0AE; border-radius:var(--radius); padding:14px 16px;
    cursor:pointer; background:var(--cream);
  }
  .radio-option:has(input:checked){ border-color:var(--olive); background:var(--olive-pale); }
  .radio-option input{ margin-top:3px; accent-color:var(--olive); }
  .radio-option .opt-title{ font-weight:700; font-size:.9rem; display:block; color:var(--ink); }
  .radio-option .opt-desc{ font-size:.81rem; color:var(--ink-soft); }
  .radio-option .opt-tag{
    display:inline-block; margin-left:8px; font-size:.68rem; letter-spacing:.06em;
    text-transform:uppercase; color:var(--gold); font-weight:700; vertical-align:middle;
  }

  .consent{ display:flex; gap:10px; align-items:flex-start; font-size:.84rem; color:var(--ink-soft); margin:8px 0 12px; }
  .consent input{ margin-top:3px; accent-color:var(--olive); }
  .rgpd-note{ font-size:.78rem; color:var(--ink-soft); margin:0 0 24px; max-width:60ch; }
  .rgpd-note a{ color:var(--olive-deep, var(--olive)); text-decoration:underline; text-underline-offset:2px; }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    font-family:'Lora', serif; font-weight:700; font-size:.88rem;
    /* <button> does not inherit the body line-height the way <a> does, which
       left buttons 4px shorter than the links sitting next to them */
    line-height:1.6;
    letter-spacing:.02em; text-decoration:none; cursor:pointer;
    padding:15px 28px; border-radius:var(--radius); border:1px solid transparent;
    transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  }
  .btn-primary{ background:var(--olive); color:var(--cream); }
  .btn-primary:hover{ background:var(--olive-dark); transform:translateY(-1px); }
  .btn-outline{ background:transparent; color:var(--olive); border-color:var(--olive); }
  .btn-outline:hover{ background:var(--olive-pale); transform:translateY(-1px); }
  button.btn-primary{ width:100%; justify-content:center; }

  .btn-row{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }

  @media (prefers-reduced-motion: no-preference){
    .cal-pulse{ animation:calPulse 2.6s ease-in-out infinite; }
    @keyframes calPulse{
      0%, 100%{ box-shadow:0 0 0 0 rgba(62,74,44,.35); }
      50%{ box-shadow:0 0 0 9px rgba(62,74,44,0); }
    }
  }

  /* ---------- CONFIRMATION ---------- */
  .confirmation{
    background:var(--white); border:1px solid var(--gold); border-radius:var(--radius);
    padding:46px clamp(20px,4vw,54px); text-align:center;
  }
  .confirmation svg.mark-small{
    width:52px; height:52px; color:var(--gold); margin:0 auto 16px;
    border-radius:50%; box-shadow:0 0 0 8px var(--olive-pale);
  }
  .confirmation h2{ font-size:1.35rem; margin:0 0 14px; }
  .confirmation p{ max-width:52ch; margin:0 auto 18px; color:var(--ink-soft); }

  @media (prefers-reduced-motion: no-preference){
    .confirmation.reveal{
      animation:confirmRise .7s cubic-bezier(.2,.8,.3,1.15) both;
    }
    @keyframes confirmRise{
      0%{ opacity:0; transform:translateY(22px) scale(.97); }
      100%{ opacity:1; transform:translateY(0) scale(1); }
    }
    .confirmation.reveal svg.mark-small path{
      stroke-dasharray:1; stroke-dashoffset:1;
      animation:confirmDraw .6s .35s ease forwards;
    }
    /* la coche se trace une fois l'anneau bouclé */
    .confirmation.reveal svg.mark-small path + path{
      animation-duration:.35s; animation-delay:.8s;
    }
    .confirmation.reveal svg.mark-small{
      animation:confirmRing .6s .1s cubic-bezier(.2,.8,.3,1.4) both;
    }
    @keyframes confirmDraw{ to{ stroke-dashoffset:0; } }
    @keyframes confirmRing{
      0%{ opacity:0; transform:scale(.5); box-shadow:0 0 0 0 var(--olive-pale); }
      100%{ opacity:1; transform:scale(1); box-shadow:0 0 0 8px var(--olive-pale); }
    }
    .confirmation.reveal .btn-row .btn{
      animation:confirmRise .6s .45s cubic-bezier(.2,.8,.3,1.15) both;
    }
  }
  /* ---------- FOUNDER'S NOTE (on the confirmation screen) ---------- */
  .founder-note{
    display:flex; align-items:flex-start; gap:24px; text-align:left;
    background:var(--olive-dark); color:var(--cream);
    border-radius:var(--radius); padding:26px 28px;
    margin:28px 0; overflow:hidden;
  }
  /* Thierry-2.png is a full seated portrait - a tall frame keeps the whole
     posture (not just a cropped-in face), scaling to match the frame's
     height so essentially none of the sitting pose is cropped away. */
  .founder-note-photo{
    width:132px; height:176px; flex:none; object-fit:cover; object-position:center;
    border-radius:14px; border:2px solid var(--gold);
  }
  .founder-note-slogan{
    margin:0 0 8px; font-family:'Fraunces', serif; font-style:italic; font-weight:600;
    font-size:1.05rem; letter-spacing:.03em; color:var(--gold);
  }
  .founder-note-quote{
    margin:0 0 10px !important; color:var(--cream) !important; max-width:none !important;
    font-size:.94rem; line-height:1.55;
  }
  .founder-note-signature{
    margin:0 !important; font-size:.82rem; color:rgba(247,241,227,.7) !important;
  }
  @media (max-width:560px){
    .founder-note{ flex-direction:column; text-align:center; padding:24px 20px; }
  }

  .confirmation-note{ margin-top:26px !important; font-size:.84rem; }
  .wear-note{
    display:inline-flex; align-items:center; gap:10px; text-align:left;
    background:var(--olive-pale); border-radius:var(--radius); padding:12px 18px;
    font-size:.86rem; color:var(--olive-dark); margin:8px auto 22px; max-width:52ch;
  }
  .wear-note svg{ width:22px; height:22px; flex:none; stroke:var(--olive); }

  /* ---------- FOOTER ---------- */
  footer{
    border-top:1px solid rgba(185,148,92,0.4); padding:30px 0 44px;
    display:flex; flex-wrap:wrap; gap:22px; justify-content:space-between; align-items:center;
  }
  .contact-item{ display:flex; align-items:center; gap:10px; font-size:.83rem; color:var(--ink-soft); }
  .contact-item .badge{
    width:30px; height:30px; border-radius:50%; background:var(--olive);
    display:flex; align-items:center; justify-content:center; flex:none;
  }
  .contact-item .badge svg{ width:14px; height:14px; stroke:var(--cream); }
  .copy-btn{
    display:inline-flex; align-items:center; justify-content:center; flex:none;
    width:26px; height:26px; padding:0; margin:0;
    background:transparent; border:1px solid rgba(46,56,33,.28); border-radius:var(--radius);
    color:var(--ink-soft); cursor:pointer;
    transition:background-color .18s ease, color .18s ease, border-color .18s ease;
  }
  .copy-btn:hover, .copy-btn:focus-visible{ color:var(--olive); border-color:var(--olive); background:var(--olive-pale); }
  .copy-btn svg{ width:13px; height:13px; }
  .copy-btn .ci-check{ display:none; }
  .copy-btn.copied{ color:var(--olive); border-color:var(--olive); }
  .copy-btn.copied .ci-copy{ display:none; }
  .copy-btn.copied .ci-check{ display:block; }

  @media (max-width: 800px){
    .hero{ grid-template-columns:1fr; padding-top:20px; }
    .hero-art{ order:2; margin:0 auto 8px; }
    .field-grid{ grid-template-columns:1fr; }
    .form-card{ padding:30px 18px; }
    footer{ flex-direction:column; align-items:flex-start; }
    .btn-row{ flex-direction:column; }
    button.btn-outline.btn{ width:100%; justify-content:center; }
    /* stacks "Partager" + "Copier le lien" full-width instead of squeezing
       them onto one row and wrapping a button label to 2 lines */
    .invite-actions{ flex-direction:column; align-items:stretch; }
    .invite-actions .btn{ width:100%; }
    .invite-menu{ position:static; width:100%; max-width:none; margin-top:10px; }
  }
  /* Téléphone : la colonne du numéro d'étape (52 px + 22 px d'écart) et les
     marges empilées ne laissaient que ~215 px aux cases du formulaire. Le
     numéro passe au-dessus du titre et le contenu reprend toute la largeur. */
  @media (max-width: 560px){
    .canvas{ padding:0 12px; }
    .form-card{ padding:26px 14px; }
    .form-card::before{ inset:5px; }
    .step{ grid-template-columns:1fr; column-gap:0; }
    .step-line{ display:none; }
    .step-marker{ width:36px; height:36px; font-size:.85rem; margin-bottom:12px; }
    .step h3{ margin:0 0 16px; }
    .radio-option{ padding-left:12px; padding-right:12px; }
    .radio-option .opt-desc{ text-wrap:pretty; }
    /* Paiement en plusieurs fois : bloc « coût » et échéancier resserrés,
       « Chèque 1 / 9 » et les montants ne se coupent plus en deux lignes. */
    .deposit-box{ padding:14px 14px; }
    .echeancier table{ font-size:.8rem; }
    .echeancier th{ font-size:.62rem; letter-spacing:.03em; padding:0 6px 8px; }
    .echeancier td{ padding:9px 6px; }
    .echeancier td:first-child, .echeancier td:last-child{ white-space:nowrap; }
    .echeancier td .sub{ white-space:normal; font-size:.72rem; }
    .echeancier th:last-child, .echeancier td:last-child{ padding-right:2px; }
  }
  /* The confirmation card nests 4 levels of padding (canvas → form-card →
     confirmation → invite-box), which leaves very little width once the
     viewport itself is narrow - short "Partager" instead of "Partager
     l'invitation" keeps the button to one line even in that tight space. */
  @media (max-width: 460px){
    .btn-label-extra{ display:none; }
  }
