/* La vitrine publique (spec docs/specs/2026-10-08-vitrine-design.md, section 2).

   Feuille autonome : la vitrine n'etend pas base.html et ne charge ni app.css
   ni themes.css. Elle est le port de la maquette Lovable du 08/10 (projet
   9ee559e6, commit 2a184c5, src/styles.css) : memes classes, memes mesures,
   memes couleurs. Les trois blocs ajoutes au port sont en tete : les polices
   hebergees ici (la politique de securite de contenu n'admet que font-src
   'self'), la remise a zero que Tailwind posait pour la maquette, et le socle
   du bouton que ses utilitaires portaient. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.c47ff12887a3.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-italique-latin.3e2c4175a96d.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin.938c6e8019b6.woff2") format("woff2");
}

/* Remise a zero : ce que le socle de Tailwind donnait a la maquette. */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-size: inherit; }
img, svg { display: block; vertical-align: middle; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }
/* `hidden` l'emporte sur toute règle d'affichage : la vue inactive et le bouton
   d'en-tête de l'autre vue (spec du 30/10, 4.2 et 4.3). */
[hidden] { display: none !important; }

:root {
  --font-sans: "Manrope", sans-serif;
  /* Les titres des pages publiques se composent dans la famille du texte (retouche du 21/11) ; les guides
     reposent la police à empattements dans guides.css. */
  --font-display: var(--font-sans);
  --background: #f6f1e7;
  --foreground: #2a251d;
  --primary: #254f43;
  --primary-foreground: #fcf9f2;
  --secondary: #eee8db;
  --muted-foreground: #686053;
  --paper: #fefcf9;
  --border: #d7cebd;
  --brass: #8d6c28;
  --navy: #212a37;
  --green-soft: #a9c1b5;
  --danger: #a04034;
  --device-border: #403d37;
  --radius: 0.375rem;
}
/* Les couleurs de la maquette sont en oklch. Safari avant 15.4 l'ignore : un
   jeton oklch y rendrait fond transparent et boutons sans bord. Les valeurs
   hexadécimales ci-dessus en sont la conversion, les valeurs d'origine ne
   s'appliquent que là où le navigateur les comprend. */
