/* KORVA — démo fictive (IILMIQ Labs) */
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --noir: #0e0f10;
  --blanc: #f4f3ef;
  --bleu: #7cc6e6;
  --bleu-fonce: #4fb1db;
  --verre: rgba(255, 255, 255, .09);
  --verre-bord: rgba(255, 255, 255, .22);
  --rayon: 28px;
  --marge: clamp(16px, 2.2vw, 32px);
  --police: "Inter", "Helvetica Neue", Arial, sans-serif;
  --titre: "Anton", "Impact", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { background: #dcdcd8; color: var(--blanc); font-family: var(--police); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* Verre dépoli */
.verre {
  background: var(--verre);
  border: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 40px rgba(0, 0, 0, .25);
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .25s, background .25s;
}
.bouton:hover { transform: translateY(-2px); }
.bouton--bleu { background: var(--bleu); color: var(--noir); }
.bouton--bleu:hover { background: #9fd6ee; }
.bouton--verre { color: var(--blanc); }
.bouton--verre:hover { background: rgba(255, 255, 255, .16); }
.bouton--petit { height: 42px; padding: 0 20px; font-size: 14px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  margin: 14px;
  height: calc(100vh - 28px);
  min-height: 640px;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--noir);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__mosaique { position: absolute; display: block; pointer-events: none; }
.hero__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, .82) 0%, rgba(8, 9, 10, .55) 38%, rgba(8, 9, 10, 0) 62%),
    linear-gradient(0deg, rgba(8, 9, 10, .55) 0%, rgba(8, 9, 10, 0) 35%);
}

