/* =========================================================
   AIVORA — Feuille de style globale
   Identité figée (fiche du 7 juin 2026) :
   - Logo AIVORA : Syne, MAJUSCULES, "AI" 600 + I rouge, "VORA" 400
   - Titres : Syne (600–800) · Titres de sections en minuscules
   - Corps : Inter 300, line-height ~1.7
   - Palette : void / deep / salt / aguayo / oro
   ========================================================= */

:root {
  --void:   #060810;   /* fond principal */
  --deep:   #0d1b3a;   /* bleu profond Uyuni */
  --sky:    #2b4a82;
  --salt:   #eef2f6;   /* blanc sel — texte */
  --accent: #e8472b;   /* rouge aguayo — accent rare */
  --gold:   #e0b15a;   /* or andin — lignes, horizon */
  --text:   #f7f5ef;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  min-height: 100%;
  background: var(--void);
  color: var(--salt);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;            /* page scrollable verticalement, jamais horizontalement */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   HERO · EL ESPEJO
   ========================================================= */
.stage {
  position: relative; width: 100%; height: 100vh;
  overflow: hidden;
  cursor: crosshair;
}

/* miroir abstrait généré (canvas) */
#mirror { position: absolute; inset: 0; z-index: 1; display: block; }

/* ligne d'horizon — le pli du miroir */
.horizon {
  position: absolute; top: 50%; left: 0; right: 0; z-index: 2;
  height: 1px; transform: translateY(-0.5px);
  background: linear-gradient(90deg, transparent, rgba(224,177,90,0.5) 30%, rgba(238,242,246,0.9) 50%, rgba(224,177,90,0.5) 70%, transparent);
  box-shadow: 0 0 40px 8px rgba(224,177,90,0.25);
  opacity: 0; animation: hzn 2s ease 0.3s forwards;
}
@keyframes hzn { to { opacity: 1; } }

.grain {
  position: absolute; inset: -60%; z-index: 4; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.05; animation: grain 0.6s steps(2) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-1.5%,1%);} }

.vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 100% 95% at 50% 50%, transparent 55%, rgba(6,8,16,0.6) 100%);
}

/* ===== TYPO ===== */
.overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}

.kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(8px, 0.95vw, 12px);
  text-transform: uppercase; color: var(--gold);
  padding-left: 0.5em; margin-bottom: 2.4rem;
  opacity: 0; animation: fade 1.8s ease 0.6s forwards;
}

/* le mot + son reflet */
.word-wrap { position: relative; text-align: center; }

/* ===== LOGO AIVORA (composant) ===== */
.logo {
  font-family: var(--font-display);
  font-weight: 400;                 /* "VORA" regular */
  font-size: clamp(54px, 14vw, 200px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--salt);
  line-height: 1;
  padding-left: 0.28em;             /* compense le letter-spacing à droite */
  display: block; position: relative;
}
/* chaque lettre révélée en cascade */
.logo .ch {
  display: inline-block;
  opacity: 0; transform: translateY(40px);
  animation: letter 1.2s cubic-bezier(.16,1,.3,1) forwards;
}
/* "AI" légèrement plus gras — l'accent de la marque */
.logo .ch.ai { font-weight: 600; }
/* le I rouge aguayo EST l'accent (pas d'étincelle) */
.logo .ch.iredr { color: var(--accent); }

/* reflet du mot sous l'horizon */
.logo.reflection {
  position: absolute; top: 100%; left: 0; right: 0;
  transform: scaleY(-1); margin-top: 0.12em;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 75%);
  color: rgba(224,177,90,0.55);
  pointer-events: none;
  opacity: 0; animation: fade 2s ease 1.6s forwards;
  filter: blur(0.4px);
}
.logo.reflection .ch { opacity: 1; transform: none; animation: none; }
.logo.reflection .ch.ai { font-weight: 600; }
/* dans le reflet, le I rouge reste teinté rouge mais fondu dans l'or */
.logo.reflection .ch.iredr { color: rgba(232,71,43,0.5); }

