/* ============================================================
   ROVIRA — Feuille de style principale
   ------------------------------------------------------------
   Sommaire :
     1.  Tokens (couleurs, rayons, tailles)
     2.  Base & reset
     3.  En-tête / navigation
     4.  Hero
     5.  Sections génériques
     6.  Méthode (process)
     7.  Points numérotés (pourquoi Rovira)
     8.  Portfolio
     9.  Offres
    10.  Blocs services (identité / stratégie)
    11.  Garanties
    12.  Témoignages
    13.  À propos
    14.  FAQ
    15.  Contact & formulaire
    16.  Barre CTA flottante
    17.  Pied de page cinématique
    18.  Accessibilité (focus, mouvement réduit)
   ============================================================ */


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

/* ============================================================
   DESIGN TOKENS
   Couleurs, rayons et tailles réutilisés dans tout le site.
   Modifier ici change l'ensemble du site d'un coup.
   ============================================================ */
/* <picture> invisible pour la mise en page : l'image garde exactement sa taille */
picture { display: contents; }

:root {
  /* Couleurs */
  --bg: #0d1b2e;
  --bg-2: #122540;
  --bg-3: #172d4d;
  --accent: #5b9bf0;
  --accent-dim: #2f5f9e;
  --text: #f5f2ec;
  --text-dim: #a3adc2;
  --border: #1f3350;

  /* Rayons d'arrondi */
  --radius-sm: 6px;      /* boutons, champs de formulaire */
  --radius-md: 12px;     /* cartes */
  --radius-pill: 100px;  /* pastilles, badges */

  /* Taille de texte la plus réutilisée */
  --text-sm: 0.85rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-dim); color: var(--text); }

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(13, 27, 46, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-mark { flex-shrink: 0; transform-origin: center; }
.logo-mark path { stroke-dasharray: 0 1; transition: stroke-dasharray 0.4s ease; }
@keyframes logo-pulse {
  0% { transform: scale(1); }
  30% { transform: scale(0.94); }
  65% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.logo:hover .logo-mark { animation: logo-pulse 0.5s ease; }

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.nav-links a { position: relative; padding-bottom: 4px; white-space: nowrap; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: var(--text-sm);
  background: var(--accent);
  color: #0d1b2e;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 560px) { .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: rgba(91, 155, 240, 0.1);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.7s ease forwards;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.7s ease 0.1s forwards;
}

.hero p.lede {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: rise 0.7s ease 0.2s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  opacity: 0;
  animation: rise 0.7s ease 0.3s forwards;
}

.hero-price {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  opacity: 0;
  animation: rise 0.7s ease 0.4s forwards;
}
.hero-price strong { color: var(--accent); font-weight: 600; }
.hero-soft-cta {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0;
  animation: rise 0.7s ease 0.5s forwards;
}
.hero-soft-cta a { color: var(--accent); }
.hero-soft-cta a:hover { text-decoration: underline; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  position: relative;
  display: inline-block;
  background: var(--accent);
  color: #0d1b2e;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 80px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.55), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91, 155, 240, 0.3); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent-dim); box-shadow: none; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 0.78rem; color: var(--text-dim);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-cue span { width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); animation: pulse-line 1.8s ease-in-out infinite; }
@keyframes pulse-line { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- SECTIONS ---------- */
section { padding: 6rem clamp(1.5rem, 5vw, 4rem); max-width: 1100px; margin: 0 auto; }

.section-label { font-size: var(--text-sm); color: var(--accent); margin-bottom: 0.75rem; }
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 620px;
}
.section-sub { color: var(--text-dim); max-width: 560px; margin-bottom: 3rem; font-size: 1.02rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- PROCESS ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.process-step { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.process-num { font-family: 'Fraunces', serif; font-size: 1.7rem; color: var(--accent); margin-bottom: 0.8rem; display: block; }
.process-step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.94rem; color: var(--text-dim); }

/* ---------- WHY ---------- */
@media (max-width: 780px) {
}

/* ---------- PORTFOLIO (live previews) ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 2rem; }

.project-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.project-card:hover { border-color: var(--accent-dim); transform: translateY(-4px); }

.project-preview {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transform-origin: top center;
  animation: slow-pan 14s ease-in-out infinite alternate;
}
@keyframes slow-pan {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .project-preview img { animation: none; }
}

.project-body { padding: 1.6rem 1.8rem 1.8rem; }
.project-tag { font-size: 0.78rem; color: var(--accent); margin-bottom: 0.6rem; }
.project-name { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 1.1rem; }
.project-link { font-size: var(--text-sm); color: var(--accent); display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- OFFER ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.offer-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.offer-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2.4rem; transition: border-color 0.2s ease; }
.offer-card.featured { border-color: var(--accent-dim); background: var(--bg-3); transform: scale(1.03); box-shadow: 0 20px 45px rgba(0,0,0,0.35); }
@media (max-width: 900px) { .offer-card.featured { transform: none; } }
.offer-badge-reco { color: var(--accent); font-weight: 600; }
.offer-value-note { font-size: 0.8rem; color: var(--accent); margin: -0.8rem 0 1.2rem; }
.offer-card:hover { border-color: var(--accent-dim); }
.offer-badge { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.9rem; }

/* ---------- PHOTO PLACEHOLDER ---------- */
.photo-slot {
  width: 100%; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; text-align: center; padding: 2rem;
  min-height: 260px; color: var(--text-dim); font-size: var(--text-sm);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- INTRO (Créer. Structurer. Faire grandir.) ---------- */

/* ---------- NUMBERED POINTS (agence pensée pour vous) ---------- */
.points-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 780px) { .points-split { grid-template-columns: 1fr; } }
.points-list { display: flex; flex-direction: column; gap: 1.6rem; }
.point-item { display: flex; gap: 1.1rem; }
.point-num { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; width: 2.2rem; }
.point-item h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3rem; }
.point-item p { font-size: 0.9rem; color: var(--text-dim); }

/* ---------- FEATURE BLOCK (identité / stratégie) ---------- */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse .feature-photo { order: 2; }
@media (max-width: 780px) { .feature-block, .feature-block.reverse .feature-photo { grid-template-columns: 1fr; order: 0; } }
.feature-block h2 { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 600; margin-bottom: 1rem; }
.feature-block p { color: var(--text-dim); margin-bottom: 1.3rem; }

/* ---------- OFFER CARD PHOTO HEADER ---------- */
.offer-photo { width: 100%; height: 110px; border-radius: 10px; margin-bottom: 1.2rem; }
.offer-photo { min-height: unset; padding: 0.5rem; }
.offer-name { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 0.6rem; }
.offer-price { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 600; color: var(--accent); margin-bottom: 1.4rem; }
.offer-list { list-style: none; font-size: 0.94rem; color: var(--text-dim); }
.offer-list li { padding: 0.55rem 0; border-top: 1px solid var(--border); }
.offer-list li:first-child { border-top: none; }
.offer-more { display: inline-block; margin-top: 1.4rem; font-size: 0.88rem; color: var(--accent); }
.offer-note { margin-top: 2rem; font-size: 0.88rem; color: var(--text-dim); }
.audit-offer { font-size: 0.92rem; color: var(--text-dim); margin: -1.5rem 0 3rem; }
.audit-offer a { color: var(--accent); }
.audit-offer a:hover { text-decoration: underline; }

/* ---------- GUARANTEES ---------- */
.guarantee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

#particles-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
#shader-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}
nav, .hero, #shader-zone, #contact, footer { position: relative; z-index: 1; }
#particles-canvas {
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 35%, transparent 100%);
}
#contact .section-label, #contact .section-title, #contact .contact-box { position: relative; z-index: 1; }
#garanties .section-label, #garanties .section-title, #garanties .guarantee-grid { position: relative; z-index: 1; }
.guarantee-card { text-align: center; padding: 1.5rem; }
.guarantee-card .g-num { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--accent); margin-bottom: 0.6rem; }
.guarantee-card p { font-size: 0.9rem; color: var(--text-dim); }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem; transition: border-color 0.25s ease, transform 0.25s ease; }
.testi-card:hover { border-color: var(--accent-dim); transform: translateY(-4px); }
.testi-quote { font-family: 'Fraunces', serif; font-size: 1.1rem; font-style: italic; margin-bottom: 1.2rem; color: var(--text); }
.testi-name { font-size: 0.88rem; color: var(--accent); font-weight: 600; }
.testi-role { font-size: 0.82rem; color: var(--text-dim); }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }
.about-text { font-size: 1.05rem; color: var(--text-dim); }
.about-text p + p { margin-top: 1.2rem; }
.about-facts { display: flex; flex-direction: column; gap: 1.5rem; }
.fact { border-top: 1px solid var(--border); padding-top: 1rem; }
.fact-num { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600; color: var(--accent); }
.fact-label { font-size: var(--text-sm); color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; padding: 1.4rem 0;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-icon { font-size: 1.3rem; color: var(--accent); transition: transform 0.25s ease; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 0.94rem; color: var(--text-dim); }
.faq-item.open .faq-answer { max-height: 220px; padding-bottom: 1.4rem; }

/* ---------- CONTACT ---------- */
.contact-box { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 780px) { .contact-box { grid-template-columns: 1fr; } }
.contact-channels { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-channel { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; color: var(--text-dim); transition: color 0.15s ease; }
.contact-channel:hover { color: var(--accent); }
.contact-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: var(--text-sm); color: var(--accent); flex-shrink: 0; }
form { display: flex; flex-direction: column; gap: 1rem; }
input, textarea, select { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.92rem; padding: 0.8rem 1rem; outline: none; transition: border-color 0.15s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-dim); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adc2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.4rem; }
select option { background: var(--bg-2); color: var(--text); }
.form-status { margin: 0.9rem 0 0; font-size: 0.88rem; min-height: 1.2em; }
.form-reassure { margin: 0.7rem 0 0; font-size: 0.78rem; color: var(--text-dim); }
.form-privacy { margin: 0.4rem 0 0; font-size: 0.72rem; line-height: 1.5; color: var(--text-dim); opacity: 0.8; }
.engagement-intro { margin-bottom: 2rem; }
#contact { position: relative; overflow: hidden; }
.form-status.ok { color: #6fd38c; }
.form-status.err { color: #ef8686; }

.sticky-cta {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 140%);
  z-index: 200;
  display: flex; align-items: center; gap: 1.1rem;
  padding: 0.7rem 0.7rem 0.7rem 1.4rem;
  background: rgba(18,37,64,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  font-size: var(--text-sm); color: var(--text-dim);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.sticky-cta.visible { transform: translate(-50%, 0); }
.sticky-cta strong { color: var(--text); }
.sticky-cta .btn { padding: 0.6rem 1.3rem; font-size: var(--text-sm); white-space: nowrap; }
@media (max-width: 640px) {
  .sticky-cta {
    left: 0.8rem; right: 0.8rem; transform: translateY(140%); width: auto;
    border-radius: 16px; padding: 0.7rem; gap: 0.6rem; justify-content: center;
  }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta span { display: none; }
  .sticky-cta .btn { flex: 1; text-align: center; padding: 0.7rem 0.8rem; }
}
textarea { resize: vertical; min-height: 90px; }

/* ---------- CINEMATIC FOOTER ---------- */
.cine-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 560px;
}
.cine-aurora {
  position: absolute; left: 50%; top: 55%;
  width: 80vw; height: 55vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(91,155,240,0.18) 0%, rgba(91,155,240,0.07) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none; z-index: 0;
  animation: cine-breathe 8s ease-in-out infinite alternate;
}
@keyframes cine-breathe {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
.cine-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(245,242,236,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,242,236,0.035) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.cine-giant {
  position: absolute; bottom: -7vh; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap; z-index: 0;
  pointer-events: none; user-select: none;
  font-family: 'Fraunces', serif;
  font-size: 24vw; line-height: 0.75; font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,242,236,0.06);
  background: linear-gradient(180deg, rgba(245,242,236,0.10) 0%, transparent 60%);
  -webkit-background-clip: text; background-clip: text;
}
.cine-marquee {
  position: absolute; top: 2.5rem; left: -4%; width: 108%;
  overflow: hidden; z-index: 1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(13,27,46,0.6);
  backdrop-filter: blur(8px);
  padding: 0.9rem 0;
  transform: rotate(-2deg);
}
.cine-marquee-track { display: flex; width: max-content; animation: cine-scroll 40s linear infinite; }
.cine-marquee-item {
  display: flex; align-items: center; gap: 2.2rem; padding: 0 1.1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
}
.cine-marquee-item .sep { color: var(--accent); opacity: 0.6; }
@keyframes cine-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cine-main {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.4rem; margin: 7rem auto 0; max-width: 900px; width: 100%;
}
.cine-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 700; letter-spacing: -0.02em; text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--text) 0%, rgba(245,242,236,0.4) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cine-links, .cine-links-sm { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

.cine-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.6rem; border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 500; color: var(--text-dim);
  background: linear-gradient(145deg, rgba(245,242,236,0.04) 0%, rgba(245,242,236,0.012) 100%);
  border: 1px solid rgba(245,242,236,0.09);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5), inset 0 1px 1px rgba(245,242,236,0.10);
  backdrop-filter: blur(16px);
  transition: background 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease, color 0.3s ease, box-shadow 0.4s ease;
  will-change: transform;
}
.cine-pill-lg { padding: 1.05rem 2.4rem; font-size: 0.95rem; font-weight: 600; color: var(--text); }
.cine-pill:hover {
  color: var(--text);
  background: linear-gradient(145deg, rgba(91,155,240,0.14) 0%, rgba(245,242,236,0.02) 100%);
  border-color: rgba(91,155,240,0.35);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6), inset 0 1px 1px rgba(245,242,236,0.2);
}

