/* Ovega — site vitrine. Noir, sobre, Roboto auto-hébergée. Aucune ressource externe. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/roboto-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/roboto-700.woff2") format("woff2"); }

:root {
  --bg: #000;
  --ink: #f5f3ee;
  --ink-2: #9d9a93;
  --line: rgba(255, 255, 255, 0.14);
  --card: #0c0c0c;
  --font: "Roboto", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font); min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1120px; }

header { padding: 20px 0; }
header .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
header nav { margin-left: auto; }
.langs { font-size: 13px; letter-spacing: .04em; }
.langs a { color: var(--ink-2); text-decoration: none; padding: 2px 6px; border-radius: 6px; }
.langs a[aria-current] { color: var(--ink); background: rgba(255,255,255,.12); }
.langs a:hover { color: var(--ink); }
.brand { font: 500 21px/1 var(--font); letter-spacing: 0.04em; text-decoration: none; }
nav a { margin-left: 22px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--ink); }

main { flex: 1; }
.hero { padding: clamp(12px, 3vh, 36px) 0 clamp(18px, 3.5vh, 32px); }
h1 { font: 300 clamp(30px, 4.4vw, 46px)/1.1 var(--font); letter-spacing: -0.015em; margin: 0 0 12px; }
h1 em { font-style: normal; font-weight: 500; }
.lead { font-size: clamp(15px, 1.6vw, 17.5px); color: var(--ink-2); max-width: 40em; margin: 0; }

.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1; padding: 20px; text-decoration: none;
  --c1: 255,255,255; --c2: 255,255,255;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--c1), .30), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(var(--c2), .20), transparent 65%),
    var(--card);
  border: 1px solid rgba(var(--c1), .28); border-radius: 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s, filter .25s;
}
.app a:hover { border-color: rgba(var(--c1), .6); transform: translateY(-3px); filter: saturate(1.2) brightness(1.08); box-shadow: 0 14px 40px -18px rgba(var(--c1), .7); }
.app.tomate a { --c1: 47,174,124; --c2: 255,95,74; }
.app.cumfy a { --c1: 255,106,47; --c2: 255,194,26; }
.app.biodata a { --c1: 255,92,158; --c2: 47,123,255; }
.app.galets a { --c1: 38,205,170; --c2: 255,107,74; }
.icon {
  width: 64px; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center;
  overflow: hidden; box-shadow: 0 0 0 1px var(--line);
}
.icon img { width: 100%; height: 100%; object-fit: cover; }
.icon.pad img { width: 78%; height: 78%; object-fit: contain; }
.icon.galets { background: #f4f1ec; }
.icon.cumfy { background: #050505; }
.app h2 { font: 500 20px/1.2 var(--font); margin: 0 0 6px; }
.app p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.app .go { position: absolute; top: 20px; right: 20px; font-size: 20px; color: var(--ink-2); transition: transform .2s, color .2s; }
.app a:hover .go { transform: translate(3px, -3px); color: var(--ink); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: clamp(20px, 4vh, 40px) 0 clamp(16px, 3vh, 32px); }
.values h3 { font: 500 15px/1.3 var(--font); margin: 0 0 2px; }
.values p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

.page { padding: clamp(24px, 6vh, 64px) 0 clamp(40px, 8vh, 80px); max-width: 640px; }
.page h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 20px; }
.page p { color: var(--ink-2); }
.mail { display: inline-block; margin: 8px 0 20px; font: 400 clamp(22px, 4vw, 30px)/1.2 var(--font); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 8px; }
.mail:hover { text-decoration-color: currentColor; }
.links { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; }
.links span { color: var(--ink-2); font-size: 14.5px; }
.links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.after { margin-top: 28px; }
.legal h2 { font: 500 19px/1.3 var(--font); color: var(--ink); margin: 30px 0 8px; }
.legal p { margin: 0 0 12px; }

footer { padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
footer a { text-decoration: none; margin-left: 20px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .apps { grid-template-columns: 1fr; }
  .app a { aspect-ratio: auto; min-height: 220px; gap: 24px; }
  .values { grid-template-columns: 1fr; gap: 16px; }
  nav a { margin-left: 16px; }
  header nav { margin-left: 0; order: 3; width: 100%; }
  header nav a:first-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
