/* 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; }

:root {
  --font-sans: "Manrope", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --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;
  --device-shadow: 0 24px 60px rgba(27, 47, 41, 0.14);
  --phone-shadow: 0 22px 40px rgba(19, 35, 31, 0.23);
  --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; }
.brand-light img { filter: brightness(0) invert(1); }
.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); }
.showcase-button-light { background: var(--background); color: var(--primary); border-color: var(--background); }
.showcase-button-light:hover { background: var(--paper); }
.opening { padding-top: 40px; text-align: center; }
.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; }
.opening .eyebrow { justify-content: center; }
.opening h1 { font-size: 76px; line-height: .99; max-width: 850px; margin-inline: auto; }
.opening h1 em { color: var(--primary); font-weight: 400; }
.opening h1 br { display: none; }
@media (min-width: 640px) { .opening h1 br { display: block; } }
.opening-copy { max-width: 580px; font-size: 16px; line-height: 1.8; margin: 24px auto 26px; color: var(--muted-foreground); }
.opening-visual { position: relative; padding: 0 66px 10px 0; margin: 56px auto 0; width: min(1080px, 100%); text-align: left; }
.opening-visual::before { content: ""; position: absolute; z-index: -1; width: 112%; height: 84%; left: -6%; bottom: -16px; background: var(--secondary); border-radius: 50% 50% 0 0 / 70% 70% 0 0; }
.browser-frame { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: var(--device-shadow); }
.browser-bar { height: 30px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; padding: 0 12px; background: var(--paper); border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 4px; }
.browser-dots i { width: 5px; height: 5px; border: 1px solid var(--border); border-radius: 50%; }
.browser-address { justify-self: center; display: flex; align-items: center; gap: 5px; font-size: 8px; color: var(--muted-foreground); }
.browser-address svg { width: 8px; height: 8px; }
.browser-frame > img { width: 100%; height: auto; }
.phone-frame { position: relative; background: var(--navy); border: 5px solid var(--navy); border-radius: 27px; padding: 3px; overflow: hidden; box-shadow: var(--phone-shadow); }
.phone-frame img { border-radius: 18px; width: 100%; height: auto; }
.phone-speaker { position: absolute; z-index: 1; top: 5px; left: 34%; width: 32%; height: 8px; background: var(--navy); border-radius: 0 0 8px 8px; }
.opening-phone { position: absolute; right: 0; width: 21%; bottom: -30px; transform: rotate(3deg); }
.section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
h2 { font-size: 54px; line-height: 1.08; }
.section-number { color: var(--brass); font-size: 11px; padding-bottom: 8px; }
.everything { padding-top: 130px; padding-bottom: 100px; }
.archive-block { display: grid; grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.archive-icon { width: 76px; height: 76px; border: 1px solid var(--border); display: grid; place-items: center; border-radius: 50%; color: var(--primary); }
.archive-icon svg { width: 28px; height: 28px; stroke-width: 1; }
h3 { font-size: 34px; line-height: 1.15; }
.body-copy { color: var(--muted-foreground); font-size: 14px; line-height: 1.9; }
.product-row { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 70px; align-items: center; margin-top: 84px; }
.product-row.reverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr); }
.product-row.reverse .product-text { order: 2; }
.product-text h3 { font-size: 40px; margin-bottom: 20px; }
.product-text .eyebrow { margin-bottom: 18px; }
.product-visual { min-width: 0; transform: translateY(var(--parallax-y, 0px)); }
.intelligence { position: relative; background: var(--primary); color: var(--primary-foreground); padding: 98px 0 105px; border-radius: 0 120px 0 0; }
.intelligence .container { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 100px; align-items: center; }
.intelligence .eyebrow { color: var(--green-soft); }
.intelligence h2 { max-width: 500px; }
.intelligence-copy { font-size: 17px; line-height: 1.9; margin-top: 28px; max-width: 640px; color: var(--primary-foreground); }
.intelligence-conclusion { font-family: var(--font-display); font-size: 32px; font-style: italic; margin-top: 32px; color: var(--primary-foreground); }
.intelligence-phone { width: 215px; margin-inline: auto; transform: rotate(5deg) translateY(var(--parallax-y, 0px)); }
.modules { padding: 108px 0 104px; }
.modules h2 { text-align: center; }
.modules .eyebrow { justify-content: center; }
.module-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 50px; border-top: 1px solid var(--border); }
.module { padding: 34px 10px; text-align: center; border-bottom: 1px solid var(--border); }
.module svg { width: 28px; height: 28px; stroke-width: 1.25; color: var(--primary); margin: 0 auto 18px; }
.module p { font-size: 12px; font-weight: 600; line-height: 1.6; }
.legacy { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 0; }
.legacy .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.legacy h2 { max-width: 530px; }
.legacy-copy { font-size: 23px; line-height: 1.6; font-family: var(--font-display); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-top: 84px; padding-bottom: 92px; }
.service { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 22px; }
.service > svg { width: 27px; height: 27px; stroke-width: 1.2; color: var(--brass); margin-top: 7px; }
.service h3 { margin-bottom: 15px; }
.final-call { background: var(--primary); color: var(--primary-foreground); padding: 73px 0 77px; border-radius: 120px 0 0 0; text-align: center; }
.final-call h2 { max-width: 620px; margin: 0 auto 32px; font-size: 62px; }
.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; }
.circuit-line { position: absolute; inset: 450px 0 auto; width: 100%; height: calc(100% - 650px); pointer-events: none; z-index: -1; color: var(--brass); opacity: .12; }
.circuit-line path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--circuit-progress, 0); }
.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)); } .opening-visual { width: 1180px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .opening h1 { font-size: 64px; }
  .product-row, .product-row.reverse { gap: 35px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
  .intelligence .container { gap: 48px; }
  .archive-block { grid-template-columns: 76px 1fr 1fr; gap: 20px; }
  h2 { font-size: 46px; }
  .product-text h3 { font-size: 34px; }
  .services { gap: 45px; }
}
@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; }
  .opening { padding-top: 35px; }
  .opening h1 { font-size: 48px; line-height: 1.03; }
  .opening-copy { font-size: 14px; line-height: 1.85; margin-top: 24px; }
  .opening .eyebrow { font-size: 9px; margin-bottom: 23px; }
  .opening-visual { padding-right: 29px; margin-top: 42px; padding-bottom: 10px; }
  .browser-bar { height: 20px; padding: 0 7px; }
  .browser-address { font-size: 5px; }
  .browser-address svg { width: 6px; height: 6px; }
  .browser-dots { gap: 2px; }
  .browser-dots i { width: 3px; height: 3px; }
  .opening-phone { width: 26%; bottom: -20px; }
  .phone-frame { border-width: 3px; border-radius: 17px; padding: 1px; }
  .phone-frame img { border-radius: 12px; }
  .phone-speaker { height: 5px; top: 2px; }
  .everything { padding-top: 87px; padding-bottom: 64px; }
  h2 { font-size: 40px; }
  .section-number { display: none; }
  .archive-block { grid-template-columns: 48px minmax(0,1fr); gap: 18px; margin-top: 28px; padding: 28px 0; }
  .archive-icon { width: 45px; height: 45px; }
  .archive-icon svg { width: 23px; }
  .archive-block h3 { font-size: 29px; }
  .archive-block .body-copy { grid-column: 2; }
  .body-copy { font-size: 13px; }
  .product-row, .product-row.reverse { grid-template-columns: minmax(0,1fr); gap: 27px; margin-top: 46px; }
  .product-row.reverse .product-text { order: 0; }
  .product-text h3 { font-size: 34px; margin-bottom: 14px; }
  .product-text .eyebrow { margin-bottom: 13px; }
  .intelligence { border-top-right-radius: 65px; padding: 64px 0; }
  .intelligence .container { grid-template-columns: minmax(0,1fr); gap: 42px; }
  .intelligence-copy { font-size: 15px; line-height: 1.9; margin-top: 24px; }
  .intelligence-conclusion { font-size: 29px; }
  .intelligence-phone { width: 200px; }
  .modules { padding: 66px 0; }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 30px; }
  .module { padding: 26px 6px; }
  .module p { font-size: 12px; }
  .legacy { padding: 55px 0; }
  .legacy .container { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .legacy-copy { font-size: 24px; }
  .services { grid-template-columns: minmax(0,1fr); gap: 38px; padding-top: 54px; padding-bottom: 58px; }
  .service { gap: 14px; }
  .service h3 { font-size: 32px; }
  .final-call { border-top-left-radius: 65px; padding: 58px 0; }
  .final-call h2 { font-size: 43px; margin-bottom: 29px; }
  .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; }
  .circuit-line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
  .product-visual { transform: none; }
  .intelligence-phone { transform: rotate(5deg); }
  .circuit-line path { stroke-dashoffset: 0; }
}

/* 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: 54px; line-height: 1.08; margin-bottom: 36px; }
.demande .eyebrow { margin-bottom: 20px; }
.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: 30px; line-height: 1.35; margin-bottom: 36px; }
.demande-retour { display: inline-block; }
@media (max-width: 600px) {
  .demande { padding-bottom: 64px; }
  .demande h1 { font-size: 40px; margin-bottom: 28px; }
  .demande-confirmation { font-size: 25px; }
}