.nav {
  position: absolute; top: var(--marge); left: var(--marge); right: var(--marge); z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 26px; border-radius: 999px;
}
.logo { font-family: var(--titre); font-size: 26px; letter-spacing: .02em; display: inline-flex; align-items: center; }
.logo__point { width: 9px; height: 9px; border-radius: 50%; background: var(--bleu); margin-left: 6px; margin-top: 10px; }
.nav__liens { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav__liens a { opacity: .82; transition: opacity .2s; }
.nav__liens a:hover { opacity: 1; }

.hero__contenu {
  position: absolute; z-index: 2;
  left: calc(var(--marge) + 26px); bottom: clamp(48px, 9vh, 96px);
  max-width: 980px;
}
.surtitre { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 22px; }
.hero__titre {
  font-size: clamp(46px, 6.4vw, 104px); font-weight: 600; line-height: .95; letter-spacing: -.045em;
  color: var(--bleu);
}
.hero__texte { max-width: 470px; margin: 28px 0 34px; font-size: 17px; line-height: 1.55; color: rgba(244, 243, 239, .86); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.avis {
  position: absolute; z-index: 2; top: calc(var(--marge) + 88px); right: calc(var(--marge) + 10px);
  display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 14px;
}
.avis__note { font-weight: 700; }
.avis__etoiles { color: var(--bleu); letter-spacing: 2px; font-size: 13px; }
.avis__texte { opacity: .8; }

.carte {
  position: absolute; z-index: 2; right: var(--marge); bottom: var(--marge);
  width: min(470px, 40vw); display: grid; grid-template-columns: 170px 1fr; gap: 18px;
  padding: 12px; border-radius: 20px;
}
.carte__image { width: 100%; height: 118px; object-fit: cover; border-radius: 12px; }
.carte__corps { display: flex; flex-direction: column; padding: 4px 6px 4px 0; }
.carte__titre { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.carte__texte { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: rgba(244, 243, 239, .75); }
.carte__barres { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.barre { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.barre i { display: block; height: 100%; width: 0; background: var(--bleu); }
.barre.est-finie i { width: 100%; }
.barre.est-active i { animation: remplir 5s linear forwards; }
@keyframes remplir { to { width: 100%; } }
.carte [data-carte-titre], .carte [data-carte-texte] { transition: opacity .35s; }
.carte.change [data-carte-titre], .carte.change [data-carte-texte] { opacity: 0; }

/* ===== Bandeau des soins (défilant) ===== */
.bandeau { margin: 0 14px; border-radius: 22px; background: var(--bleu); color: var(--noir); overflow: hidden; padding: 22px 0; }
.bandeau__piste { display: flex; align-items: center; gap: 34px; width: max-content; animation: defile 38s linear infinite; }
.bandeau span { font-family: var(--titre); font-size: clamp(26px, 3vw, 42px); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.bandeau i { width: 12px; height: 12px; border-radius: 50%; background: var(--noir); flex: none; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bandeau__piste { animation: none; } }

/* ===== Titres de section ===== */
.etiquette { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bleu); margin-bottom: 18px; }
.grand-titre { font-family: var(--titre); font-weight: 400; font-size: clamp(48px, 6.4vw, 104px); line-height: .92; text-transform: uppercase; letter-spacing: .005em; }
.bleu { color: var(--bleu); }

/* ===== Parcours en 3 étapes ===== */
.etapes { margin: 14px; background: var(--blanc); color: var(--noir); border-radius: var(--rayon); padding: clamp(32px, 5vw, 72px); }
.etiquette--fonce { color: var(--bleu-fonce); }
.bleu-fonce { color: var(--bleu-fonce); }
.etapes__tete { margin-bottom: clamp(28px, 4vw, 56px); }
.etapes__liste { list-style: none; }
.etape { display: grid; grid-template-columns: 74px 1fr 220px; gap: 28px; align-items: center; padding: 34px 0; border-top: 1px solid rgba(14, 15, 16, .14); }
.etape__num { width: 58px; height: 58px; border-radius: 50%; background: var(--noir); color: var(--blanc); display: grid; place-items: center; font-size: 15px; font-weight: 600; align-self: start; }
.etape__titre { font-family: var(--titre); font-weight: 400; font-size: clamp(44px, 5vw, 76px); line-height: .9; text-transform: uppercase; }
.etape__texte p { margin: 14px 0 16px; max-width: 520px; font-size: 17px; line-height: 1.55; color: rgba(14, 15, 16, .78); }
.etape__texte ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.etape__texte ul li { padding: 7px 14px; border-radius: 999px; background: rgba(124, 198, 230, .22); font-size: 14px; font-weight: 500; }
.etape__sticker { width: 100%; max-width: 200px; justify-self: end; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18)); transform: rotate(-6deg); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.etape:nth-child(2) .etape__sticker { transform: rotate(5deg); }
.etape:hover .etape__sticker { transform: rotate(0) scale(1.08); }

/* ===== Chiffres clés ===== */
.chiffres { margin: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chiffre { background: var(--noir); border-radius: 22px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.chiffre strong { font-family: var(--titre); font-weight: 400; font-size: clamp(54px, 6vw, 92px); line-height: .9; color: var(--bleu); }
.chiffre strong em { font-style: normal; font-size: .45em; margin-left: 4px; color: rgba(124, 198, 230, .7); }
.chiffre span { font-size: 15px; line-height: 1.45; color: rgba(244, 243, 239, .78); }

/* ===== Le plateau ===== */
.plateau { margin: 14px; background: var(--noir); border-radius: var(--rayon); padding: clamp(32px, 5vw, 72px); }
.plateau__tete { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.plateau__intro { font-size: 17px; line-height: 1.55; color: rgba(244, 243, 239, .78); max-width: 440px; }
.plateau__grille { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.plateau__grand { grid-row: span 2; }
.plateau figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #1c1d1f; }
.plateau figure img { width: 100%; height: 100%; object-fit: cover; }
.plateau__grand img { min-height: 520px; }
.plateau__petit img { aspect-ratio: 4 / 3; }
.plateau figcaption { position: absolute; left: 16px; bottom: 16px; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(14, 15, 16, .32); }
.plateau__cartes { display: grid; gap: 14px; }
.machine { border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 20px 22px; }
.machine h3 { font-family: var(--titre); font-weight: 400; font-size: 30px; text-transform: uppercase; color: var(--bleu); }
.machine p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(244, 243, 239, .78); }
.plateau__source { margin-top: 16px; font-size: 12px; color: rgba(244, 243, 239, .4); }

/* ===== L'équipe ===== */
.equipe { margin: 14px; background: var(--blanc); color: var(--noir); border-radius: var(--rayon); padding: clamp(32px, 5vw, 72px); }
.equipe__grille { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kine { border-radius: 20px; background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(14, 15, 16, .08); transition: transform .3s, box-shadow .3s; }
.kine:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 15, 16, .1); }
.kine__initiales { width: 76px; height: 76px; border-radius: 50%; background: var(--bleu); display: grid; place-items: center; font-family: var(--titre); font-size: 30px; margin-bottom: 8px; }
.kine h3 { font-family: var(--titre); font-weight: 400; font-size: 32px; line-height: .95; text-transform: uppercase; }
.kine__role { font-size: 13px; color: rgba(14, 15, 16, .6); }
.kine ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.kine li { padding: 6px 12px; border-radius: 999px; background: rgba(124, 198, 230, .22); font-size: 13px; font-weight: 500; }

/* ===== Avis ===== */
.avis-bloc { margin: 14px; background: var(--bleu); color: var(--noir); border-radius: var(--rayon); padding: clamp(32px, 5vw, 72px); }
.etiquette--noir { color: var(--noir); }
.avis-bloc__grille { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.3fr 1.1fr .8fr; gap: 14px; align-items: start; }
.temoin { margin: 0; background: var(--blanc); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.temoin p { font-size: 18px; line-height: 1.5; letter-spacing: -.01em; }
.temoin footer { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.temoin__etoiles { color: var(--bleu-fonce); letter-spacing: 2px; }

/* ===== Appel (option IILMIQ) ===== */
.appel { margin: 14px; background: var(--noir); border-radius: var(--rayon); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.appel::before { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 198, 230, .35), rgba(124, 198, 230, 0) 70%); }
.appel__texte { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.appel__intro { margin: 24px 0 30px; max-width: 480px; font-size: 17px; line-height: 1.55; color: rgba(244, 243, 239, .78); }
.appel__mention { margin-top: 16px; font-size: 12px; color: rgba(244, 243, 239, .45); }
.telephone { position: relative; border-radius: 30px; padding: 22px; max-width: 360px; justify-self: center; width: 100%; }
.telephone__haut { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 243, 239, .55); text-align: center; }
.telephone__expediteur { margin: 14px 0 10px; text-align: center; font-weight: 600; font-size: 15px; }
.bulle { border-radius: 20px 20px 20px 6px; padding: 14px 16px; font-size: 15px; line-height: 1.45; background: rgba(255, 255, 255, .14); }
.telephone__note { margin-top: 12px; font-size: 12px; color: rgba(244, 243, 239, .5); text-align: center; }

/* ===== Assistant vocal (démo) ===== */
.appel__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.appel__actions button { border: 0; cursor: pointer; font-family: inherit; }
.bouton--verre { border: 1px solid var(--verre-bord); }
.point-vivant { width: 9px; height: 9px; border-radius: 50%; background: var(--noir); box-shadow: 0 0 0 0 rgba(14, 15, 16, .5); animation: pouls 1.8s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(14, 15, 16, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 15, 16, 0); } }
.assistant__statut { margin-top: 18px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 243, 239, .6); }
.appel.est-en-appel .assistant__statut { color: var(--bleu); }
.assistant__transcription { margin-top: 16px; width: 100%; max-width: 520px; max-height: 220px; overflow-y: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: rgba(244, 243, 239, .85); }
.assistant__transcription:empty::before { content: "La conversation s'affichera ici."; color: rgba(244, 243, 239, .45); }
.ligne b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 243, 239, .5); margin-right: 6px; }
.ligne--assistant b { color: var(--bleu); }
.appel.est-en-appel::before { animation: halo 2.4s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.15); opacity: .7; } }

/* ===== Rendez-vous ===== */
.rdv { margin: 14px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.rdv__texte { background: var(--noir); border-radius: var(--rayon); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; }
.rdv__intro { margin: 24px 0 34px; max-width: 460px; font-size: 17px; line-height: 1.55; color: rgba(244, 243, 239, .78); }
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-bottom: 40px; width: 100%; max-width: 560px; }
.infos div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; }
.infos dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); margin-bottom: 8px; }
.infos dd { font-size: 15px; line-height: 1.5; color: rgba(244, 243, 239, .9); }
.rdv__photo { position: relative; margin: 0; border-radius: var(--rayon); overflow: hidden; min-height: 560px; background: var(--noir); }
.rdv__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.rdv__pastille { position: absolute; left: 20px; bottom: 20px; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--blanc); background: rgba(14, 15, 16, .28); }