/* tagline en Syne (police du logo) — affirmée, deux lignes, qui respire */
.tagline {
  font-family: var(--font-display); font-weight: 500; font-style: normal;
  font-size: clamp(20px, 3vw, 40px); line-height: 1.3; letter-spacing: 0.005em;
  margin-top: 3.6rem; text-align: center; max-width: 16ch;
  opacity: 0; animation: fade 1.8s ease 2.1s forwards;
}
.tagline .t1, .tagline .t2 { display: block; }
.tagline .t1 { color: rgba(247,245,239,0.72); font-weight: 500; }
/* la chute — la promesse de marque, un peu plus appuyée */
.tagline .t2 { color: var(--salt); font-weight: 600; margin-top: 0.28em; }
/* ligne anglaise : discrète */
.tagline .en {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: clamp(8px, 0.9vw, 11px); letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(224,177,90,0.6); margin-top: 1.6rem; padding-left: 0.4em;
}

.cta {
  margin-top: 2.8rem; pointer-events: auto;
  opacity: 0; animation: fade 1.8s ease 2.4s forwards;
}
.cta a {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(10px, 1.05vw, 12px); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 1.05em 2.6em;
  border: 1px solid rgba(247,245,239,0.3); border-radius: 100px;
  background: rgba(13,27,58,0.3); backdrop-filter: blur(8px);
  transition: all 0.5s cubic-bezier(.16,1,.3,1); display: inline-block;
}
.cta a:hover {
  background: var(--accent); border-color: var(--accent);
  letter-spacing: 0.36em; transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(232,71,43,0.4);
}

.corner {
  position: absolute; top: 34px; z-index: 6;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.3em;
  font-size: 10px; text-transform: uppercase; color: rgba(247,245,239,0.65);
  opacity: 0; animation: fade 2s ease 2.6s forwards;
}
.corner.l { left: 36px; }
.corner.r { right: 36px; color: var(--gold); }

@keyframes letter { to { opacity: 1; transform: translateY(0); } }
@keyframes fade   { to { opacity: 1; } }

/* =========================================================
   SECTION 2 · MANIFIESTO
   ========================================================= */
.manifiesto {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(6rem, 14vh, 12rem) clamp(1.5rem, 8vw, 10rem);
  background: var(--void);
  overflow: hidden;
}
/* transition depuis le Hero : voile bleu profond qui se dissout */
.manifiesto::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 45vh;
  background: linear-gradient(180deg, rgba(13,27,58,0.4), transparent);
  pointer-events: none; z-index: 1;
}
/* hairline doré centré — écho de l'horizon du miroir */
.manifiesto::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 60%); height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(224,177,90,0.5) 50%, transparent);
  box-shadow: 0 0 30px 4px rgba(224,177,90,0.15);
}
.manifiesto .inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; width: 100%;
}

/* kicker (label court — MAJUSCULES espacées autorisées par la fiche) */
.m-kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(9px, 0.9vw, 12px);
  text-transform: uppercase; color: var(--gold);
  padding-left: 0.5em; margin-bottom: 2.4rem;
}
/* phrase d'accroche — Syne */
.m-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 5vw, 60px); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--salt); max-width: 18ch; margin-bottom: 2.6rem;
}
.m-lead .accent { display: block; color: var(--salt); }
/* corps — Inter 300 */
.m-body {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.75;
  color: rgba(238,242,246,0.82); max-width: 62ch;
}
.m-body .hl { color: var(--gold); }
/* version anglaise — discrète */
.m-en {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(13px, 1vw, 15px); line-height: 1.7;
  color: rgba(238,242,246,0.42); max-width: 60ch;
  margin-top: 2.4rem; padding-top: 2.4rem;
  border-top: 1px solid rgba(238,242,246,0.08);
}

/* =========================================================
   Révélation au scroll — générique (toutes sections [data-reveal])
   Les enfants .r apparaissent en cascade (stagger par nth-child).
   ========================================================= */
/* État masqué appliqué UNIQUEMENT quand le JS de révélation est actif
   (html.reveal-ready). Sans JS, ou si l'observer échoue, le contenu reste
   visible par défaut — jamais de section vide. */
html.reveal-ready [data-reveal] .r {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
html.reveal-ready [data-reveal].in .r { opacity: 1; transform: none; }
[data-reveal].in .r:nth-child(1) { transition-delay: 0.05s; }
[data-reveal].in .r:nth-child(2) { transition-delay: 0.15s; }
[data-reveal].in .r:nth-child(3) { transition-delay: 0.25s; }
[data-reveal].in .r:nth-child(4) { transition-delay: 0.35s; }
[data-reveal].in .r:nth-child(5) { transition-delay: 0.45s; }
[data-reveal].in .r:nth-child(6) { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] .r,
  [data-reveal] .r { transition: none; opacity: 1; transform: none; }
}

/* =========================================================
   SECTION 3 · SERVICIOS
   ========================================================= */