.cine-bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-top: 4rem;
}
.cine-copy { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }
.cine-top {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  background: linear-gradient(145deg, rgba(245,242,236,0.04) 0%, rgba(245,242,236,0.012) 100%);
  border: 1px solid rgba(245,242,236,0.09);
  backdrop-filter: blur(16px);
  transition: color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.cine-top:hover { color: var(--text); border-color: rgba(91,155,240,0.35); }
.cine-top svg { transition: transform 0.3s ease; }
.cine-top:hover svg { transform: translateY(-3px); }

@media (max-width: 780px) {
  .cine-footer { min-height: 480px; padding-top: 4rem; }
  .cine-main { margin-top: 6rem; }
  .cine-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-aurora, .cine-marquee-track { animation: none; }
}


@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   18. ACCESSIBILITÉ
   Ajouts qui ne changent rien visuellement au repos, mais
   rendent le site utilisable au clavier et aux lecteurs d'écran.
   ============================================================ */

/* Lien d'évitement : caché jusqu'à ce qu'on le cible au clavier */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--accent);
  color: #0d1b2e;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Contour visible uniquement pour la navigation au clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Étiquettes de formulaire réservées aux lecteurs d'écran :
   le design d'origine utilise des placeholders, on garde ce visuel. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Titres convertis depuis des <div> : on fige poids et taille pour
   neutraliser les styles par défaut du navigateur (h3/h4 en gras). */
.project-name, .offer-name, .testi-name, .fact-label { font-weight: inherit; }
.project-name { font-weight: 600; }
.testi-name   { font-weight: 600; }
.offer-name   { font-weight: 400; }
