/* Design tokens: ajustez ces variables pour changer l'ensemble du style. */
/* Réglages globaux du thème. */
:root {
  --glass-opacity:.60;
  --hero-opacity:.54;
  --ink:#f8fbff;
  --muted:#cfdae8;
  --line:rgba(255,255,255,.26);
  --glass:rgba(15,25,43,var(--glass-opacity));
  --accent:#86cbff;
  --shadow:0 20px 55px rgba(0,0,0,.26);
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
}
body {
  margin:0;
  min-width:320px;
  color:var(--ink);
  /* Avenir Next est utilisée sur les appareils Apple ; le reste est la solution de secours. */
  font-family:"Avenir Next",Avenir,"Helvetica Neue",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#0a1120;
  line-height:1.55;
}
/* Image de fond et voile sombre réglés dans site.config.js. */
body::before {
  content:"";
  position:fixed;
  z-index:-2;
  inset:0;
  /* Le dégradé reste léger pour préserver la lisibilité sans assombrir la photo. */
  background:linear-gradient(120deg,rgba(3,9,20,.20),rgba(9,31,54,.03)),var(--hero) center/cover no-repeat;
}
body::after {
  content:"";
  position:fixed;
  z-index:-1;
  inset:0;
  background:rgba(4,10,21,var(--hero-opacity));
}
/* Barre de navigation persistante. */
.nav {
  position:sticky;
  top:14px;
  z-index:20;
  display:flex;
  align-items:center;
  gap:16px;
  width:min(1200px,calc(100% - 28px));
  margin:14px auto 0;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(17,29,48,.6);
  backdrop-filter:blur(25px) saturate(150%);
  box-shadow:var(--shadow);
}
.brand {
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:700;
  text-decoration:none;
  color:#fff;
  white-space:nowrap;
}
.brand img {
  width:28px;
  height:28px;
}
.nav-links {
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  flex:1;
}
.nav-links a,.language {
  border:0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  text-decoration:none;
  padding:8px 9px;
  border-radius:14px;
  white-space:nowrap;
  cursor:pointer;
}
.nav-links a:hover,.nav-links a.active,.language:hover {
  background:rgba(255,255,255,.14);
  color:#fff;
}
.language {
  font-size:19px;
  padding:6px 9px;
}
/* Structure générale des pages de contenu. */
.page {
  width:min(1120px,calc(100% - 36px));
  margin:0 auto;
  padding:clamp(55px,8vw,105px) 0 70px;
}
.hero {
  min-height:calc(100svh - 100px);
  display:flex;
  align-items:center;
}
.hero-content {
  max-width:760px;
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.8rem;
  font-weight:750;
  color:var(--accent);
}
h1,h2,h3,p {
  margin-top:0;
}
h1 {
  font-size:clamp(3rem,8vw,6.9rem);
  letter-spacing:-.07em;
  line-height:.94;
  margin-bottom:26px;
}
h2 {
  font-size:clamp(1.9rem,3.5vw,3.2rem);
  line-height:1.05;
  letter-spacing:-.045em;
}
.lead {
  font-size:clamp(1.1rem,2vw,1.35rem);
  max-width:620px;
  color:var(--muted);
}
.button {
  display:inline-flex;
  gap:9px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 18px;
  color:#102039;
  background:linear-gradient(120deg,#e3f4ff,#93d4ff);
  text-decoration:none;
  font-weight:750;
  transition:.25s transform;
}
.button:hover {
  transform:translateY(-3px);
}
/* Blocs translucides de style Liquid Glass. */
.glass {
  background:var(--glass);
  backdrop-filter:blur(25px) saturate(150%);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:28px;
  padding:clamp(20px,3.5vw,38px);
}
.grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.grid.three {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.section {
  margin-top:72px;
}
.section-head {
  margin-bottom:25px;
}
.card-icon {
  font-size:28px;
}
.contact-link {
  display:block;
  color:#fff;
  text-decoration:none;
  font-size:1.1rem;
}
.contact-link small {
  display:block;
  color:var(--muted);
  margin-top:7px;
}
.hover-image {
  overflow:hidden;
  padding:0;
}
.hover-image img {
  width:100%;
  height:100%;
  min-height:290px;
  object-fit:cover;
  display:block;
  transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .55s;
}
.hover-image:hover img {
  transform:scale(1.06);
  filter:saturate(1.12) contrast(1.05);
}
.profile {
  display:grid;
  grid-template-columns:200px 1fr;
  gap:28px;
  align-items:center;
}
.avatar {
  width:200px;
  height:200px;
  object-fit:cover;
  border-radius:28px;
}
.list {
  padding-left:20px;
  color:var(--muted);
}
.logo {
  width:44px;
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(145,207,255,.18);
  font-size:20px;
  float:right;
}
.meta {
  color:var(--muted);
  font-size:.9rem;
}
/* Page Applications, inspirée d'un écran d'accueil de tablette. */
.app-screen {
  min-height:100svh;
  width:min(1380px,calc(100% - 28px));
  margin:14px auto;
  padding:clamp(24px,5vw,64px);
  border:1px solid var(--line);
  border-radius:35px;
  background:rgba(10,18,35,.36);
  backdrop-filter:blur(16px);
}
.status {
  display:flex;
  justify-content:space-between;
  align-items:start;
  font-weight:650;
}
.time {
  font-size:clamp(2rem,4vw,4.5rem);
  line-height:1;
}
.date {
  font-size:clamp(.9rem,1.8vw,1.2rem);
  color:var(--muted);
  margin-top:5px;
}
.status-icons {
  display:flex;
  gap:10px;
}
.apps-wrap {
  margin:clamp(65px,13vh,150px) auto 0;
  max-width:1000px;
}
.app-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:clamp(15px,2vw,27px);
}
.app-item {
  text-align:center;
  color:#fff;
  text-decoration:none;
  font-size:.86rem;
}
.app-icon {
  aspect-ratio:1;
  border-radius:23%;
  display:grid;
  place-items:center;
  font-size:clamp(24px,4vw,45px);
  margin-bottom:7px;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:transform .25s;
}
.app-item:hover .app-icon {
  transform:scale(1.08) translateY(-3px);
}
.cat-details {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px;
}
.bounce {
  position:absolute;
  bottom:35px;
  left:50%;
  animation:bounce 1.7s ease-in-out infinite;
  color:var(--muted);
}
@keyframes bounce {
  50% {
    transform:translate(-50%,8px);
  }
}
/* Adaptations pour tablette et mobile. */
@media(max-width:760px) {
  .nav {
    gap:8px;
  }
  .brand span {
    display:none;
  }
  .nav-links a {
    font-size:0;
    padding:9px;
  }
  .nav-links a .nav-icon {
    font-size:17px;
  }
  .grid,.grid.three,.cat-details {
    grid-template-columns:1fr;
  }
  .profile {
    grid-template-columns:1fr;
  }
  .avatar {
    width:130px;
    height:130px;
  }
  .app-grid {
    grid-template-columns:repeat(4,1fr);
  }
  .page {
    width:min(100% - 24px,1120px);
  }
}
@media(max-width:430px) {
  .nav-links {
    gap:0;
  }
  .app-grid {
    grid-template-columns:repeat(3,1fr);
  }
}