.servicios {
  position: relative;
  padding: clamp(6rem, 12vh, 11rem) clamp(1.5rem, 8vw, 10rem);
  background: var(--void);
}
.servicios .inner { max-width: 1180px; margin: 0 auto; }

.s-kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(9px, 0.9vw, 12px);
  text-transform: uppercase; color: var(--gold);
  padding-left: 0.5em; margin-bottom: 2.2rem;
}
/* intro — Syne */
.s-intro {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 46px); line-height: 1.14; letter-spacing: -0.01em;
  color: var(--salt); max-width: 20ch; margin-bottom: 0.8rem;
}
.s-intro .hl { color: var(--gold); }
.s-intro-en {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.02em; color: rgba(238,242,246,0.42);
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.servicios .grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.2vw, 2rem);
}

/* carte de pôle */
.s-card {
  position: relative; padding: clamp(2rem, 3vw, 3rem);
  border: 1px solid rgba(238,242,246,0.09); border-radius: 20px;
  background: linear-gradient(160deg, rgba(13,27,58,0.35), rgba(13,27,58,0.06));
  overflow: hidden;
  transition: border-color .5s ease, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease;
}
/* filet doré supérieur — écho de l'horizon */
.s-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,177,90,0.4), transparent);
  opacity: .45; transition: opacity .5s ease;
}
.s-card:hover {
  border-color: rgba(224,177,90,0.4); transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.s-card:hover::before { opacity: 1; }

.s-top { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.s-num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px);
  color: var(--gold); letter-spacing: 0.05em; transition: color .4s ease;
}
/* rouge aguayo = micro-accent rare, au survol uniquement */
.s-card:hover .s-num { color: var(--accent); }
.s-cat {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(10px, 0.95vw, 12px);
  letter-spacing: 0.26em; text-transform: uppercase; color: rgba(238,242,246,0.6);
}
/* titre de carte — Syne, minuscules (règle de casse de la fiche) */
.s-title {
  font-family: var(--font-display); font-weight: 600; text-transform: lowercase;
  font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--salt); margin-bottom: 1.1rem;
}
.s-text {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.7; color: rgba(238,242,246,0.8); margin-bottom: 1.5rem;
}
/* liste « incluye » — petits items séparés par des points or */
.s-tags { list-style: none; display: flex; flex-wrap: wrap; margin-bottom: 1.5rem; }
.s-tags li {
  font-family: var(--font-body); font-weight: 400; font-size: 11.5px; letter-spacing: 0.03em;
  color: var(--gold);
}
.s-tags li:not(:last-child)::after { content: "·"; margin: 0 0.55rem; color: rgba(224,177,90,0.4); }
/* version anglaise — discrète */
.s-en {
  font-family: var(--font-body); font-weight: 300; font-size: 12.5px; line-height: 1.65;
  color: rgba(238,242,246,0.4); padding-top: 1.4rem;
  border-top: 1px solid rgba(238,242,246,0.07);
}
.s-en strong { font-weight: 500; color: rgba(238,242,246,0.62); }

@media (max-width: 820px) {
  .servicios .grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SECTION 4 · PROYECTOS
   ========================================================= */
.proyectos {
  position: relative;
  padding: clamp(6rem, 12vh, 11rem) clamp(1.5rem, 8vw, 10rem);
  background: var(--void);
}
.proyectos .inner { max-width: 1180px; margin: 0 auto; }

.p-kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(9px, 0.9vw, 12px);
  text-transform: uppercase; color: var(--gold);
  padding-left: 0.5em; margin-bottom: 2.2rem;
}
/* accroche — Syne minuscules (règle de casse de la fiche) */
.p-title {
  font-family: var(--font-display); font-weight: 600; text-transform: lowercase;
  font-size: clamp(30px, 5.5vw, 68px); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--salt); margin-bottom: 1.6rem;
}
.p-intro {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.7; color: rgba(238,242,246,0.8); max-width: 60ch; margin-bottom: 0.9rem;
}
.p-intro .hl { color: var(--gold); }
.p-intro-en {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65; color: rgba(238,242,246,0.4); max-width: 58ch;
  margin-bottom: clamp(2.8rem, 5vh, 4rem);
}

