/* =====================================================
   VEYLIRIA STUDIO — Design system
   ===================================================== */

:root {
  /* Brand palette */
  --navy: #0a0f1e;
  --navy-soft: #10182c;
  --navy-line: rgba(255, 255, 255, 0.09);
  --blue: #2563eb;
  --blue-light: #4f83f7;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --grey-light: #f1f5f9;
  --white: #ffffff;

  --ink: #0a0f1e;
  --ink-soft: #4b5567;
  --ink-faint: #8b93a7;

  --gradient-brand: linear-gradient(115deg, var(--violet) 0%, var(--blue) 52%, var(--cyan) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(37, 99, 235, 0.14) 55%, rgba(34, 211, 238, 0.14));
  --gradient-navy: linear-gradient(180deg, #0a0f1e 0%, #0d1428 100%);

  --shadow-sm: 0 1px 2px rgba(10, 15, 30, 0.06), 0 1px 1px rgba(10, 15, 30, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 15, 30, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 15, 30, 0.12);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 20px 50px rgba(37, 99, 235, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-head: "Montserrat", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

section { position: relative; }

.section-pad { padding: 88px 0; }

@media (max-width: 720px) {
  .section-pad { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================
   Buttons
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 26px 50px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
  background: rgba(10, 15, 30, 0.03);
  border: 1px solid rgba(10, 15, 30, 0.12);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-on-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* =====================================================
   Scroll progress bar
   ===================================================== */

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-brand);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* =====================================================
   Header
   ===================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 4px 30px rgba(10, 15, 30, 0.06);
  border-bottom-color: rgba(10, 15, 30, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand .logo-mark { width: 34px; height: 34px; flex-shrink: 0; }

.brand .brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-top: 3px;
}

.nav-desktop {
  display: none;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-desktop a {
    position: relative;
    padding: 9px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: var(--radius-pill);
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
  }
  .nav-desktop a:hover { color: var(--navy); background: rgba(10, 15, 30, 0.04); }
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-actions .btn-primary { display: none; }
@media (min-width: 760px) {
  .header-actions .btn-primary { display: inline-flex; }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 15, 30, 0.05);
  position: relative;
  z-index: 20;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle.is-active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(10, 15, 30, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  padding: 12px 0;
  opacity: 0.9;
}

.mobile-nav a:hover { opacity: 1; color: var(--cyan); }

.mobile-nav .btn { margin-top: 24px; }

/* =====================================================
   Hero
   ===================================================== */

.hero {
  padding: 150px 0 100px;
  background: var(--white);
  overflow: hidden;
}

@media (max-width: 720px) {
  .hero { padding: 120px 0 64px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hero-bg .blob-1 {
  width: 480px; height: 480px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}

.hero-bg .blob-2 {
  width: 420px; height: 420px;
  top: 220px; left: -180px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  opacity: 0.35;
}

.hero-bg .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,15,30,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,15,30,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 100%);
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

.hero-content h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(10, 15, 30, 0.08);
  max-width: 520px;
}

.hero-stats .stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--navy);
}

.hero-stats .stat span {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* Hero visual — browser mockup */

.hero-visual { position: relative; }

.browser-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.hero-visual:hover .browser-card {
  transform: perspective(1200px) rotateY(-2deg) rotateX(0.5deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.browser-bar .url-pill {
  margin-left: 10px;
  flex: 1;
  height: 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
}

.browser-screen {
  padding: 26px;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(139,92,246,0.35), transparent 60%),
    radial-gradient(ellipse 120% 80% at 100% 100%, rgba(34,211,238,0.28), transparent 60%),
    var(--navy-soft);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-nav .brand-chip {
  width: 74px; height: 10px; border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-light));
}

.screen-nav .chip-line { width: 16px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; }
.screen-nav .chip-lines { display: flex; gap: 6px; }

.screen-hero {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-hero .line { height: 12px; border-radius: 5px; background: rgba(255,255,255,0.85); }
.screen-hero .line.w-70 { width: 70%; }
.screen-hero .line.w-45 { width: 45%; }
.screen-hero .line.sub { height: 8px; background: rgba(255,255,255,0.28); width: 55%; margin-top: 4px; }

.screen-hero .cta-row { display: flex; gap: 10px; margin-top: 10px; }
.screen-hero .cta-row .pill { height: 26px; border-radius: var(--radius-pill); }
.screen-hero .cta-row .pill.solid { width: 96px; background: var(--gradient-brand); }
.screen-hero .cta-row .pill.line { width: 74px; border: 1px solid rgba(255,255,255,0.3); }

.screen-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.screen-cards .card {
  height: 64px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  animation: float 5s ease-in-out infinite;
}

.float-badge .dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand-soft);
  color: var(--blue);
}

.float-badge .dot svg { width: 17px; height: 17px; }

.float-badge span small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.badge-1 { top: -22px; left: -18px; animation-delay: 0.2s; }
.badge-2 { bottom: -20px; right: -14px; animation-delay: 1s; }

@media (max-width: 560px) {
  .float-badge { padding: 9px 12px; font-size: 0.72rem; }
  .badge-1 { left: -8px; top: -16px; }
  .badge-2 { right: -8px; bottom: -16px; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* logo bar */
.trust-bar {
  padding: 34px 0;
  border-top: 1px solid rgba(10,15,30,0.06);
  border-bottom: 1px solid rgba(10,15,30,0.06);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.trust-bar p {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-faint);
  opacity: 0.75;
  font-size: 0.95rem;
}

/* =====================================================
   Benefits
   ===================================================== */

.benefits-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(10, 15, 30, 0.07);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.18);
}

.icon-tile {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand-soft);
  color: var(--blue);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}

.benefit-card:hover .icon-tile { transform: scale(1.08) rotate(-4deg); }

.icon-tile svg { width: 24px; height: 24px; }

.benefit-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =====================================================
   Services
   ===================================================== */

.services { background: var(--grey-light); }

.services-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  padding: 32px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 1; }

.service-card .icon-tile { margin-bottom: 0; }

.service-card h3 { font-size: 1.12rem; }

.service-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
}

