/* voice.okto.it : charte okto.it (pétrole, halos, Comfortaa), couleur produit Soleil, picto onde. */

@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/comfortaa-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/comfortaa-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/opensans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/opensans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --abysse: #062630; --surface: #0A3440; --petrole: #0D4654; --lagune: #17707F;
  --brume: #EAF2F3; --encre: #0B1F26; --encre-2: #33505A; --orange: #FF8A1F;
  --heading: "Comfortaa", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
/* Couleur produit : Soleil */
.c-voice { --c: #FFD45C; }
.name { color: var(--c); }
.logo svg, .foot__brand svg { color: var(--c); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--abysse); color: #FFFFFF; font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: #FFFFFF; color: var(--abysse); }

/* Halos */
.page { position: relative; overflow: hidden; }
.halo { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: drift 20s ease-in-out infinite; }
.halo--b { animation-duration: 26s; animation-direction: reverse; }
.h1 { width: 640px; height: 640px; left: -220px; top: -240px; background: rgba(23, 112, 127, .85); }
.h2 { width: 460px; height: 460px; right: -100px; top: 80px; background: rgba(255, 212, 92, .16); }
.h3 { width: 380px; height: 380px; left: 30%; top: 600px; background: rgba(255, 138, 31, .14); }
@keyframes drift { 50% { transform: translate(80px, -50px) scale(1.2); } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 700 17px/1 var(--heading); text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; filter: none; transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn--orange { background: var(--orange); color: var(--abysse); }
.btn--white { background: #FFFFFF; color: var(--abysse); }
.btn--outline { border: 1.5px solid rgba(255, 255, 255, .35); background: none; color: #FFFFFF; }
.btn--product { background: var(--c); color: var(--abysse); }
.btn--dark { background: var(--abysse); color: #FFFFFF; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* En-tête */
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 24px/1 var(--heading); letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.nav > a:not(.btn) { text-decoration: none; color: rgba(255, 255, 255, .8); }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: #FFFFFF; }

/* Bandeau principal */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 56px 96px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: grid; gap: 26px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; color: rgba(255, 255, 255, .85); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 212, 92, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 212, 92, 0); } }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--c); }
.hero__lead { max-width: 520px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Essai */
.try { flex: 1 1 460px; min-width: 0; display: grid; gap: 16px; padding: 26px; border-radius: 28px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.try__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.try__title { font-size: 24px; letter-spacing: -0.02em; }
.try__hint { font-size: 13px; color: rgba(255, 255, 255, .6); }
.try__out { height: 230px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: var(--abysse); border: 1px solid rgba(255, 255, 255, .06); font-size: 17px; line-height: 1.5; scroll-behavior: smooth; }
.try__empty { margin: auto 0; color: rgba(255, 255, 255, .55); }
.line { color: #FFFFFF; }
.line--interim { color: rgba(255, 255, 255, .6); }
.line--interim::after { content: " ▍"; color: var(--c); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.try__msg { font-size: 14px; color: rgba(255, 255, 255, .7); }
.try__msg--error { color: #FFB4A8; }
.try__bar { display: flex; align-items: center; gap: 16px; }
.meter { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .08s linear; }
.try__time { min-width: 42px; text-align: right; font: 700 15px/1 var(--mono); color: rgba(255, 255, 255, .7); }
.try__note { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .55); }

/* Défilé des usages */
.marquee { overflow: hidden; padding-block: 24px; background: var(--surface); border-block: 1px solid rgba(255, 255, 255, .08); }
.marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; font: 700 24px/1.2 var(--heading); color: rgba(255, 255, 255, .82); animation: marquee 34s linear infinite; }
.marquee__track b { color: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.band { padding-block: 96px; }
.band--light { background: var(--brume); color: var(--encre); }
.band h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
.band__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.band__head p { font-size: 16px; color: rgba(255, 255, 255, .65); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split__text { display: grid; gap: 20px; }
.split__text p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.band--light .split__text p { color: var(--encre-2); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { display: flex; gap: 14px; }
.checks__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: var(--abysse); flex: none; }
.checks__icon svg { width: 16px; height: 16px; }
.checks strong { display: block; font: 700 18px/1.3 var(--heading); }
.checks li > span:last-child { color: rgba(255, 255, 255, .72); font-size: 15px; }
.checks strong { color: #FFFFFF; }

.term { border-radius: 24px; background: var(--encre); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.term__bar { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.term pre { margin: 0; padding: 22px; font: 14px/1.7 var(--mono); color: #EAF2F3; white-space: pre-wrap; overflow-x: auto; }
.term .cmt { color: #6B8A93; }

.soon { display: flex; flex-wrap: wrap; gap: 18px; }
.soon > div { flex: 1 1 280px; min-width: 0; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 28px; border: 1.5px dashed rgba(255, 255, 255, .2); }
.soon strong { font: 700 22px/1.2 var(--heading); color: var(--c); }
.soon span { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .72); }

.foot { border-top: 1px solid rgba(255, 255, 255, .08); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 36px 48px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot__links a { color: rgba(255, 255, 255, .75); }

/* Strates : numéro et sur-titre */
.step { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; margin-right: 6px; border-radius: 999px; background: var(--c); color: var(--abysse); font: 700 13px/1 var(--heading); vertical-align: middle; }
.kicker { font: 700 18px/1 var(--heading); color: var(--c); }
.split--top { align-items: flex-start; }
.band--deep { background: var(--surface); border-block: 1px solid rgba(255, 255, 255, .06); }
.band--deep .try { background: var(--abysse); }
.hero--short { padding-block: 40px 72px; align-items: flex-start; }
.checks--compact { gap: 14px; margin-top: 6px; }

/* Démonstration de conversation */
.demo { align-content: start; }
.demo__setup { display: grid; gap: 14px; transition: opacity .2s; }
.demo__setup[hidden], .demo__recap[hidden] { display: none; }
.demo__recap { font: 700 15px/1.3 var(--heading); color: var(--c); }
.demo__step { display: grid; gap: 8px; }
.demo__step[hidden] { display: none; }
.demo__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: none; color: #FFFFFF; font: 600 14px/1.2 var(--body); cursor: pointer; }
.chip:hover { border-color: rgba(255, 255, 255, .5); }
.chip--on { background: var(--c); border-color: var(--c); color: var(--abysse); }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.role { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); color: #FFFFFF; text-align: left; font: 13px/1.4 var(--body); cursor: pointer; }
.role strong { font: 700 15px/1.2 var(--heading); }
.role span { color: rgba(255, 255, 255, .65); }
.role--on { border-color: var(--c); background: rgba(255, 212, 92, .1); }
.role--on strong { color: var(--c); }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.voice { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); cursor: pointer; }
.voice strong { display: block; font: 700 14px/1.2 var(--heading); }
.voice small { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); }
.voice--on { border-color: var(--c); background: rgba(255, 212, 92, .1); }
.voice__play { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #FFFFFF; cursor: pointer; }
.voice__play svg { width: 14px; height: 14px; }
.voice--on .voice__play { background: var(--c); color: var(--abysse); }
.demo__out { height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .06); font-size: 15px; line-height: 1.5; }
.band--deep .demo__out { background: var(--surface); }
.turn { display: grid; gap: 2px; max-width: 88%; padding: 10px 14px; border-radius: 16px; }
.turn b { font: 700 12px/1.2 var(--heading); letter-spacing: .02em; }
.turn--ia { align-self: flex-start; background: rgba(255, 212, 92, .1); border-bottom-left-radius: 4px; }
.turn--ia b { color: var(--c); }
.turn--vous { align-self: flex-end; background: rgba(255, 255, 255, .08); border-bottom-right-radius: 4px; }
.turn--vous b { color: rgba(255, 255, 255, .7); }
.turn--interim span { color: rgba(255, 255, 255, .65); }
.demo__state { flex: 1; font-size: 14px; color: rgba(255, 255, 255, .7); }
.sheet { display: grid; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--brume); color: var(--encre); }
.sheet h3 { font-size: 18px; }
.sheet dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.sheet dt { font-weight: 700; color: var(--encre-2); }
.sheet dd { margin: 0; }

/* Catalogue */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px; border-radius: 26px; background: var(--abysse); border: 1px solid rgba(255, 255, 255, .08); }
.card h3 { font-size: 22px; letter-spacing: -0.02em; }
.card p { font-size: 15px; color: rgba(255, 255, 255, .72); }
.card .card__meta { font-size: 13px; color: rgba(255, 255, 255, .5); }
.card__go { margin-top: auto; font: 700 15px/1 var(--heading); color: var(--c); text-decoration: none; }
.tag { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ideas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ideas li { padding: 10px 16px; border-radius: 999px; border: 1.5px dashed rgba(255, 255, 255, .22); font-size: 15px; color: rgba(255, 255, 255, .8); }

@media (max-width: 860px) {
  .nav > a:not(.btn) { display: none; }
  .hero { padding-block: 24px 64px; gap: 40px; }
  .band { padding-block: 64px; }
  .try { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .halo, .marquee__track, .live-dot, .line--interim::after { animation: none !important; }
  html { scroll-behavior: auto; }
}