/* carte projet vedette */
.feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3.5rem);
  border: 1px solid rgba(238,242,246,0.1); border-radius: 24px;
  background: linear-gradient(150deg, rgba(13,27,58,0.5), rgba(13,27,58,0.06));
  transition: border-color .5s ease, box-shadow .5s ease;
}
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,177,90,0.45), transparent);
}
.feature:hover { border-color: rgba(224,177,90,0.35); box-shadow: 0 30px 80px rgba(0,0,0,0.45); }

.p-label {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(10px, 0.95vw, 12px);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
}
.p-name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1; letter-spacing: -0.01em; color: var(--salt); margin-bottom: 1.4rem;
}
.p-desc {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7; color: rgba(238,242,246,0.82); margin-bottom: 1.2rem; max-width: 44ch;
}
.p-desc-en {
  font-family: var(--font-body); font-weight: 300; font-size: 12.5px; line-height: 1.6;
  color: rgba(238,242,246,0.4); margin-bottom: 2rem; max-width: 44ch;
  padding-top: 1.2rem; border-top: 1px solid rgba(238,242,246,0.07);
}
.p-cta a {
  font-family: var(--font-body); font-weight: 400; font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); text-decoration: none;
  padding: 0.95em 2.2em; border: 1px solid rgba(247,245,239,0.3); border-radius: 100px;
  background: rgba(13,27,58,0.3); display: inline-block;
  transition: all .5s cubic-bezier(.16,1,.3,1);
}
.p-cta a:hover {
  background: var(--accent); border-color: var(--accent);
  transform: translateY(-2px); letter-spacing: 0.26em; box-shadow: 0 16px 50px rgba(232,71,43,0.4);
}

/* maquette chat — preuve vive de JP */
.chat {
  border: 1px solid rgba(238,242,246,0.12); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(6,8,16,0.6), rgba(13,27,58,0.3));
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.chat-bar { display: flex; align-items: center; padding: 0.9rem 1.1rem; border-bottom: 1px solid rgba(238,242,246,0.08); }
.chat-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(238,242,246,0.18); margin-right: 0.45rem; }
.chat-bar .name { margin-left: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; color: rgba(238,242,246,0.75); }
.chat-bar .live { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(224,177,90,0.8); }
.chat-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(224,177,90,0.6); }
.chat-body { padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.bubble { font-family: var(--font-body); font-weight: 300; font-size: 13.5px; line-height: 1.55; padding: 0.7rem 1rem; border-radius: 14px; max-width: 84%; }
.bubble.bot { align-self: flex-start; background: rgba(238,242,246,0.06); color: rgba(238,242,246,0.9); border: 1px solid rgba(238,242,246,0.08); border-bottom-left-radius: 4px; }
.bubble.user { align-self: flex-end; background: rgba(43,74,130,0.5); color: var(--salt); border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.85rem 1rem; background: rgba(238,242,246,0.06); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(238,242,246,0.5); animation: blink 1.4s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
}

/* =========================================================
   SECTION 5 · ¿POR QUÉ AIVORA?  (credibilidad)
   ========================================================= */
.porque {
  position: relative;
  padding: clamp(6rem, 12vh, 11rem) clamp(1.5rem, 8vw, 10rem);
  background: var(--void);
}
.porque .inner { max-width: 1100px; margin: 0 auto; }

.q-kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(9px, 0.9vw, 12px);
  text-transform: uppercase; color: var(--gold);
  padding-left: 0.5em; margin-bottom: 2.2rem;
}
/* accroche — Syne minuscules (règle de casse de la fiche) */
.q-title {
  font-family: var(--font-display); font-weight: 600; text-transform: lowercase;
  font-size: clamp(28px, 4.8vw, 58px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--salt); max-width: 16ch; margin-bottom: 2.4rem;
}
.q-body {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.75; color: rgba(238,242,246,0.82); max-width: 64ch; margin-bottom: 1rem;
}
.q-body .hl { color: var(--gold); }
.q-en {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65; color: rgba(238,242,246,0.4); max-width: 62ch;
}

/* bande de chiffres-clés — crédibilité */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(3rem, 6vh, 5rem); padding-top: clamp(2.4rem, 4vh, 3.4rem);
  border-top: 1px solid rgba(238,242,246,0.1);
}
.stat { position: relative; }
.stat:not(:first-child)::before {
  content: ""; position: absolute; left: calc(clamp(1.5rem, 3vw, 3rem) / -2); top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(180deg, transparent, rgba(224,177,90,0.3), transparent);
}
.stat-fig {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -0.01em;
  color: var(--gold); margin-bottom: 0.8rem;
}
.stat-lbl {
  display: block; font-family: var(--font-body); font-weight: 300;
  font-size: clamp(12.5px, 1vw, 14.5px); line-height: 1.5; color: rgba(238,242,246,0.62);
  max-width: 22ch;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .stat:not(:first-child)::before { display: none; }
  .stat:not(:first-child) { padding-top: 2rem; border-top: 1px solid rgba(238,242,246,0.08); }
}