/* ===== Pied de page ===== */
.pied { margin: 0 14px 14px; background: var(--noir); border-radius: var(--rayon); padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.pied__haut { display: flex; justify-content: space-between; gap: 24px; font-size: 15px; line-height: 1.6; color: rgba(244, 243, 239, .78); }
.pied__haut p:last-child { text-align: right; }
.pied__haut a { color: var(--bleu); }
.pied__logo { display: block; width: 100%; height: auto; margin-top: clamp(32px, 6vw, 80px); }
.pied__demo { margin-top: clamp(10px, 1.5vw, 20px); font-size: 12px; color: rgba(244, 243, 239, .45); text-align: center; }

@media (max-width: 900px) {
  .nav__liens { display: none; }
  /* Mobile : la photo devient un bandeau en haut (sujet entier visible), le texte passe dessous */
  .hero { height: auto; min-height: 0; margin: 10px; padding-bottom: 14px; }
  .hero__photo { position: relative; inset: auto; height: 62svh; min-height: 420px; object-position: 86% 40%; }
  .hero__voile { inset: auto; top: -1px; left: -1px; right: -1px; height: calc(62svh + 3px); min-height: 423px;
    background: linear-gradient(0deg, var(--noir) 0%, var(--noir) 3%, rgba(14, 15, 16, .35) 30%, rgba(14, 15, 16, 0) 55%),
                linear-gradient(180deg, rgba(14, 15, 16, .55) 0%, rgba(14, 15, 16, 0) 22%); }
  .hero__contenu { position: relative; left: auto; bottom: auto; margin: -70px 22px 0; }
  .avis { display: none; }
  .carte { position: relative; right: auto; bottom: auto; margin: 32px 14px 0; width: auto; grid-template-columns: 110px 1fr; }
  .carte__image { height: 96px; }
  .rdv { grid-template-columns: 1fr; margin: 10px; }
  .rdv__photo { min-height: 0; aspect-ratio: 3 / 4; }
  .infos { grid-template-columns: 1fr; }
  .bandeau { margin: 0 10px; }
  .pied { margin: 0 10px 10px; }
  .pied__haut { flex-direction: column; }
  .pied__haut p:last-child { text-align: left; }
  .etapes { margin: 10px; }
  .etape { grid-template-columns: 1fr; gap: 16px; position: relative; }
  .etape__num { width: 46px; height: 46px; font-size: 13px; }
  .etape__sticker { position: absolute; right: 0; top: 22px; width: auto; max-width: 118px; max-height: 92px; }
  .chiffres { grid-template-columns: 1fr 1fr; margin: 10px; gap: 10px; }
  .plateau, .equipe, .avis-bloc, .appel { margin: 10px; }
  .plateau__tete { grid-template-columns: 1fr; }
  .plateau__grille { grid-template-columns: 1fr; }
  .plateau__grand { grid-row: auto; }
  .plateau__grand img { min-height: 0; aspect-ratio: 4 / 3; }
  .equipe__grille { grid-template-columns: 1fr 1fr; }
  .avis-bloc__grille { grid-template-columns: 1fr; }
  .appel { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .equipe__grille { grid-template-columns: 1fr; }
}

/* Logo image (proposition IILMIQ) */
.logo__image { display: block; height: 22px; width: auto; }

/* Bloc décoratif « Votre retour au jeu » : motif des formes du logo */
.motif-bloc { margin: 14px; background: var(--noir); color: var(--blanc); border-radius: var(--rayon); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; }
.motif-bloc__texte { padding: clamp(32px, 5vw, 72px); }
.motif-bloc__intro { margin: 22px 0 30px; max-width: 420px; font-size: 17px; line-height: 1.55; color: rgba(244, 243, 239, .8); }
.motif-bloc__motif { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; min-height: 100%; }
@media (max-width: 900px) {
  .motif-bloc { grid-template-columns: 1fr; margin: 10px; }
  .motif-bloc__motif { height: 260px; object-position: center top; }
}