.service-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* =====================================================
   Hébergement & maintenance
   ===================================================== */

.hosting { background: var(--grey-light); }

.hosting-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(1, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .hosting-grid { grid-template-columns: repeat(2, 1fr); }
}

.hosting-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(10, 15, 30, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hosting-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hosting-card.is-featured {
  box-shadow: var(--shadow-glow);
}

.hosting-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--white);
}

.hosting-card h3 { font-size: 1.3rem; margin-bottom: 6px; }

.hosting-target {
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.hosting-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.hosting-price b {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy);
}

.hosting-price span { font-size: 0.95rem; color: var(--ink-soft); }

.hosting-alt {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

.hosting-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.hosting-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.hosting-features li svg {
  width: 16px; height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================================================
   Réalisations
   ===================================================== */

.portfolio-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(10, 15, 30, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-shot {
  height: 240px;
  overflow: hidden;
  background: var(--grey-light);
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-shot img { transform: scale(1.04); }

.project-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-body .cat-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand-soft);
  color: var(--blue);
}

.project-body h3 { font-size: 1.2rem; }
.project-body p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-top: 6px;
}

.project-cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.project-card:hover .project-cta svg { transform: translateX(4px); }

/* =====================================================
   Demos interactives
   ===================================================== */

.demoshow { background: var(--white); }

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--grey-light);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.demo-tab svg { width: 16px; height: 16px; flex-shrink: 0; }

.demo-tab.is-active,
.demo-tab:hover {
  background: var(--navy);
  color: var(--white);
}

.demo-tab.is-active { box-shadow: var(--shadow-glow); }

.demo-panel {
  display: none;
}

.demo-panel.is-active {
  display: grid;
  gap: 40px;
}

@media (min-width: 940px) {
  .demo-panel.is-active { grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
}

.demo-panel.is-active > * { min-width: 0; }

.demo-info {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient-navy);
  color: var(--white);
}

.demo-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}

.demo-info h3 { color: var(--white); font-size: 1.3rem; margin: 14px 0 12px; }
.demo-info > p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.6; margin-bottom: 22px; }

.demo-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.demo-points li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 1px;
}