/* =========================================================
   SECTION 6 · VISIÓN  (épique, centrée)
   ========================================================= */
.vision {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: clamp(6rem, 14vh, 12rem) clamp(1.5rem, 8vw, 10rem);
  background: var(--void);
}
/* lueur dorée façon aube qui monte du bas — souffle épique, écho de l'horizon */
.v-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 80%,
              rgba(224,177,90,0.16), rgba(224,177,90,0.03) 45%, transparent 70%);
}
/* hairline doré centré en haut — continuité du motif miroir */
.vision::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 60%); height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(224,177,90,0.5) 50%, transparent);
  box-shadow: 0 0 30px 4px rgba(224,177,90,0.15);
}
.vision .inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }

.v-kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(9px, 0.9vw, 12px);
  text-transform: uppercase; color: var(--gold); text-align: center;
  margin-bottom: 2.4rem;
}
/* accroche — Syne minuscules, monumentale (l'épique vient de l'échelle, pas de la casse) */
.v-title {
  font-family: var(--font-display); font-weight: 700; text-transform: lowercase;
  font-size: clamp(36px, 8vw, 100px); line-height: 1.02; letter-spacing: -0.025em;
  color: var(--salt); margin: 0 auto 2.6rem;
}
.v-title span { display: block; }
.v-title .accent { color: var(--gold); }
.v-body {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.75; color: rgba(238,242,246,0.85); max-width: 58ch; margin: 0 auto 1.6rem;
}
.v-body .hl { color: var(--gold); }
.v-en {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65; color: rgba(238,242,246,0.4); max-width: 56ch; margin: 0 auto;
}

