/* Reyvo — feuille de style unique.
   Le bloc "Modèle" est repris à l'identique de reyvo-site.html.
   Les ajouts (polices locales, classes remplaçant les styles inline,
   accessibilité, pages annexes) sont regroupés en fin de fichier. */

/* ---------- Polices auto-hébergées (sous-ensemble latin, SIL OFL) ---------- */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/saira-condensed-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: 'Saira Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/saira-condensed-800-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;
}
/* Inter variable : un seul fichier couvre les graisses 400, 500, 600 et 700 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.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;
}

/* ====================== Modèle (reyvo-site.html) ====================== */
/* Layout : une colonne centrée de 1180 px max, sections empilées, header sur une ligne (logo à gauche, menu + bouton à droite) */
:root {
  --bg: #0B0614;
  --bg-2: #130A22;
  --card: #1A0F2E;
  --violet: #7E22CE;
  --neon: #C77DFF;
  --blue: #60A5FA;
  --cyan: #22D3EE;
  --pink: #FF2E88;
  --text: #F3F4F2;
  --muted: #BBB0D3;
  --line: rgba(199, 125, 255, 0.18);
  --f-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: var(--neon); }
a:hover { color: #E0AAFF; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skew { display: inline-block; transform: skewX(-10deg); }
.display { font-family: var(--f-display); font-weight: 800; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.eyebrow { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }

/* ---------- Header ---------- */
.hero-band { position: relative; overflow: hidden;
  background: radial-gradient(55% 75% at 92% 72%, rgba(37, 99, 235, .5) 0%, rgba(37, 99, 235, 0) 70%), radial-gradient(90% 120% at 15% 0%, #7E22CE 0%, #3B0764 45%, #0B0614 100%); }
header.top { position: relative; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 24px; height: 88px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand svg { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(167, 139, 250, .8)); }
.brand .display { font-size: 32px; text-shadow: 0 0 18px rgba(139, 92, 246, .9); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.links { display: flex; align-items: center; gap: 28px; }
.links a { color: #E2D9F5; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.links a:hover { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: box-shadow .25s, transform .25s; }
.btn-main { color: #0B0614; font-weight: 700; background: #C77DFF; box-shadow: 0 0 32px rgba(199, 125, 255, .45); }
.btn-main:hover { color: #0B0614; background: #D49BFF; transform: translateY(-1px); box-shadow: 0 0 40px rgba(199, 125, 255, .65); }
.nav .btn-main { min-height: 44px; padding: 0 20px; border-radius: 10px; box-shadow: none; }
.btn-ghost { color: var(--text); background: rgba(11, 6, 20, .25); border: 1px solid #3B6FD8; box-shadow: inset 0 0 14px rgba(96, 165, 250, .25); }
.btn-ghost:hover { color: var(--text); border-color: #60A5FA; box-shadow: inset 0 0 18px rgba(96, 165, 250, .4), 0 0 18px rgba(96, 165, 250, .25); }
.short { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 96px; position: relative; }
.hero .kicker { margin: 0 0 18px; color: #7DB4FF; font-weight: 600; font-size: 17px; text-shadow: 0 0 14px rgba(96, 165, 250, .6); }
.hero-line { height: 2px; background: linear-gradient(90deg, rgba(199,125,255,0) 0%, #C77DFF 30%, #60A5FA 70%, rgba(96,165,250,0) 100%); box-shadow: 0 0 18px rgba(96, 165, 250, .85); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin: 0 0 24px; font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.grad { background: linear-gradient(95deg, var(--neon), var(--blue) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #D8CCF0; font-size: 19px; max-width: 560px; margin: 0 0 36px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.phone { width: 340px; max-width: 100%; margin-inline: auto; border-radius: 36px; padding: 12px;
  background: #1C0D33; border: 1px solid #5B2A91; box-shadow: -24px 0 60px rgba(124, 58, 237, .5), 24px 20px 70px rgba(37, 99, 235, .5); }
.screen { border-radius: 26px; overflow: hidden; background: #110720; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #241040; border-bottom: 1px solid #3A1A5E; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, #4C1D95 0%, #2A1F80 55%, #1E1B6B 100%); }
.chat-head b { display: block; font-size: 14px; }
.chat-head b { font-weight: 600; font-size: 15px; }
.chat-head small { color: #7DB4FF; font-size: 12px; }
.msgs { padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 10px; }
.stamp { align-self: center; font-size: 11px; color: #A996C9; }
.b { max-width: 82%; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.b.c { align-self: flex-end; background: #4C1D95; border-radius: 14px 14px 4px 14px; }
.b.ia { align-self: flex-start; background: #221036; border: 1px solid #5B2A91; border-radius: 14px 14px 14px 4px; }
.toast { align-self: center; margin-top: 6px; font-size: 12px; color: #93C5FD; background: rgba(96, 165, 250, .14); padding: 6px 12px; border-radius: 999px; }

/* Séparateur néon bleu */
.streak { height: 1px; background: linear-gradient(90deg, transparent, rgba(96,165,250,.7), rgba(199,125,255,.7), transparent); box-shadow: 0 0 12px rgba(96,165,250,.5); }

/* ---------- Sections ---------- */
section.s { padding-block: 96px; }
.s-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.s-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); }
.s-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 60ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px; border-radius: 22px; background: linear-gradient(160deg, #22104A 0%, #140A27 100%); border: 1px solid var(--line); }
.card h3 { margin: 16px 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, #4C1D95, #1E1B6B); color: var(--cyan); }
.ic.pink { background: rgba(255, 46, 136, .12); color: var(--pink); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step .n { font-family: var(--f-display); font-weight: 800; font-size: 76px; line-height: .9; display: inline-block; transform: skewX(-10deg);
  background: linear-gradient(180deg, var(--neon), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 10px 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

.trades { display: flex; flex-wrap: wrap; gap: 12px; }
.trade { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(126, 34, 206, .12); font-weight: 500; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about > * { min-width: 0; }
.photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 26px; border: 1px dashed rgba(199,125,255,.45); display: grid; place-items: center;
  text-align: center; padding: 28px; color: var(--muted); background: radial-gradient(120% 90% at 30% 10%, #4C1D95, #1E1B6B 60%, #0F0A22); }
.about h2 { margin: 14px 0 18px; font-size: clamp(34px, 4.4vw, 54px); }
.about p { color: var(--muted); font-size: 17px; max-width: 58ch; }
.quote { margin-top: 26px; padding: 22px 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.quote p { margin: 0 0 6px; font-style: italic; }
.ph { color: #F9A8D4; }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
details { border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
details[open] { border-color: rgba(199,125,255,.5); }
summary { cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 24px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.cta { text-align: center; padding-block: 110px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(126, 34, 206, .35), transparent 70%); }
.cta h2 { margin: 0 auto 18px; font-size: clamp(44px, 7vw, 96px); }
.cta p { color: var(--muted); font-size: 18px; margin: 0 auto 32px; max-width: 46ch; }
.cta .ctas { justify-content: center; }

footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer .wrap > div { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
.links-m { display: none; }
@media (max-width: 960px) {
  .links { display: none; }
  .links-m { display: block; }
  .links-m .row { display: flex; justify-content: space-evenly; align-items: center; gap: 12px;
    border-top: 1px solid rgba(226, 217, 245, .14); border-bottom: 1px solid rgba(226, 217, 245, .14); }
  .links-m a { color: #E2D9F5; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
  .links-m a:hover { color: #fff; }
  .links-m .s-lbl { display: none; }
  .hero-grid, .about { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .photo { max-width: 360px; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav { height: 72px; }
  .brand .display { font-size: 28px; }
  .btn { padding: 0 18px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .links-m .l-lbl { display: none; }
  .links-m .s-lbl { display: inline; }
  .hero { padding-block: 24px 64px; }
  .hero .kicker { font-size: 15px; }
  .lead { font-size: 17px; }
  section.s { padding-block: 72px; }
}

/* ====================== Ajouts ====================== */

/* Remplacent les attributs style="" du modèle (la CSP interdit les styles inline) */
/* Le dégradé de l’accueil touche les bords de la fenêtre */
body { margin: 0; }

.c-pink { color: var(--pink); }
.c-blue { color: var(--blue); }
.c-cyan { color: var(--cyan); }
.c-neon { color: var(--neon); }
.bg-alt { background: var(--bg-2); }
.about-gap { margin-top: 80px; }

/* Bloc photo en attendant la vraie photo : logo R aiguille en grand.
   Bordure rendue transparente (et non supprimée) pour garder exactement la même taille. */
.photo-logo { border-color: transparent; }
.photo-logo svg { width: 62%; height: auto; filter: drop-shadow(0 0 22px rgba(167, 139, 250, .7)); }

/* Défilement doux vers les ancres, désactivé si l'utilisateur réduit les animations.
   Le header n'est pas collant : aucune compensation de hauteur n'est nécessaire,
   sauf l'éventuelle encoche (safe-area) couverte par body::before. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
[id] { scroll-margin-top: env(safe-area-inset-top, 0px); }

/* Accessibilité : texte réservé aux lecteurs d'écran, lien d'évitement */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: #C77DFF; color: #0B0614; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #0B0614; }

/* Zones cliquables de 44 px minimum, sans changer le rendu */
.brand { min-height: 44px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
footer a.f-plain { color: inherit; text-decoration: none; }
footer a.f-plain:hover { color: var(--text); text-decoration: underline; }

/* ---------- Pages annexes (mentions légales, 404) ---------- */
.page-head { padding-block: 40px 72px; }
.page-head h1 { margin: 14px 0 0; font-size: clamp(40px, 6vw, 72px); }
.legal { max-width: 760px; }
.legal h2 { margin: 48px 0 12px; font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--text); font-weight: 600; }
.notfound { text-align: center; padding-block: 56px 110px; }
.notfound h1 { margin: 14px auto 18px; font-size: clamp(44px, 7vw, 96px); }
.notfound p { color: var(--muted); font-size: 18px; margin: 0 auto 32px; max-width: 46ch; }
.notfound .ctas { justify-content: center; }
