/* ==========================================================================
   Page publique /odesa. Se charge APRES home.css, tech.css et doc.css, dont
   elle reprend l'en-tete, l'ouverture (tk-hero), le sommaire (tk-plan), les
   sections (tk), les duos texte + capture (dc-duo) et la loupe.
   Ici : la conversation de l'ouverture, les cartes des cas d'usage, les
   garanties sur les donnees personnelles. Le mauve est celui d'ODESA dans
   le tableau de bord.
   ========================================================================== */

:root {
  --odesa: #7c3aed;
  --odesa-clair: #ede4ff;
  --odesa-pale: #f7f3ff;
}

/* --- Ouverture ------------------------------------------------------------ */

.os-hero { padding: 64px 0 72px; }
.os-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.os-hero h1 { max-width: 18ch; }
.os-hero .hero-actions { margin-top: 30px; }
.os-btn-ligne { color: #eef5e8; box-shadow: inset 0 0 0 1.5px rgba(238, 245, 232, 0.55); background: transparent; }
.os-btn-ligne:hover { background: rgba(255, 255, 255, 0.08); }

/* La conversation : une illustration, pas une capture. */
.os-chat {
  margin: 0; padding: 0 0 18px; border-radius: 18px; overflow: hidden;
  background: #ffffff; color: var(--encre);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.6);
}
.os-chat-tete { display: flex; align-items: center; gap: 7px; padding: 12px 18px; background: var(--brume); border-bottom: 1px solid var(--bord); font-size: 0.8125rem; font-weight: 700; color: var(--doux); }
.os-chat-tete i { width: 10px; height: 10px; border-radius: 50%; background: #d5ddcf; }
.os-chat-tete span { margin-left: 8px; }
.os-bulle { margin: 16px 18px 0; padding: 14px 16px; border-radius: 14px; font-size: 0.9375rem; line-height: 1.5; }
.os-bulle b { display: block; margin-bottom: 4px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.os-bulle p { margin: 0; }
.os-bulle--vous { margin-left: 48px; background: #e9f6dc; }
.os-bulle--vous b { color: var(--vert-fonce); }
.os-bulle--ia { margin-right: 48px; background: var(--odesa-pale); border: 1px solid var(--odesa-clair); }
.os-bulle--ia b { color: var(--odesa); }
.os-faits { margin: 0; padding: 0; list-style: none; }
.os-faits li { position: relative; margin: 4px 0; padding-left: 24px; }
.os-faits li::before {
  content: ""; position: absolute; left: 2px; top: 0.3em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--odesa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.os-faits em { font-style: normal; font-weight: 700; }
.os-chat-note { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--odesa-clair); color: var(--doux); }
.os-chat figcaption { margin: 14px 18px 0; font-size: 0.8125rem; line-height: 1.45; color: var(--doux); }

/* --- Cas d'usage ---------------------------------------------------------- */

.os-cas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 40px 0 8px; }
.os-cas article { display: flex; flex-direction: column; padding: 26px; border-radius: 16px; background: var(--papier); border: 1px solid var(--bord); }
.os-cas svg { width: 34px; height: 34px; fill: none; stroke: var(--odesa); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.os-cas h3 { margin: 14px 0 0; font-size: 1.125rem; }
.os-cas blockquote { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--odesa); border-radius: 0 10px 10px 0; background: var(--odesa-pale); font-size: 0.9375rem; font-style: italic; line-height: 1.5; color: var(--encre); }
.os-cas p { margin: 12px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--doux); }

/* --- Garanties ------------------------------------------------------------ */

.os-garanties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 40px 0 8px; }
.os-garanties article { padding: 22px 24px; border-radius: 14px; background: var(--papier); border-top: 3px solid var(--vert); }
.os-garanties h3 { margin: 0; font-size: 1.0625rem; }
.os-garanties p { margin: 8px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--doux); }

.os-h3-table { margin-top: 56px; }
.os-table tbody th { width: 26%; }
.os-table td:nth-child(2) { width: 30%; }

/* --- Ecrans etroits ------------------------------------------------------- */

@media (max-width: 1100px) {
  .os-hero-grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .os-cas, .os-garanties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dc-duo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dc-duo--inverse > :first-child { order: 0; }
}
@media (max-width: 680px) {
  .os-cas, .os-garanties { grid-template-columns: minmax(0, 1fr); }
  .os-bulle--vous { margin-left: 18px; }
  .os-bulle--ia { margin-right: 18px; }
  .os-table, .os-table tbody, .os-table tr, .os-table th, .os-table td { display: block; width: auto !important; }
  .os-table thead { display: none; }
  .os-table tbody th { padding-bottom: 4px; }
  .os-table td { border-top: 0; padding-top: 4px; }
}

/* doc.css elargit l'en-tete a 1400 px pour son arborescence : ici, une seule
   largeur pour toute la page, celle de l'accueil. */
.tete .cadre, .tk-hero .cadre, .appel .cadre, .pied .cadre { max-width: 1180px; }