/* =========================================================
   NAV — apparaît au scroll (masquée sur le Hero)
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.5rem, 5vw, 3.5rem);
  background: rgba(6,8,16,0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(238,242,246,0.08);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .5s ease;
}
.nav.visible { transform: none; opacity: 1; pointer-events: auto; }
/* logo AIVORA réduit — I rouge */
.nav-logo {
  font-family: var(--font-display); font-weight: 400; text-decoration: none;
  font-size: 17px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--salt);
}
.nav-logo b { font-weight: 600; }
.nav-logo b.i { color: var(--accent); }
.nav-links { list-style: none; display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav-links a {
  font-family: var(--font-body); font-weight: 400; font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: rgba(238,242,246,0.7); transition: color .3s ease; position: relative;
}
.nav-links a:hover { color: var(--salt); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* groupe à droite : liens + sélecteur de langue, alignés sur la nav */
.nav-right { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }

/* sélecteur de langue ES · EN — sobre, dans l'identité figée de la nav
   (police, taille et letter-spacing des liens). Actif : salt plein.
   Inactif : muted et cliquable. Reste visible sur la nav condensée mobile. */
.lang-switch { display: inline-flex; align-items: baseline; gap: 0.55em; flex-shrink: 0; }
.lang-switch button {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 400; font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
  color: rgba(238,242,246,0.38); transition: color .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-switch button:not([aria-pressed="true"]):hover { color: rgba(238,242,246,0.72); }
.lang-switch button[aria-pressed="true"] { color: var(--salt); font-weight: 500; cursor: default; }
.lang-switch .lang-sep {
  color: rgba(238,242,246,0.24); font-size: 11px; line-height: 1;
  user-select: none; transform: translateY(-0.5px);
}

/* =========================================================
   SECTION 7 · CONTACTO
   ========================================================= */
.contacto {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(7rem, 16vh, 13rem) clamp(1.5rem, 8vw, 10rem) clamp(5rem, 10vh, 8rem);
  background: var(--void);
}
.contacto::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 60%); height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(224,177,90,0.5) 50%, transparent);
  box-shadow: 0 0 30px 4px rgba(224,177,90,0.15);
}
.contacto .inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.c-kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.5em; font-size: clamp(9px, 0.9vw, 12px);
  text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 2.2rem;
}
/* accroche — Syne minuscules */
.c-title {
  font-family: var(--font-display); font-weight: 700; text-transform: lowercase;
  font-size: clamp(34px, 6.5vw, 84px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--salt); margin: 0 auto 2rem;
}
.c-sub {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.7; color: rgba(238,242,246,0.82); max-width: 50ch; margin: 0 auto 2.8rem;
}
.c-cta { margin-bottom: 1.6rem; }
.c-cta a {
  font-family: var(--font-body); font-weight: 400; font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); text-decoration: none;
  padding: 1.15em 3em; border: 1px solid rgba(247,245,239,0.35); border-radius: 100px;
  background: rgba(13,27,58,0.3); backdrop-filter: blur(8px); display: inline-block;
  transition: all .5s cubic-bezier(.16,1,.3,1);
}
.c-cta a:hover {
  background: var(--accent); border-color: var(--accent);
  letter-spacing: 0.3em; transform: translateY(-2px); box-shadow: 0 16px 50px rgba(232,71,43,0.4);
}
.c-micro {
  font-family: var(--font-body); font-weight: 300; font-size: 13px;
  color: rgba(238,242,246,0.5); margin-bottom: 2.4rem;
}
/* bloc coordonnées — sobre, premium (pas un CTA) */
.c-info {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: clamp(2rem, 5vw, 4rem); margin-bottom: 2.8rem;
}
.c-item { display: flex; flex-direction: column; gap: 0.6rem; text-align: center; position: relative; }
.c-item:not(:first-child)::before {
  content: ""; position: absolute; left: calc(clamp(2rem, 5vw, 4rem) / -2); top: 4px; bottom: 4px;
  width: 1px; background: linear-gradient(180deg, transparent, rgba(224,177,90,0.3), transparent);
}
.c-item-label {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.c-item-value {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.5; color: rgba(238,242,246,0.85); text-decoration: none;
  transition: color .3s ease;
}
a.c-item-value:hover { color: var(--gold); }

.c-en {
  font-family: var(--font-body); font-weight: 300; font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.65; color: rgba(238,242,246,0.38); max-width: 56ch; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(238,242,246,0.07);
}

@media (max-width: 600px) {
  .c-info { flex-direction: column; align-items: center; gap: 2rem; }
  .c-item:not(:first-child)::before { display: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; background: var(--void); text-align: center;
  border-top: 1px solid rgba(224,177,90,0.18);
  padding: clamp(3.5rem, 7vh, 6rem) clamp(1.5rem, 8vw, 10rem) clamp(2.5rem, 5vh, 4rem);
}
.f-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.f-logo {
  font-family: var(--font-display); font-weight: 400; text-decoration: none;
  font-size: 22px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--salt);
}
.f-logo b { font-weight: 600; }
.f-logo b.i { color: var(--accent); }
.f-tagline {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.6vw, 19px);
  color: var(--salt); letter-spacing: 0.01em;
}
.f-tagline .en {
  display: block; font-family: var(--font-body); font-weight: 300;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(224,177,90,0.6); margin-top: 0.6rem;
}
.f-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.f-nav a {
  font-family: var(--font-body); font-weight: 400; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: rgba(238,242,246,0.65); transition: color .3s ease;
}
.f-nav a:hover { color: var(--gold); }
.f-meta {
  font-family: var(--font-body); font-weight: 300; font-size: 11.5px; letter-spacing: 0.08em;
  color: rgba(238,242,246,0.38); margin-top: 0.8rem;
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  .corner { top: 22px; font-size: 9px; letter-spacing: 0.2em; }
  .corner.l { left: 18px; } .corner.r { right: 18px; }
  .kicker { letter-spacing: 0.32em; margin-bottom: 1.6rem; }
  .tagline { margin-top: 2.4rem; padding: 0 1.5rem; }
  .manifiesto { padding: 6rem 1.6rem; min-height: auto; }
  .m-kicker { letter-spacing: 0.32em; margin-bottom: 1.6rem; }
  .servicios { padding: 5rem 1.6rem; }
  .s-kicker { letter-spacing: 0.32em; }
  .proyectos { padding: 5rem 1.6rem; }
  .p-kicker { letter-spacing: 0.32em; }
  .porque { padding: 5rem 1.6rem; }
  .q-kicker { letter-spacing: 0.32em; }
  .vision { padding: 6rem 1.6rem; min-height: auto; }
  .v-kicker { letter-spacing: 0.32em; }
  .contacto { padding: 6rem 1.6rem 4rem; }
  .c-kicker { letter-spacing: 0.32em; }
  /* nav condensée : on garde le logo (ancre accueil), les liens passent au footer */
  .nav { padding: 0.8rem 1.2rem; }
  .nav-logo { font-size: 15px; }
  .nav-links { display: none; }
}

