/* landing.css — extrait de la source (index.html) le 2026-10-08. Servi sous /assets/. */
  :root {
    --sage-dark: #1a2e26;
    --sage: #2d4a3e;
    --sage-light: #3d5f52;
    --terracotta: #a85d2a;
    --gold: #f0d682;
    --cream: #faf8f5;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html, body { height: 100%; }
  ::selection { background: rgba(240, 214, 130, .35); }

  body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    /* Dégradé non répété + couleur de fond assortie : aucun raccord visible au scroll. */
    background-color: var(--sage-dark);
    background-image: radial-gradient(1200px 800px at 50% -10%, var(--sage-light) 0%, var(--sage) 45%, var(--sage-dark) 100%);
    background-repeat: no-repeat;
    color: var(--cream);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 1.25rem;
    overflow-x: hidden;
  }
  main {
    max-width: 44rem;
    /* Centrage par marges auto : ne rogne jamais le haut quand le contenu
       dépasse la fenêtre (contrairement à align/justify center). */
    margin: auto;
    text-align: center;
    opacity: 0;
    animation: reveal 1.1s cubic-bezier(.22,.61,.36,1) forwards;
  }

  @keyframes reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .logo {
    width: clamp(88px, 18vw, 128px);
    height: auto;
    margin-bottom: 1.75rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,.35));
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }

  h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.05;
  }
  h1 .art { color: var(--gold); }

  .tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--gold);
    margin-top: .85rem;
  }

  .rule {
    width: 4.5rem;
    height: 2px;
    background: var(--terracotta);
    margin: 1.6rem auto;
    border: none;
    border-radius: 2px;
  }

  .desc {
    font-size: clamp(.95rem, 2.4vw, 1.1rem);
    line-height: 1.8;
    color: rgba(250, 248, 245, .88);
    max-width: 38rem;
    margin: 0 auto;
  }

  .badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-top: 1.9rem;
  }
  .badges li {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .55rem 1rem;
    border: 1px solid rgba(240, 214, 130, .35);
    border-radius: 999px;
    color: var(--gold);
    background: rgba(240, 214, 130, .07);
    transition: background .2s, border-color .2s;
  }
  .badges li:hover { background: rgba(240, 214, 130, .12); border-color: rgba(240, 214, 130, .55); }

  /* ─── Mini-galerie (aperçu du book) ─── */
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-top: 2rem;
  }
  @media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
  .gallery .thumb {
    padding: 0; border: 1px solid rgba(240, 214, 130, .18); border-radius: 12px;
    overflow: hidden; background: rgba(0, 0, 0, .18); cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s;
  }
  .gallery .thumb:hover { transform: translateY(-2px); border-color: rgba(240, 214, 130, .5); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
  .gallery .thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  .gallery .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .gallery-note { margin-top: .9rem; font-size: .8rem; color: rgba(250, 248, 245, .55); }

  .book { margin-top: 1.7rem; }
  .book button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.9rem;
    background: var(--terracotta);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(168, 93, 42, .35);
    transition: background .2s, transform .2s, box-shadow .2s;
  }
  .book button:hover { background: #c4783a; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(168, 93, 42, .42); }
  .book button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  .book button svg { width: 1.05em; height: 1.05em; flex: none; }

  .contact { margin-top: 2.4rem; }
  .contact button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.4rem;
    background: none;
    border: 1px solid rgba(240, 214, 130, .45);
    border-radius: 999px;
    color: var(--cream);
    font-family: inherit;
    font-size: .88rem;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
  }
  .contact button:hover { border-color: var(--gold); color: var(--gold); background: rgba(240, 214, 130, .07); }
  .contact button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  .contact button svg { width: 1.05em; height: 1.05em; flex: none; }

  /* ─── Modal catalogue ─── */
  body.modal-open { overflow: hidden; }
  .modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
  .modal[hidden] { display: none; }
  .modal-backdrop { position: absolute; inset: 0; background: rgba(8, 16, 13, .72); backdrop-filter: blur(3px); }
  .modal-card {
    position: relative; width: min(26rem, 100%); max-height: calc(100vh - 2.5rem); overflow-y: auto;
    text-align: center;
    background: linear-gradient(180deg, #23392f, var(--sage-dark));
    border: 1px solid rgba(240, 214, 130, .25); border-radius: 18px;
    padding: 1.9rem 1.6rem 1.7rem; box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    animation: reveal .5s cubic-bezier(.22,.61,.36,1);
  }
  .modal-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; color: var(--cream); font-weight: 700; }
  .modal-sub { font-size: .9rem; color: rgba(250, 248, 245, .7); margin: .45rem 0 1.2rem; }
  .modal-close {
    position: absolute; top: .5rem; right: .9rem; background: none; border: 0;
    color: rgba(250, 248, 245, .55); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: color .2s;
  }
  .modal-close:hover { color: var(--gold); }
  .modal-back {
    position: absolute; top: .5rem; left: .9rem; background: none; border: 0;
    color: rgba(250, 248, 245, .55); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: color .2s;
  }
  .modal-back:hover { color: var(--gold); }
  .modal-back[hidden] { display: none; }

  .catalog-form { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
  .form-row { display: flex; gap: .5rem; width: min(21rem, 82vw); }
  .form-row input[type=tel] { flex: 1; width: auto; min-width: 0; }
  #catalogCcCustom {
    flex: 0 0 auto; width: 4.8rem; padding: .85rem .3rem; border-radius: 999px;
    border: 1px solid rgba(240, 214, 130, .4); background: rgba(255, 255, 255, .07);
    color: var(--cream); font-size: .9rem; outline: none; text-align: center;
  }
  #catalogCcCustom:focus { border-color: var(--gold); }
  .catalog-form select {
    padding: .85rem .6rem; border-radius: 999px; border: 1px solid rgba(240, 214, 130, .4);
    background: rgba(255, 255, 255, .07); color: var(--cream); font-size: .9rem; outline: none;
  }
  .catalog-form select option { color: #1a2e26; }
  .catalog-form input[type=email], .catalog-form input[type=tel], .catalog-form .field {
    width: min(21rem, 82vw); padding: .85rem 1.2rem; border-radius: 999px;
    border: 1px solid rgba(240, 214, 130, .4); background: rgba(255, 255, 255, .07);
    color: var(--cream); font-size: .95rem; outline: none; text-align: center;
  }
  .form-row .field { flex: 1; width: auto; min-width: 0; }
  .catalog-form input[type=email]::placeholder, .catalog-form input[type=tel]::placeholder,
  .catalog-form .field::placeholder { color: rgba(250, 248, 245, .45); }
  .catalog-form input[type=email]:focus, .catalog-form input[type=tel]:focus,
  .catalog-form .field:focus { border-color: var(--gold); }
  #catalogHp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .catalog-form button[type=submit], .catalog-form .next {
    padding: .85rem 1.8rem; background: var(--terracotta); color: #fff; border: 0;
    border-radius: 999px; font-family: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; transition: background .2s;
  }
  .catalog-form button[type=submit]:hover, .catalog-form .next:hover { background: #c4783a; }
  .catalog-form button[type=submit]:focus-visible, .catalog-form .next:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  /* ─── Notification (toast) ─── */
  .toast {
    position: fixed; left: 50%; bottom: 1.25rem; z-index: 60;
    display: flex; align-items: center; gap: .55rem;
    max-width: min(92vw, 30rem);
    padding: .85rem 1.15rem;
    background: linear-gradient(180deg, #23392f, var(--sage-dark));
    border: 1px solid rgba(240, 214, 130, .35); border-radius: 14px;
    color: var(--cream); font-size: .9rem; line-height: 1.5;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    opacity: 0; transform: translateX(-50%) translateY(8px);
    transition: opacity .25s, transform .25s;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  .toast .tick { color: var(--gold); font-weight: 700; }
  .form-msg { font-size: .85rem; color: var(--gold); min-height: 1.2em; max-width: 24rem; }

  .step-label {
    font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(250, 248, 245, .55); margin: .1rem 0 0;
  }
  .lang-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }

  /* ─── Onboarding du modal (3 étapes) ─── */
  .steps { display: flex; justify-content: center; gap: .4rem; margin: .1rem 0 1.1rem; }
  .steps span { width: 6px; height: 6px; border-radius: 50%; background: rgba(240, 214, 130, .25); transition: background .2s, transform .2s; }
  .steps span.on { background: var(--gold); transform: scale(1.15); }
  .step { display: flex; flex-direction: column; align-items: center; gap: .7rem; width: 100%; }
  .step[hidden] { display: none; }
  .lang-opt {
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 214, 130, .4);
    background: rgba(255, 255, 255, .07); color: var(--cream); font-size: .85rem;
    cursor: pointer; transition: border-color .2s, background .2s, color .2s;
  }
  .lang-opt:hover { border-color: var(--gold); }
  .lang-opt[aria-pressed="true"] { background: rgba(240, 214, 130, .16); border-color: var(--gold); color: var(--gold); font-weight: 600; }

  /* ─── Sélecteur de langue (sobre, en haut à droite) ─── */
  .langbar {
    position: fixed; top: 12px; right: 14px; z-index: 30;
    display: flex; align-items: center; gap: 1px;
    font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(26, 46, 38, .5); border-radius: 999px; padding: 4px 6px;
    backdrop-filter: blur(3px); opacity: .6; transition: opacity .2s;
  }
  .langbar:hover { opacity: 1; }
  .langbar a {
    display: block; padding: 3px 8px; border-radius: 999px;
    color: rgba(250, 248, 245, .7); text-decoration: none; cursor: pointer; transition: color .2s;
  }
  .langbar a:hover { color: var(--cream); }
  .langbar a.on { color: var(--gold); font-weight: 700; }

  /* ─── Pied de page (dans le flux : ne recouvre jamais le contenu) ─── */
  footer {
    padding: 2.4rem 1rem 1.4rem;
    text-align: center;
    font-size: .8rem;
    letter-spacing: .02em;
    color: rgba(250, 248, 245, .5);
  }
