/* okto.it : charte okto.it (pétrole, halos, Comfortaa, une couleur et un picto par service). Aucun script. */

@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 de chaque service */
.c-visio { --c: #C6F24E; } .c-sms { --c: #B9A4FF; } .c-file { --c: #7FD8FF; } .c-pdf { --c: #FF7B72; }
.c-sign { --c: #FF8FC1; } .c-geo { --c: #6EE7B7; } .c-captcha { --c: #CBD5E1; } .c-okto { --c: #FF8A1F; }
.name { color: var(--c); }
/* Le point de l'emblème (currentColor) prend la couleur du service */
.logo svg, .service 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: 420px; height: 420px; right: -80px; top: 60px; background: rgba(185, 164, 255, .18); }
.h3 { width: 380px; height: 380px; right: 22%; top: 560px; background: rgba(198, 242, 78, .14); }
.h4 { width: 360px; height: 360px; left: 24%; top: 600px; background: rgba(255, 138, 31, .16); }
.h5 { width: 480px; height: 480px; right: -160px; top: -120px; background: rgba(23, 112, 127, .6); }
@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-radius: 999px; font: 700 17px/1 var(--heading); text-decoration: none; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn--white { background: #FFFFFF; color: var(--abysse); }
.btn--orange { background: var(--orange); color: var(--abysse); }
.btn--outline { border: 1.5px solid rgba(255, 255, 255, .35); 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; }
.logo .dot { color: var(--orange); }
.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 { color: #FFFFFF; }

/* Bandeau principal */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 64px 96px; }
.hero__text { flex: 1 1 540px; min-width: 0; display: grid; gap: 26px; justify-items: start; }
.pill { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -0.035em; }
.hero__lead { max-width: 540px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Adresses qui défilent, une par service */
.words { display: block; height: 1.15em; overflow: hidden; font-size: .62em; letter-spacing: -0.02em; margin-top: .25em; }
.words__list { display: flex; flex-direction: column; animation: words 14s cubic-bezier(.7, 0, .3, 1) infinite; }
.words__list > span { height: 1.15em; line-height: 1.15em; white-space: nowrap; }
@keyframes words {
  0%, 11% { transform: translateY(0); } 14.3%, 25.4% { transform: translateY(-12.5%); } 28.6%, 39.7% { transform: translateY(-25%); }
  42.9%, 54% { transform: translateY(-37.5%); } 57.1%, 68.3% { transform: translateY(-50%); } 71.4%, 82.5% { transform: translateY(-62.5%); }
  85.7%, 96.8% { transform: translateY(-75%); } 100% { transform: translateY(-87.5%); }
}

/* Constellation des services : la tuile du service affiché s'illumine */
.tiles { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 112px)); gap: 18px; justify-content: center; }
.tile { aspect-ratio: 1; border-radius: 28px; background: var(--surface); display: grid; place-items: center; color: var(--c); animation: glow 14s ease-in-out infinite, float 6s ease-in-out infinite; }
.tile svg { width: 64%; height: 64%; }
.tile--okto { background: var(--abysse); border: 1.5px solid rgba(255, 138, 31, .55); animation: none; }
.tile--soon { border: 1.5px dashed rgba(255, 255, 255, .22); background: none; animation: none; font: 700 13px/1.2 var(--heading); color: rgba(255, 255, 255, .5); text-align: center; padding: 10px; }
.d1 { animation-delay: 0s, 0s; } .d2 { animation-delay: 2s, -1s; } .d3 { animation-delay: 4s, -2s; } .d4 { animation-delay: 6s, -3s; }
.d5 { animation-delay: 8s, -4s; } .d6 { animation-delay: 10s, -5s; } .d7 { animation-delay: 12s, -2.5s; }
@keyframes glow { 0%, 15%, 100% { box-shadow: 0 0 0 0 transparent; } 3%, 12% { box-shadow: 0 0 0 3px currentColor, 0 0 40px -6px currentColor; } }
@keyframes float { 50% { translate: 0 -6px; } }

/* Défilé des besoins */
.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); }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 28px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); text-decoration: none; color: #FFFFFF; transition: border-color .2s, transform .2s; }
a.service:hover { border-color: var(--c); transform: translateY(-3px); }
.service__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service__top svg { width: 64px; height: 64px; }
.service h3 { font-size: 24px; letter-spacing: -0.02em; }
.service p { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.service__go { margin-top: auto; font: 700 15px/1 var(--heading); color: var(--c); }
.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; white-space: nowrap; }
.service--soon { background: rgba(10, 52, 64, .5); border-style: dashed; border-color: rgba(255, 255, 255, .18); }

.why { display: flex; flex-wrap: wrap; gap: 20px; }
.why > div { flex: 1 1 300px; min-width: 0; display: grid; gap: 12px; align-content: start; padding: 30px; border-radius: 28px; background: #FFFFFF; }
.why .num { font: 700 56px/1 var(--heading); color: var(--petrole); }
.why strong { font: 700 22px/1.2 var(--heading); }
.why span:last-child { font-size: 16px; line-height: 1.55; color: var(--encre-2); }
.why .dark { background: var(--abysse); color: #FFFFFF; }
.why .dark .num { color: var(--orange); }
.why .dark span:last-child { color: rgba(255, 255, 255, .75); }

.apps { position: relative; overflow: hidden; }
.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); }
.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; }

.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); }

@media (max-width: 860px) {
  .nav > a:not(.btn) { display: none; }
  .hero { padding-block: 24px 64px; gap: 40px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 360px; gap: 12px; }
  .tile { border-radius: 22px; }
  .band { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .halo, .words__list, .tile, .marquee__track { animation: none !important; }
  html { scroll-behavior: auto; }
}