/* =========================================================
   MODALE DE CONTACTO — chat Jean-Pierre (mode démo)
   Réutilise .bubble / .typing pour rester cohérent avec le site.
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.modal.open { opacity: 1; visibility: visible; }

/* overlay sombre + flou — tap = fermeture */
.modal-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: rgba(6,8,16,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* fenêtre centrée — hauteur pilotée par var(--modal-h) (dvh/svh, ajustée au clavier iOS) */
.modal-window {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  max-height: var(--modal-h, 85vh);
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(13,27,58,0.96), rgba(6,8,16,0.98));
  border: 1px solid rgba(224,177,90,0.28); border-radius: 22px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  overflow: hidden;
  transform: translateY(14px) scale(0.985);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.modal.open .modal-window { transform: none; }
/* poignée de glissement (swipe down) — visible sur mobile uniquement */
.modal-grabber { display: none; }

.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(238,242,246,0.18); background: rgba(6,8,16,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(238,242,246,0.85); font-size: 16px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.modal-close:hover, .modal-close:active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* en-tête */
.modal-head {
  flex-shrink: 0;
  padding: 1.6rem 3.4rem 1.2rem 1.6rem; border-bottom: 1px solid rgba(238,242,246,0.08);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.modal-id { display: flex; align-items: center; gap: 0.7rem; }
.modal-avatar {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid rgba(224,177,90,0.5); background: rgba(13,27,58,0.6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em; color: var(--gold);
}
.modal-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; color: var(--salt); }
.modal-name .live {
  margin-left: 0.5rem; font-family: var(--font-body); font-weight: 300; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(224,177,90,0.85);
}
.modal-sub { font-family: var(--font-body); font-weight: 300; font-size: 13px; line-height: 1.5; color: rgba(238,242,246,0.55); }

/* zone de chat — SEULE zone qui défile */
.modal-chat {
  flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.85rem; min-height: 140px;
}

/* champ de saisie — ancré en bas, ne défile pas */
.modal-input {
  flex-shrink: 0;
  display: flex; gap: 0.6rem; padding: 1rem 1.2rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(238,242,246,0.08); background: rgba(6,8,16,0.4);
}
.modal-input input {
  flex: 1; min-width: 0; background: rgba(238,242,246,0.05);
  border: 1px solid rgba(238,242,246,0.12); border-radius: 100px;
  padding: 0.8em 1.2em; color: var(--salt);
  font-family: var(--font-body); font-weight: 300;
  /* 16px : empêche le zoom auto d'iOS au focus (qui décadrait la modale et masquait le texte saisi) */
  font-size: 16px;
  outline: none; transition: border-color .3s ease;
}
.modal-input input::placeholder { color: rgba(238,242,246,0.4); }
.modal-input input:focus { border-color: rgba(224,177,90,0.5); }
.modal-input button {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  border: none; background: var(--accent); color: #fff;
  font-size: 17px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.modal-input button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(232,71,43,0.45); }

/* verrou du scroll quand la modale est ouverte */
body.modal-open { overflow: hidden; }

/* mobile : plein écran, hauteur réelle (dvh/svh) gérée par var(--modal-h) */
@media (max-width: 560px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal-window {
    max-width: none; width: 100%;
    /* fallback puis dvh : suit la barre d'adresse Safari ; JS l'écrase via --modal-h au clavier */
    height: 100vh;
    height: var(--modal-h, 100dvh);
    max-height: var(--modal-h, 100dvh);
    border-radius: 0; border: none;
    /* glissement vertical pour le swipe-down */
    transition: transform .45s cubic-bezier(.16,1,.3,1);
  }
  /* la fenêtre entre par le bas sur mobile */
  .modal-window { transform: translateY(100%); }
  .modal.open .modal-window { transform: translateY(0); }

  /* poignée tactile en haut */
  .modal-grabber {
    display: block; position: absolute; top: 8px; left: 50%; z-index: 5;
    width: 42px; height: 5px; margin-left: -21px; border-radius: 100px;
    background: rgba(238,242,246,0.28); cursor: grab;
  }
  .modal-head { padding-top: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .modal { transition: opacity .2s ease, visibility .2s ease; }
  .modal-window { transition: none; transform: none; }
  .modal.open .modal-window { transform: none; }
}

/* =========================================================
   BULLE FLOTTANTE — assistant Jean-Pierre (desktop + mobile)
   Couleurs Aivora · premium et discrète · ouvre la modale.
   ========================================================= */
.jp-fab {
  position: fixed; z-index: 90;
  right: clamp(16px, 4vw, 30px);
  bottom: clamp(16px, 4vw, 30px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(16px, 4vw, 30px));
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem 1.05rem 0.45rem 0.45rem;
  border-radius: 100px; cursor: pointer;
  border: 1px solid rgba(224,177,90,0.42);
  background: linear-gradient(150deg, rgba(13,27,58,0.94), rgba(6,8,16,0.96));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.5);
  color: var(--salt); font-family: var(--font-display);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1),
              border-color .3s ease, box-shadow .3s ease;
}
.jp-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.jp-fab:hover {
  border-color: rgba(224,177,90,0.75);
  box-shadow: 0 22px 56px rgba(0,0,0,0.6), 0 0 32px rgba(224,177,90,0.16);
}
.jp-fab:active { transform: scale(0.97); }

.jp-fab-avatar {
  position: relative; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: var(--gold);
  border: 1px solid rgba(224,177,90,0.55);
  background: radial-gradient(circle at 32% 26%, rgba(43,74,130,0.95), rgba(6,8,16,0.96));
}
.jp-fab-dot {
  position: absolute; top: 1px; right: 1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); border: 2px solid #0a1124;
  box-shadow: 0 0 0 0 rgba(224,177,90,0.55);
  animation: jpPulse 2.4s ease-out infinite;
}
.jp-fab-label {
  display: flex; flex-direction: column; line-height: 1.15; text-align: left;
}
.jp-fab-label { font-weight: 600; font-size: 14px; letter-spacing: 0.01em; }
.jp-fab-label small {
  font-family: var(--font-body); font-weight: 300; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(224,177,90,0.85);
  margin-top: 2px;
}
@keyframes jpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,177,90,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(224,177,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,177,90,0); }
}
/* masquée quand la modale est ouverte */
body.modal-open .jp-fab { opacity: 0; pointer-events: none; transform: translateY(12px) scale(0.96); }