@supports (color: oklch(0 0 0)) {
  :root {
    --background: oklch(0.959 0.014 85);
    --foreground: oklch(0.268 0.017 80);
    --primary: oklch(0.394 0.052 172);
    --primary-foreground: oklch(0.982 0.01 85);
    --secondary: oklch(0.932 0.019 85);
    --muted-foreground: oklch(0.492 0.023 80);
    --paper: oklch(0.992 0.004 85);
    --border: oklch(0.854 0.025 85);
    --brass: oklch(0.55 0.094 82);
    --navy: oklch(0.282 0.028 257);
    --green-soft: oklch(0.79 0.031 164);
    --danger: oklch(0.5 0.13 30);
    --device-border: oklch(0.36 0.011 80);
  }
}
* { border-color: var(--border); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; letter-spacing: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; }
.picto { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* `hidden` d'abord : Safari avant 16 ignore `clip`, et le fond en arc de
   l'ouverture déborde alors d'un pixel au téléphone. */
.page { position: relative; overflow: hidden; overflow: clip; }
.container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; position: relative; }
.site-header { height: 132px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.brand { display: block; width: 100px; height: 100px; flex-shrink: 0; position: relative; overflow: hidden; }
.brand img { position: absolute; width: 185%; height: 185%; max-width: none; left: -42.5%; top: -42.5%; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 36px; }
.login-link { font-size: 13px; font-weight: 600; padding-block: 12px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.login-link:hover { border-color: var(--brass); }
/* Socle du bouton : les utilitaires que la maquette tenait de son composant. */
.showcase-button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; cursor: pointer; line-height: 1.25rem; }
.showcase-button svg { width: 16px; height: 16px; flex-shrink: 0; pointer-events: none; }
.showcase-button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.showcase-button { min-height: 52px; height: auto; padding: 16px 24px; border-radius: 4px; background: var(--primary); color: var(--primary-foreground); font-family: var(--font-sans); font-size: 13px; font-weight: 600; gap: 24px; border: 1px solid var(--primary); box-shadow: none; transition: background .2s, transform .2s; }
.showcase-button:hover { background: var(--navy); transform: translateY(-2px); }
.eyebrow { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0 !important; color: var(--brass); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }

h2 { font-size: 54px; line-height: 1.08; }
h3 { font-size: 34px; line-height: 1.15; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-top: 32px; padding-bottom: 32px; }
.site-footer .brand { width: 90px; height: 90px; }
/* Ajout au port : le pied porte deux liens, la maquette n'en avait qu'un. */
.footer-links { display: flex; align-items: center; gap: 36px; }
.copyright { justify-self: end; font-size: 10px; color: var(--muted-foreground); text-align: right; }
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform .8s; }
.will-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 1600px) { .container { width: min(1320px, calc(100% - 160px)); } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  h2 { font-size: 46px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .site-header { height: 100px; gap: 10px; }
  .brand { width: 76px; height: 76px; }
  .header-actions { gap: 14px; }
  .site-header .showcase-button { min-height: 42px; padding: 10px 12px; font-size: 10px; max-width: 152px; white-space: normal; gap: 8px; }
  .site-header .showcase-button svg { width: 13px; }
  .login-link { font-size: 10px; }
  h2 { font-size: 40px; }
  .showcase-button { font-size: 12px; padding: 15px 20px; gap: 18px; }
  .site-footer { grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding-block: 24px; }
  .site-footer .brand { width: 74px; height: 74px; }
  .site-footer .login-link { font-size: 12px; }
  .footer-links { gap: 18px; }
  .copyright { grid-column: 1 / -1; justify-self: start; font-size: 10px; text-align: left; }
}
/* Imprimée sans avoir été défilée, la page garderait ses blocs masqués. */
@media print {
  .will-reveal { opacity: 1; transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* Ajouts au port : la planche de pictogrammes, hors du flux, et la page de
   la demande de demonstration (spec section 3), dans le meme habit. */
.symboles { position: absolute; width: 0; height: 0; overflow: hidden; }
.demande { width: min(560px, calc(100% - 40px)); margin-inline: auto; padding: 24px 0 96px; }
.demande h1 { font-size: 40px; font-weight: 600; line-height: 1.15; margin-bottom: 36px; }
.demande .eyebrow { margin-bottom: 20px; font-size: 13px; text-transform: none; }
.champ { display: grid; gap: 8px; margin-bottom: 22px; }
.champ label { font-size: 12px; font-weight: 600; }
.champ input, .champ textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--border); border-radius: 4px; font-size: 16px; line-height: 1.5; }
.champ textarea { min-height: 132px; resize: vertical; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.champ .erreur, .demande .erreur { color: var(--danger); font-size: 13px; font-weight: 600; }
.demande .erreur { margin-bottom: 22px; }
.champ .erreur { margin: 0; }
.leurre { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demande .showcase-button { margin-top: 10px; }
.demande-confirmation { font-family: var(--font-display); font-size: 22px; line-height: 1.45; margin-bottom: 36px; }
.demande-retour { display: inline-block; }
@media (max-width: 600px) {
  .demande { padding-bottom: 64px; }
  .demande h1 { font-size: 30px; margin-bottom: 28px; }
  .demande-confirmation { font-size: 19px; }
}

/* Guides d'achat sur la vitrine (spec docs/specs/2026-10-29-guides-d-achat-design.md, 4.4 et 4.5) : la
   carte d'un guide, reprise par l'index des guides et par la page des collectionneurs (dont la section
   vit dans vitrine-scenes.css). Les cartes gardent la charte de la vitrine ; seul leur filet de tête
   prend l'accent de la marque, posé par la feuille marque.css du guide (--guide-accent sur
   .guide-carte[data-guide]). */
.guides-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.guide-carte { border-top: 2px solid var(--guide-accent, var(--brass)); background: var(--paper); }
.guide-carte-lien { display: flex; flex-direction: column; gap: 8px; height: 100%; padding-bottom: 22px; color: inherit; text-decoration: none; }
.guide-carte-image { margin: 0 0 10px; }
.guide-carte-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-carte-image figcaption { font-size: 11px; color: var(--muted-foreground); padding: 6px 18px 0; }
.guide-carte-marque, .guide-carte-releve { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted-foreground); padding: 0 18px; }
.guide-carte-nom { font-family: var(--font-display); font-size: 27px; line-height: 1.15; font-weight: 500; padding: 0 18px; overflow-wrap: anywhere; }
.guide-carte-generation { font-size: 13px; color: var(--muted-foreground); padding: 0 18px; }
.guide-carte-accroche { font-size: 14px; line-height: 1.55; padding: 4px 18px 0; flex: 1; }
.guide-carte-releve { margin-top: 6px; }
.guide-carte-lien:hover .guide-carte-nom { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.guides-tous { display: inline-block; margin-top: 28px; }
@media (max-width: 1000px) { .guides-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .guides-cartes { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .guide-carte-nom { font-size: 24px; }
}
.demande-origine { margin: -6px 0 22px; font-size: 14px; color: var(--muted-foreground); }
/* Au téléphone l'en-tête porte trois liens à côté du logo : « Guides » seul y tient */
@media (max-width: 600px) { .masque-etroit { display: none; } }
/* Sous 380 px il ne tient plus : le pied et la section de l'accueil gardent le lien */
@media (max-width: 379px) { .lien-guides-entete { display: none; } }

/* Le téléphone du deck (diapositive 3, `client.html` ; spec du 30/10, 9.1).
   Toutes les mesures sont celles du deck, rapportées à sa largeur de 376 :
   une seule largeur se règle par emplacement, les proportions suivent.
   Jamais incliné, jamais rogné, jamais posé sur l'ordinateur. */
.appareil-telephone { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 376 / 786; margin: 0; }
.telephone-coque { --u: calc(100cqw / 376); position: absolute; inset: 0; padding: calc(4 * var(--u)); border-radius: calc(61 * var(--u)); background: linear-gradient(135deg, #8F9094 0%, #D8D9DC 28%, #85868A 52%, #C7C8CB 78%, #8A8B8F 100%); box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) rgba(10, 20, 16, 0.24); }
.telephone-bord { height: 100%; padding: calc(9 * var(--u)); border-radius: calc(57 * var(--u)); background: #0A0A0B; }
.telephone-ecran { position: relative; height: 100%; overflow: hidden; padding-top: calc(86 * var(--u)); border-radius: calc(48 * var(--u)); background: #F6F1E7; }
.telephone-ecran picture, .telephone-ecran img { display: block; width: 100%; height: 100%; }
.telephone-ecran img { object-fit: cover; object-position: top; border-radius: 0 0 calc(48 * var(--u)) calc(48 * var(--u)); }
.telephone-ilot { position: absolute; top: calc(11 * var(--u)); left: calc(120 * var(--u)); width: calc(110 * var(--u)); height: calc(32 * var(--u)); border-radius: calc(16 * var(--u)); background: #050505; }
.telephone-bouton { position: absolute; width: calc(5 * var(--u)); border-radius: calc(2 * var(--u)); background: linear-gradient(90deg, #7D7E82 0%, #C9CACD 18%, #A4A5A9 50%, #CDCED1 82%, #7A7B7F 100%); }
.telephone-bouton-action { left: calc(-3 * var(--u)); top: calc(150 * var(--u)); height: calc(40 * var(--u)); }
.telephone-bouton-haut { left: calc(-3 * var(--u)); top: calc(222 * var(--u)); height: calc(66 * var(--u)); }
.telephone-bouton-bas { left: calc(-3 * var(--u)); top: calc(302 * var(--u)); height: calc(66 * var(--u)); }
.telephone-bouton-veille { right: calc(-3 * var(--u)); top: calc(250 * var(--u)); height: calc(104 * var(--u)); }

/* L'ordinateur du deck vit dans vitrine-scenes.css : seules les deux pages de la vitrine le montrent. */

/* Le bouton discret des cartes de formule (spec du 30/10, 7.1). */
.showcase-button-discret { background: transparent; color: var(--primary); }

/* La demande d'abonnement (spec du 30/10, 7.3). */
.abonnement-resume { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 8px 0 28px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); }
.abonnement-nom { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.abonnement-prix { font-size: 15px; font-weight: 600; }
.abonnement-note { color: var(--muted-foreground); font-size: 14px; }
.abonnement fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.abonnement legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-option { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--paper); font-size: 14px; cursor: pointer; }
.choix-option input { position: absolute; inset: 0; margin: 0; border: 0; border-radius: inherit; background: transparent; appearance: none; cursor: pointer; }
.choix-option:has(input:checked) { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.choix-option:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
/* La commande d'une maison (plan du paiement en ligne, S4.1) : l'autre voie
   sous les formules, l'adresse suivie du domaine, la case professionnelle. */
.abonnement-autre-voie { display: inline-block; margin-top: 12px; font-size: 14px; }
.champ-adresse { display: flex; min-width: 0; }
.champ-adresse input { flex: 1 1 auto; min-width: 0; border-radius: 4px 0 0 4px; }
.champ-adresse-domaine { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--border); border-left: 0; border-radius: 0 4px 4px 0; color: var(--muted-foreground); font-size: 15px; white-space: nowrap; }
.champ-case .case { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.champ-case .case input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--primary); }
@media (max-width: 420px) { .champ-adresse-domaine { padding: 0 10px; font-size: 14px; } }

/* Le sélecteur de langue de l'en-tête (spec du 30/10, 8). */
.selecteur-langue { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
.selecteur-langue-lien { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: var(--foreground); text-decoration: none; border-bottom: 1px solid transparent; }
.selecteur-langue-lien:hover { border-bottom-color: currentColor; }
.selecteur-langue-courante { color: var(--primary); }

/* L'en-tête par zones : le logo, les onglets des deux pages (spec du 17/11), la langue, les actions.
   Sous 1 000 px, la vue et la langue passent sur une seconde ligne ; constat
   de la recette du 30/10 : « FR · EN » se posait sur le logo à 320 px. */
.site-header { grid-template-areas: "logo actions"; }
.site-header:has(.selecteur-langue) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo langue actions"; }
.site-header:has(.vt-onglets) { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo vue langue actions"; }
.site-header > .brand { grid-area: logo; }
.site-header > .vt-onglets { grid-area: vue; justify-self: center; }
.site-header > .selecteur-langue { grid-area: langue; }
.site-header > .header-actions { grid-area: actions; }
@media (max-width: 1000px) {
  .site-header:has(.selecteur-langue), .site-header:has(.vt-onglets) { height: auto; padding-block: 12px; row-gap: 8px; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo . actions" "vue vue langue"; }
  .site-header:has(.selecteur-langue):not(:has(.vt-onglets)) { grid-template-areas: "logo . actions" ". . langue"; }
  .site-header > .vt-onglets { justify-self: start; }
}
@media (max-width: 600px) {
  /* Les onglets prennent toute la ligne : « FR · EN » passe dessous. */
  .site-header:has(.vt-onglets) { grid-template-areas: "logo . actions" "vue vue vue" "langue langue langue"; row-gap: 4px; }
  .site-header:has(.vt-onglets) > .vt-onglets, .site-header:has(.vt-onglets) > .selecteur-langue { justify-self: center; }
  .site-footer { grid-template-columns: 74px minmax(0, 1fr); }
  .footer-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
}