.demo-widget-frame {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(10,15,30,0.07);
  box-shadow: var(--shadow-md);
}

.portfolio-note {
  margin-top: 36px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-note svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Carousel */

.carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  touch-action: pan-y;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 280px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.carousel-slide::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.6;
}

.carousel-slide .shape,
.compare-layer .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.tone-1 { background: linear-gradient(135deg, #1c2a52, #0a0f1e); }
.tone-1 .shape { background: var(--cyan); width: 160px; height: 160px; top: -30px; right: -30px; opacity: 0.5; }

.tone-2 { background: linear-gradient(135deg, #2b1c52, #0a0f1e); }
.tone-2 .shape { background: var(--violet); width: 170px; height: 170px; bottom: -40px; left: -30px; opacity: 0.55; }

.tone-3 { background: linear-gradient(135deg, #14335c, #0a0f1e); }
.tone-3 .shape { background: var(--blue-light); width: 170px; height: 170px; top: -20px; left: -40px; opacity: 0.5; }

.tone-4 { background: linear-gradient(135deg, #23204f, #0a0f1e); }
.tone-4 .shape { background: #f472b6; width: 150px; height: 150px; bottom: -30px; right: -20px; opacity: 0.4; }

.carousel-caption {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.carousel-caption svg { width: 20px; height: 20px; flex-shrink: 0; }
.carousel-caption span { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--navy);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 3;
}

.carousel-arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-arrow svg { width: 18px; height: 18px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(10,15,30,0.15);
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}

.carousel-dots button.is-active {
  background: var(--gradient-brand);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* Email preview */

.email-preview {
  display: none;
  text-align: left;
}

.email-preview.is-visible { display: block; }

.email-preview .preview-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  margin-bottom: 18px;
}

.email-preview .preview-flag svg { width: 14px; height: 14px; }

.email-preview .mail-window {
  border: 1px solid rgba(10,15,30,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.email-preview .mail-header {
  padding: 16px 18px;
  background: var(--grey-light);
  border-bottom: 1px solid rgba(10,15,30,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-preview .mail-row { display: flex; gap: 8px; font-size: 0.82rem; color: var(--ink-soft); }
.email-preview .mail-row b { color: var(--ink-faint); font-weight: 600; min-width: 30px; }

.email-preview .mail-subject {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  margin-top: 4px;
}

.email-preview .mail-body { padding: 20px 18px; font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }
.email-preview .mail-body p { margin-bottom: 12px; }
.email-preview .mail-signoff { margin-top: 4px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }

.email-preview .preview-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.55;
}

.email-preview .btn { margin-top: 18px; }

/* FAQ accordion */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border: 1px solid rgba(10,15,30,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: background 0.3s var(--ease);
}

.accordion-trigger:hover { background: var(--grey-light); }

.accordion-trigger .chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  background: var(--white);
}

.accordion-panel p {
  padding: 0 18px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Booking calendar */

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.booking-header span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-transform: capitalize;
}

.booking-header button {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background 0.3s var(--ease);
}

.booking-header button:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.booking-header button:disabled { opacity: 0.35; cursor: not-allowed; }
.booking-header button svg { width: 16px; height: 16px; }

.booking-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.booking-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.booking-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.booking-days button {
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.booking-days button:not(:disabled):not(.is-selected):hover { background: var(--grey-light); }
.booking-days button:disabled { color: var(--ink-faint); opacity: 0.4; cursor: not-allowed; }
.booking-days button.is-selected { background: var(--gradient-brand); color: var(--white); }
.booking-days span.pad { visibility: hidden; }

.booking-slots {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(10,15,30,0.08);
}

.booking-slots-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 12px;
  text-transform: capitalize;
}

.booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.booking-slot-grid button {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(10,15,30,0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.booking-slot-grid button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Before / after compare */

.compare {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.compare-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.compare-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.compare-tag {
  position: relative;
  z-index: 2;
  margin: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.16);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.compare-tag.tag-after { margin-left: auto; }

.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-handle::before {
  content: "";
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.compare-handle svg {
  position: relative;
  z-index: 1;
  width: 18px; height: 18px;
  color: var(--navy);
}

.compare-handle:focus-visible::before {
  box-shadow: 0 0 0 3px rgba(37,99,235,0.4), var(--shadow-md);
}

/* Location map */

.map-frame {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
}

.map-link svg { width: 15px; height: 15px; }

/* =====================================================
   Process
   ===================================================== */

.process { background: var(--gradient-navy); color: var(--white); }
.process .section-head h2, .process .section-head p { color: var(--white); }
.process .section-head p { color: rgba(255,255,255,0.65); }

.process-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
  counter-reset: step;
}

@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card {
  padding: 30px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.process-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
}

.process-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.process-card .icon-tile {
  margin-top: 14px;
  background: rgba(255,255,255,0.08);
  color: var(--cyan);
}

.process-card h3 { color: var(--white); font-size: 1.05rem; margin: 16px 0 8px; }
.process-card p { color: rgba(255,255,255,0.62); font-size: 0.9rem; line-height: 1.6; }

.process-connector {
  display: none;
}

@media (min-width: 1100px) {
  .process-grid { position: relative; }
}

/* =====================================================
   About
   ===================================================== */

.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-values {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.about-value {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--grey-light);
}

.about-value b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.about-value span { font-size: 0.85rem; color: var(--ink-soft); }

.about-text .eyebrow { margin-bottom: 12px; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; font-size: 1rem; }

.about-signature {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid;
  border-image: var(--gradient-brand) 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

/* =====================================================
   CTA offer
   ===================================================== */

.cta-offer {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.cta-offer .glow {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37,99,235,0.35), transparent 65%);
  filter: blur(40px);
}

.cta-offer .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.cta-offer h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-offer p {
  margin-top: 16px;
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-offer .btn { margin-top: 32px; }

/* =====================================================
   Contact
   ===================================================== */

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 940px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

.contact-info-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient-navy);
  color: var(--white);
  height: fit-content;
}

.contact-info-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.contact-info-card > p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.6; margin-bottom: 28px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-item:first-of-type { border-top: none; }

.contact-item .icon-tile {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  color: var(--cyan);
  margin-bottom: 0;
  flex-shrink: 0;
}
.contact-item .icon-tile svg { width: 18px; height: 18px; }

.contact-item b { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.social-row { display: flex; gap: 10px; margin-top: 28px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-row a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; color: var(--white); }

.contact-form {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(10,15,30,0.07);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(10,15,30,0.12);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

.field textarea { resize: vertical; min-height: 120px; }

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #ef4444; }

.field-error {
  font-size: 0.78rem;
  color: #ef4444;
  display: none;
}

.field.has-error .field-error { display: block; }

.form-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.is-visible { display: block; }
.contact-form.is-submitted form,
.contact-form.is-submitted > .booking { display: none; }

.form-success .icon-tile {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: var(--gradient-brand-soft);
  color: var(--blue);
}
.form-success .icon-tile svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); font-size: 0.92rem; }
.form-success .btn { margin-top: 16px; }

/* =====================================================
   Footer
   ===================================================== */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; }
}

.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.6; max-width: 320px; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--cyan); }

.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.footer-social svg { width: 15px; height: 15px; color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* =====================================================
   Back to top
   ===================================================== */

.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.3s var(--ease);
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }
.back-to-top svg { width: 18px; height: 18px; }

/* =====================================================
   Reveal animations
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   Legal page (CGV)
   ===================================================== */

.legal-hero {
  padding: 150px 0 56px;
  background: var(--grey-light);
}

@media (max-width: 720px) {
  .legal-hero { padding: 120px 0 48px; }
}

.legal-hero h1 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
}

.legal-hero p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-container {
  max-width: 760px;
}

.legal-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--grey-light);
  border: 1px solid rgba(10, 15, 30, 0.08);
  margin-bottom: 48px;
}

.legal-notice svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

.legal-notice p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.legal-article { margin-bottom: 40px; }

.legal-article h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10, 15, 30, 0.08);
}

.legal-article p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-article p strong { color: var(--navy); }

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding-left: 20px;
}

.legal-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  list-style: disc;
}

.legal-list li strong { color: var(--navy); }