/* mobile : pastille ronde compacte (avatar seul) */
@media (max-width: 560px) {
  .jp-fab { padding: 0.4rem; gap: 0; }
  .jp-fab-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jp-fab { transition: opacity .3s ease; }
  .jp-fab-dot { animation: none; }
}

/* =========================================================
   CADRE NAVIGATEUR — aperçu de site cliquable (style Lusion)
   Lien-image (pas un CTA). Identité figée : bordure or, void/deep.
   ========================================================= */
.browser {
  display: block; position: relative; overflow: hidden; text-decoration: none;
  border: 1px solid rgba(224,177,90,0.28); border-radius: 16px;
  background: linear-gradient(165deg, rgba(13,27,58,0.6), rgba(6,8,16,0.9));
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, border-color .5s ease;
}
.browser:hover {
  transform: translateY(-4px); border-color: rgba(224,177,90,0.5);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 40px rgba(224,177,90,0.12);
}
/* barre de navigateur stylisée */
.browser-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(238,242,246,0.08);
  background: rgba(6,8,16,0.5);
}
.browser-bar .bdot { width: 9px; height: 9px; border-radius: 50%; background: rgba(238,242,246,0.18); }
.browser-url {
  margin-left: 0.6rem; font-family: var(--font-body); font-weight: 300; font-size: 11px;
  letter-spacing: 0.06em; color: rgba(238,242,246,0.55);
  background: rgba(238,242,246,0.05); border-radius: 100px; padding: 0.25em 0.95em;
}
/* capture */
.browser-shot {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--void);
}
.browser-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.browser:hover .browser-shot img { transform: scale(1.04); }
/* variante vidéo — iframe YouTube responsive 16:9 (garde son ratio sur mobile) */
.browser-shot--video { aspect-ratio: 16 / 9; }
.browser-shot iframe { width: 100%; height: 100%; display: block; border: 0; }

/* aperçu MYR dans ¿Por qué Aivora? — largeur contenue */
.porque .browser { max-width: 720px; margin-top: clamp(2.5rem, 5vh, 4rem); }

@media (prefers-reduced-motion: reduce) {
  .browser, .browser-shot img { transition: none; }
  .browser:hover { transform: none; }
  .browser:hover .browser-shot img { transform: none; }
}
