/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

/* ===== CSS CUSTOM PROPERTIES (THEME VARIABLES) ===== */
:root {
  --bg-main: #050505;
  --bg-cards: #0A0A0A;
  --bg-inputs: #121212;
  --bg-intro: #030308;
  --text-primary: #fff;
  --text-secondary: #A1A1AA;
  --text-light: #D4D4D8;
  --accent-blue: #3B82F6;
  --accent-blue-dark: #2563EB;
  --accent-yellow: #FACC15;
  --accent-yellow-dark: #EAB308;
  --border-subtle: rgba(255,255,255,0.05);
  --border-hover: rgba(255,255,255,0.1);
  --border-subtle-bg: rgba(255,255,255,0.02);
  --tag-bg: rgba(255,255,255,0.03);
  --tag-border: rgba(255,255,255,0.04);
  --hover-border: rgba(255,255,255,0.15);
  --strong-border: rgba(255,255,255,0.2);
  --tech-tag-text: rgba(255,255,255,0.8);
  --stepper-line: #27272A;
  --scrollbar-thumb: #3F3F46;
  --guarantee-border: #1a1a1a;
  --green: #10B981;
  --gold-stars: #E8C547;
}

.light-theme {
  --bg-main: #F5F5F7;
  --bg-cards: #FFFFFF;
  --bg-inputs: #F3F4F6;
  --bg-intro: #F5F5F7;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-light: #4B5563;
  --accent-blue: #2563EB;
  --accent-blue-dark: #2563EB;
  --accent-yellow: #EAB308;
  --accent-yellow-dark: #EAB308;
  --border-subtle: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.12);
  --border-subtle-bg: rgba(0,0,0,0.02);
  --tag-bg: rgba(0,0,0,0.04);
  --tag-border: rgba(0,0,0,0.06);
  --hover-border: rgba(0,0,0,0.15);
  --strong-border: rgba(0,0,0,0.15);
  --tech-tag-text: rgba(0,0,0,0.7);
  --stepper-line: #E5E7EB;
  --scrollbar-thumb: #D1D5DB;
  --guarantee-border: #E5E7EB;
  --green: #10B981;
  --gold-stars: #E8C547;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: #050505;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: 'Manrope', sans-serif; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: #3B82F6; color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #3F3F46; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #A1A1AA; }

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 10%{transform:translate(-5%,-10%)} 30%{transform:translate(3%,-15%)} 50%{transform:translate(12%,9%)} 70%{transform:translate(9%,4%)} 90%{transform:translate(-1%,7%)}
}

/* ===== INTRO ANIMATION ===== */
.intro-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: #030308;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.8s cubic-bezier(0.76,0,0.24,1);
}
.intro-overlay.exit { transform: translateY(-100%); }
.intro-overlay.hidden { display: none; }

.intro-rect {
  width: clamp(280px,40vw,500px); height: clamp(120px,16vw,200px);
  background: linear-gradient(135deg,#1E3A5F,#2563EB 40%,#3B82F6 70%,#1a5fb4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease;
  position: absolute;
}
.intro-rect.show { transform: scaleX(1); }
.intro-rect.shrink { transform: scaleX(0) scaleY(0.3); opacity: 0; }
.intro-rect span {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem,7vw,6rem);
  font-weight: 800; color: #fff; letter-spacing: -0.03em;
  opacity: 0; transition: opacity 0.3s ease 0.3s;
}
.intro-rect.show span { opacity: 1; }
.intro-rect.shrink span { opacity: 0; transition-delay: 0s; }

.intro-text {
  position: absolute; text-align: center;
  opacity: 0; transition: opacity 0.5s ease;
}
.intro-text.show { opacity: 1; }

.intro-text .line { overflow: hidden; }
.intro-text .line span {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(2rem,8vw,7rem); line-height: 0.9;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.intro-text.show .line span { transform: translateY(0); }
.intro-text.show .line:nth-child(2) span { transition-delay: 0.12s; }
.intro-text .line:first-child span {
  background: linear-gradient(135deg,#fff,#A1C4E0 40%,#60A5FA 70%,#C9A84C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro-text .line:nth-child(2) span {
  background: linear-gradient(135deg,#C9A84C,#E8C547 30%,#fff 60%,#60A5FA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-accent {
  width: 0; height: 2px;
  background: linear-gradient(90deg,#C9A84C,#E8C547);
  margin: 0 auto; transition: width 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s;
}
.intro-text.show .intro-accent { width: 60px; }

.intro-subtitle {
  margin-top: 1.5rem;
  color: #60A5FA; font-size: 0.875rem; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}
.intro-text.show .intro-subtitle { opacity: 1; transform: translateY(0); }

.intro-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle,rgba(59,130,246,0.06),transparent 70%);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.05);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.navbar-logo {
  display: flex; align-items: center; text-decoration: none;
}
.navbar-logo img { height: 38px; width: auto; display: block; }
.navbar-links { display: flex; gap: 4px; }
.navbar-links a {
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  color: #A1A1AA; transition: color 0.3s, background 0.3s;
}
.navbar-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.navbar-links a.active { color: #fff; background: rgba(255,255,255,0.1); }

.hamburger { display: none; padding: 0.5rem; color: #fff; background: none; border: none; }
.hamburger svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; top: 80px; z-index: 99;
  background: rgba(5,5,5,0.95); backdrop-filter: blur(24px);
  flex-direction: column; padding: 2rem; gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 600;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #A1A1AA; transition: color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.6s ease;
}
.hero-bg-light { opacity: 0; }
body.light-theme .hero-bg-dark { opacity: 0; }
body.light-theme .hero-bg-light { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,rgba(5,5,5,0.3),rgba(5,5,5,0.5) 40%,rgba(5,5,5,0.85) 80%,#050505);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem 4rem;
}
.hero-bottom {
  display: flex; flex-direction: column; gap: 2.5rem;
}
.hero-title {
  font-size: clamp(3.5rem,8vw,9rem); font-weight: 800;
  letter-spacing: -0.05em; line-height: 0.9; color: #fff;
  background: linear-gradient(90deg, #fff 0%, #60A5FA 25%, #3B82F6 50%, #60A5FA 75%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-shimmer 6s ease-in-out infinite;
}
@keyframes title-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}
.hero-tagline { font-size: 1.125rem; color: #A1A1AA; font-weight: 500; }
.hero-rotating {
  font-family: 'Syne', sans-serif; font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 700; color: #3B82F6; height: 1.4em; position: relative; overflow: hidden;
}
.hero-rotating span {
  position: absolute; width: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0; transform: translateY(20px);
}
.hero-rotating span.active { opacity: 1; transform: translateY(0); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: #fff; color: #000;
  padding: 1rem 2rem; font-weight: 600; font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover { background: #e5e5e5; transform: scale(1.05); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 2rem; font-weight: 500; font-size: 1rem;
  transition: background 0.3s, border-color 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

@media (min-width: 768px) {
  .hero-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ===== SECTIONS COMMON ===== */
.section { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 3rem; } }

.section-label {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: #3B82F6; margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem,5vw,3.5rem); font-weight: 700;
  letter-spacing: -0.03em; color: #fff; line-height: 1.1;
}

/* ===== TOOLTIP ===== */
.tooltip-trigger { position: relative; }
.tooltip-trigger::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); white-space: normal; width: max-content; max-width: 260px;
  padding: 0.5rem 0.75rem; border-radius: 8px;
  background: #1E293B; color: #E2E8F0; font-size: 0.75rem; line-height: 1.5;
  pointer-events: none; opacity: 0; transition: opacity 0.2s;
  z-index: 100;
}
.tooltip-trigger:hover::after { opacity: 1; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== PARALLAX SECTION ===== */
.parallax-section {
  position: relative; overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: 0; top: -20%; bottom: -20%; width: 100%;
  object-fit: cover; will-change: transform;
}
.parallax-overlay { position: absolute; inset: 0; }
.parallax-content { position: relative; z-index: 2; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.about-text { color: #A1A1AA; line-height: 1.7; }
.about-text p + p { margin-top: 1rem; }
.about-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
.about-stat-num { font-family: 'Syne', sans-serif; font-size: 1.875rem; font-weight: 700; color: #fff; }
.about-stat-label { font-size: 0.875rem; color: #A1A1AA; }
.about-img-wrap {
  position: relative; aspect-ratio: 4/5; border-radius: 1rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-slide { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.about-slide.active { opacity: 1; }
.about-badge {
  position: absolute; bottom: -1rem; left: -1rem;
  background: #0A0A0A; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem; padding: 1rem 1.5rem;
}
.about-badge p:first-child { font-size: 0.875rem; color: #A1A1AA; }
.about-badge p:not(:first-child) { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; }

/* ===== BENTO SERVICES ===== */
.bento-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(12,1fr); }
}
.bento-card {
  background: #0A0A0A; border: 1px solid rgba(255,255,255,0.04);
  border-radius: 1rem; padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.5s, transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s;
}
.bento-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(59,130,246,0.08), 0 0 0 1px rgba(59,130,246,0.05); }
.bento-card .top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
  opacity: 0; transition: opacity 0.7s;
}
.bento-card:hover .top-line { opacity: 1; }

.bento-card-img {
  position: relative; overflow: hidden;
}
.bento-card-img .bento-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.bento-card-img:hover .bento-bg { transform: scale(1.05); }
.bento-card-img .bento-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.85) 50%, rgba(5,5,5,0.95) 100%);
}
.bento-card-img .bento-card-content {
  position: relative; z-index: 2;
}

@media (min-width: 768px) {
  .bento-7 { grid-column: span 7; }
  .bento-5 { grid-column: span 5; }
  .bento-4 { grid-column: span 4; }
  .bento-12 { grid-column: span 12; }
}

.bento-icon {
  width: 40px; height: 40px; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03);
}
.bento-icon.blue { background: rgba(59,130,246,0.1); color: #3B82F6; }
.bento-icon svg { width: 20px; height: 20px; }

.bento-card h3 { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.bento-card p { font-size: 0.875rem; color: #A1A1AA; line-height: 1.6; }
.bento-price { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.bento-price small { font-size: 0.875rem; font-weight: 400; color: #A1A1AA; }

.tag {
  display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.6875rem;
  background: rgba(255,255,255,0.03); color: #A1A1AA;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.04);
  font-weight: 500;
}
.tech-tag {
  display: inline-block; padding: 0.375rem 0.75rem; font-size: 0.75rem;
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.8);
  border-radius: 0.5rem; border: 1px solid rgba(255,255,255,0.04);
  font-weight: 500; transition: background 0.3s, border-color 0.3s;
}
.tech-tag:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }

.bento-cta-row {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .bento-cta-row { flex-direction: row; align-items: center; justify-content: space-between; }
}

.avail-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  display: inline-block; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .projects-grid-3 { grid-template-columns: repeat(3,1fr); } }

.project-card {
  position: relative; overflow: hidden; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  min-height: 380px;
  transition: border-color 0.5s, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.project-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.project-card:hover img { transform: scale(1.05); }
.project-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(5,5,5,0.95),rgba(5,5,5,0.3) 50%,transparent);
}
.project-card .info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2;
}
.project-card .cat { font-size: 0.75rem; color: #3B82F6; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.project-card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0.5rem 0; }
.project-card .techs { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.project-card .techs span { padding: 0.125rem 0.625rem; font-size: 0.625rem; background: rgba(255,255,255,0.1); color: #A1A1AA; border-radius: 999px; }
.project-card .arrow-icon {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.project-card:hover .arrow-icon { opacity: 1; }

.project-card.placeholder { opacity: 0.5; pointer-events: none; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3,1fr); } }

.testimonial-card {
  background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 1rem; padding: 2rem; text-align: center;
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 240px;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s, box-shadow 0.4s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); box-shadow: 0 8px 24px rgba(59,130,246,0.06); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s, box-shadow 0.4s; }
.testimonial-card .quote-icon { color: rgba(255,255,255,0.1); margin-bottom: 1rem; }
.testimonial-card .text { color: #A1A1AA; font-size: 0.875rem; font-style: italic; margin-bottom: 1rem; }
.testimonial-card .stars { display: flex; gap: 4px; margin-bottom: 0.75rem; }
.testimonial-card .stars svg { width: 14px; height: 14px; color: rgba(255,255,255,0.1); }
.testimonial-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); margin-bottom: 0.5rem; }
.testimonial-card .name { color: rgba(255,255,255,0.2); font-size: 0.875rem; font-weight: 500; }
.testimonial-card .company { color: rgba(255,255,255,0.1); font-size: 0.75rem; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }

.pricing-card {
  background: #0A0A0A; border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1.25rem; padding: 2.5rem;
  display: flex; flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.5s;
}
.pricing-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); }
.pricing-card.featured {
  border-color: rgba(59,130,246,0.4);
  background: linear-gradient(180deg,rgba(59,130,246,0.08),#0A0A0A 40%);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow { 0%,100%{box-shadow:0 0 20px rgba(59,130,246,0.15)} 50%{box-shadow:0 0 40px rgba(59,130,246,0.3)} }

.pricing-card .badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
  font-size: 0.75rem; font-weight: 600; color: #3B82F6; text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.pricing-card .subtitle { font-size: 0.875rem; color: #A1A1AA; margin: 0.25rem 0 1.5rem; }
.pricing-card .price {
  font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: #fff;
  margin-bottom: 2rem;
}
.pricing-card .price span { font-size: 1.125rem; color: #A1A1AA; font-weight: 400; }
.pricing-card .price-text { font-family: 'Syne', sans-serif; font-size: 1.875rem; font-weight: 800; color: #fff; margin-bottom: 2rem; }
.pricing-card ul { flex: 1; margin-bottom: 2rem; }
.pricing-card li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: #A1A1AA; padding: 0.375rem 0;
}
.pricing-card li svg { width: 16px; height: 16px; color: #3B82F6; flex-shrink: 0; margin-top: 2px; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; text-align: left; background: none; border: none;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600; color: #fff;
  cursor: pointer; transition: color 0.3s;
}
.faq-question:hover { color: #3B82F6; }
.faq-question svg { width: 20px; height: 20px; color: #A1A1AA; flex-shrink: 0; margin-left: 1rem; transition: transform 0.3s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.5s ease; }
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.875rem; color: #A1A1AA; line-height: 1.6; }

/* ===== FILTERS ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.5rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1); background: transparent;
  color: #A1A1AA; font-size: 0.875rem; font-family: 'Manrope', sans-serif;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.filter-btn.active { background: #fff; color: #000; border-color: #fff; }

/* ===== STEPPER ===== */
.stepper { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.stepper-step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.stepper-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
  background: rgba(255,255,255,0.05); color: #A1A1AA;
  transition: background 0.5s, color 0.5s;
}
.stepper-circle.active { background: #3B82F6; color: #fff; }
.stepper-circle.done { background: #3B82F6; color: #fff; }
.stepper-label { font-size: 0.75rem; color: #A1A1AA; margin-top: 0.5rem; display: none; }
@media (min-width: 640px) { .stepper-label { display: block; } }

.stepper-line { height: 2px; background: #27272A; position: relative; margin-bottom: 2rem; }
.stepper-progress { height: 100%; background: #3B82F6; transition: width 0.5s cubic-bezier(0.22,1,0.36,1); }

.form-card {
  background: #0A0A0A; border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem; padding: 1.5rem;
  min-height: 360px;
}
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

.option-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .option-grid { grid-template-columns: 1fr 1fr; } }

.option-btn {
  padding: 1rem; border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08); background: #121212;
  color: #A1A1AA; text-align: left; font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.option-btn:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.option-btn.selected { border-color: #3B82F6; background: rgba(59,130,246,0.1); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(59,130,246,0.2); }

.check-btn { display: flex; align-items: center; gap: 0.75rem; }
.check-box {
  width: 20px; height: 20px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.check-btn.selected .check-box { background: #3B82F6; border-color: #3B82F6; }

.form-input {
  width: 100%; background: #121212; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem; padding: 1rem; color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 0.875rem; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.form-input::placeholder { color: rgba(255,255,255,0.15); }
.form-input:focus { border-color: #3B82F6; box-shadow: 0 0 0 3px rgba(59,130,246,0.15); transform: translateY(-1px); }
textarea.form-input { resize: none; }

.form-label { display: block; font-size: 0.875rem; color: #A1A1AA; margin-bottom: 0.5rem; transition: color 0.3s; }
.form-input:focus + .form-label,
.form-group:focus-within .form-label { color: #3B82F6; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05);
}
.form-nav-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: #A1A1AA; background: none; border: none;
  transition: color 0.3s; cursor: pointer;
}
.form-nav-btn:hover { color: #fff; }
.form-nav-btn:disabled { color: rgba(255,255,255,0.1); cursor: not-allowed; }
.form-nav-btn svg { width: 16px; height: 16px; }

/* ===== APPOINTMENT ===== */
.info-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .info-cards { grid-template-columns: repeat(3,1fr); } }
.info-card {
  display: flex; align-items: center; gap: 0.75rem;
  background: #0A0A0A; border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem; padding: 1rem;
}
.info-card svg { width: 20px; height: 20px; color: #3B82F6; flex-shrink: 0; }
.info-card strong { color: #fff; font-size: 0.875rem; display: block; }
.info-card small { color: #A1A1AA; font-size: 0.75rem; }

.calendly-placeholder {
  background: #0A0A0A; border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem; padding: 6rem 1.5rem; text-align: center;
}

/* ===== FOOTER ===== */
.footer { background: #050505; border-top: 1px solid rgba(255,255,255,0.05); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 6rem; } }
.footer h4 { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #A1A1AA; margin-bottom: 1rem; }
.footer a { color: #A1A1AA; font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0; transition: color 0.3s; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 0.5rem; align-items: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { color: #A1A1AA; font-size: 0.75rem; }
.footer-bottom p:last-child { color: rgba(161,161,170,0.5); }

/* ===== SUCCESS ===== */
.success-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(59,130,246,0.15); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg { width: 32px; height: 32px; color: #3B82F6; }

/* ===== PRICE SIMULATOR ===== */
.price-simulator {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.03));
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 1rem; padding: 1.5rem; margin-bottom: 2rem;
  transition: all 0.5s ease;
}
.price-simulator .sim-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #3B82F6; margin-bottom: 0.75rem;
}
.price-simulator .sim-range {
  font-family: 'Syne', sans-serif; font-weight: 800; color: #fff;
  font-size: 2rem; line-height: 1; margin-bottom: 0.5rem;
}
.price-simulator .sim-bar {
  height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px;
  overflow: hidden; margin: 1rem 0;
}
.price-simulator .sim-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
}
.price-simulator .sim-details {
  display: flex; flex-direction: column; gap: 0.375rem;
}
.price-simulator .sim-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: #A1A1AA;
}
.price-simulator .sim-line .sim-val { color: #fff; font-weight: 600; }
.price-simulator .sim-note {
  font-size: 0.75rem; color: rgba(161,161,170,0.6); margin-top: 0.75rem;
  font-style: italic;
}

/* ===== RGPD CHECKBOX ===== */
.rgpd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.rgpd-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #3B82F6;
  flex-shrink: 0;
  cursor: pointer;
}
.rgpd-checkbox span {
  font-size: 0.8125rem;
  color: #A1A1AA;
  line-height: 1.5;
}

/* ===== BACK BUTTON ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #A1A1AA;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  margin-bottom: 2rem;
}
.back-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.back-btn svg { transition: transform 0.2s; }
.back-btn:hover svg { transform: translateX(-2px); }

/* ===== GUARANTEE BANNER ===== */
.guarantee-banner {
  background: #0A0A0A;
  border: 1px solid #1a1a1a;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

/* ===== TAPE BANNERS (sliding banderoles) ===== */
.tape-banner {
  background: repeating-linear-gradient(
    -45deg,
    #FACC15,
    #FACC15 10px,
    #000 10px,
    #000 20px
  );
  padding: 2px 0;
  overflow: hidden;
  position: relative;
}
.tape-banner .tape-track {
  display: flex;
  align-items: center;
  background: #FACC15;
  padding: 0.625rem 0;
  white-space: nowrap;
  width: max-content;
}
.tape-right .tape-track {
  animation: tape-scroll-right 25s linear infinite;
}
.tape-left .tape-track {
  animation: tape-scroll-left 22s linear infinite;
}
.tape-item {
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 1rem;
}
.tape-sep {
  color: rgba(0,0,0,0.3);
  font-weight: 900;
  font-size: 0.875rem;
  padding: 0 0.25rem;
}

@keyframes tape-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes tape-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: #0A0A0A;
  border: 1px solid rgba(250,204,21,0.15);
  border-radius: 1rem;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.promo-banner-content { flex: 1; }
.promo-banner-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  min-width: 220px;
}

/* Compteur de places */
.promo-counter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.promo-counter-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid rgba(250,204,21,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  transition: all 0.3s ease;
}
.promo-counter-dot.available {
  border-color: #FACC15;
  background: rgba(250,204,21,0.1);
  color: #FACC15;
}
.promo-counter-dot.taken {
  border-color: #333;
  background: #1a1a1a;
  color: #444;
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 2rem;
  }
  .promo-banner-content div[style*="flex-wrap"] {
    justify-content: center;
  }
  .promo-counter {
    justify-content: center;
  }
  .tape-item {
    font-size: 0.75rem;
    padding: 0 0.75rem;
  }
}

/* ===== APPOINTMENT CALENDAR ===== */
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.cal-header h3 {
  font-family: 'Syne', sans-serif; font-size: 1.125rem;
  font-weight: 700; color: #fff; text-transform: capitalize;
}
.cal-nav {
  display: flex; gap: 0.5rem;
}
.cal-nav button {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #A1A1AA; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.cal-nav button:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav button svg { width: 16px; height: 16px; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cal-day-label {
  text-align: center; font-size: 0.6875rem; font-weight: 600;
  color: #A1A1AA; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.5rem 0;
}
.cal-day {
  aspect-ratio: 1; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 500; color: #A1A1AA;
  background: rgba(255,255,255,0.02); border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s;
}
.cal-day:hover:not(.disabled):not(.empty) {
  border-color: rgba(255,255,255,0.2); color: #fff;
}
.cal-day.selected {
  background: rgba(59,130,246,0.15); border-color: #3B82F6; color: #fff;
}
.cal-day.today {
  border-color: rgba(255,255,255,0.15);
}
.cal-day.disabled {
  opacity: 0.2; cursor: not-allowed;
}
.cal-day.empty {
  background: transparent; cursor: default;
}

.cal-slots-label {
  font-size: 0.875rem; color: #A1A1AA; margin-bottom: 0.75rem;
}
.cal-slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
@media (min-width: 640px) { .cal-slots { grid-template-columns: repeat(4, 1fr); } }

.cal-slot {
  padding: 0.625rem; border-radius: 0.5rem;
  background: #121212; border: 1px solid rgba(255,255,255,0.08);
  color: #A1A1AA; font-size: 0.875rem; font-weight: 500;
  text-align: center; cursor: pointer; transition: all 0.3s;
}
.cal-slot:hover { border-color: rgba(255,255,255,0.2); color: #fff; }
.cal-slot.selected { background: rgba(59,130,246,0.15); border-color: #3B82F6; color: #fff; }
.cal-slot.disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.cal-slot.disabled:hover { border-color: rgba(255,255,255,0.06); color: #A1A1AA; }

.rdv-selected-recap {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.15);
  border-radius: 0.75rem; padding: 1rem; margin-bottom: 1.5rem;
  font-size: 0.875rem; color: #fff;
}
.rdv-selected-recap svg { color: #3B82F6; flex-shrink: 0; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.gap-2 { gap: 0.5rem; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.max-w-lg { max-width: 32rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }

/* ===== STICKY CTA MOBILE ===== */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 98;
  padding: 0.75rem 1rem;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .footer { padding-bottom: 5rem; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-h, .cursor-v {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  background: rgba(59,130,246,0.4);
  transition: opacity 0.3s;
  opacity: 0;
  mix-blend-mode: screen;
}
body.cursor-active .cursor-h,
body.cursor-active .cursor-v { opacity: 1; }
.cursor-h {
  width: 28px;
  height: 1px;
  top: 0; left: 0;
  transform: translate(-50%, 0);
}
.cursor-v {
  width: 1px;
  height: 28px;
  top: 0; left: 0;
  transform: translate(0, -50%);
}
body.cursor-hover .cursor-h,
body.cursor-hover .cursor-v {
  background: rgba(59,130,246,0.8);
}
body.cursor-hover .cursor-h { width: 40px; }
body.cursor-hover .cursor-v { height: 40px; }
@media (pointer: coarse) {
  .cursor-h, .cursor-v { display: none !important; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 97;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  color: #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: rgba(59,130,246,0.25);
  transform: translateY(-2px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .back-to-top { bottom: 5rem; right: 1rem; }
}

/* ===== PAGE TRANSITIONS ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #050505;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1);
}
.page-transition.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== LIGHT THEME OVERRIDES ===== */

/* --- Base & Scrollbar --- */
body.light-theme { background: var(--bg-main); color: var(--text-primary); }
body.light-theme ::-webkit-scrollbar-track { background: var(--bg-main); }
body.light-theme ::-webkit-scrollbar-thumb { background: #D1D5DB; }
body.light-theme ::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }
body.light-theme::before { opacity: 0.015; }
body.light-theme ::selection { background: #2563EB; color: #fff; }

/* --- Intro Animation --- */
body.light-theme .intro-overlay { background: var(--bg-main); }

/* --- Navbar --- */
body.light-theme .navbar.scrolled { background: rgba(245,245,247,0.9); border-color: rgba(0,0,0,0.08); }
body.light-theme .navbar-links a { color: #fff; }
body.light-theme .navbar-links a:hover { color: #fff; background: rgba(255,255,255,0.15); }
body.light-theme .navbar-links a.active { color: #fff; background: rgba(255,255,255,0.2); }
body.light-theme .navbar.scrolled .navbar-links a { color: #1E293B; }
body.light-theme .navbar.scrolled .navbar-links a:hover { color: #111827; background: rgba(0,0,0,0.04); }
body.light-theme .navbar.scrolled .navbar-links a.active { color: #111827; background: rgba(0,0,0,0.06); }
body.light-theme .hamburger { color: #fff; }
body.light-theme .navbar.scrolled .hamburger { color: #111827; }
body.light-theme .mobile-menu { background: rgba(245,245,247,0.95); }
body.light-theme .mobile-menu a { color: var(--text-secondary); border-color: rgba(0,0,0,0.06); }
body.light-theme .mobile-menu a:hover,
body.light-theme .mobile-menu a.active { color: #111827; }

/* --- Hero Section --- */
body.light-theme .hero::after { background: none !important; }
body.light-theme .hero-title {
  background: linear-gradient(135deg, #111827 0%, #2563EB 50%, #111827 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body.light-theme .hero-tagline { color: var(--text-secondary); }

/* --- Buttons --- */
body.light-theme .btn-primary { background: #111827; color: #fff; }
body.light-theme .btn-primary:hover { background: #1F2937; }
body.light-theme .btn-secondary { color: #111827; border-color: rgba(0,0,0,0.2); }
body.light-theme .btn-secondary:hover { border-color: rgba(0,0,0,0.4); }

/* --- Section Headings --- */
body.light-theme .section-label { color: #2563EB; }
body.light-theme .section-title { color: #111827; }

/* --- About Section --- */
body.light-theme .about-text { color: var(--text-secondary); }
body.light-theme .about-badge { background: #fff; border-color: rgba(0,0,0,0.1); }
body.light-theme .about-badge p:not(:first-child) { color: #111827; }

/* --- Bento Cards --- */
body.light-theme .bento-card { background: #fff; border-color: rgba(0,0,0,0.06); }
body.light-theme .bento-card:hover { border-color: rgba(0,0,0,0.15); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
body.light-theme .bento-card p { color: var(--text-secondary); }
body.light-theme .bento-card h3 { color: #111827; }
body.light-theme .bento-price { color: #111827; }

/* --- Tags --- */
body.light-theme .tag { background: rgba(0,0,0,0.04); color: var(--text-secondary); border-color: rgba(0,0,0,0.06); }
body.light-theme .tech-tag { background: rgba(0,0,0,0.04); color: rgba(0,0,0,0.7); border-color: rgba(0,0,0,0.06); }

/* --- Project Cards --- */
body.light-theme .project-card { border-color: rgba(0,0,0,0.08); }
body.light-theme .project-card .overlay { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%); }
body.light-theme .project-card .techs span { background: rgba(0,0,0,0.08); color: var(--text-secondary); }
body.light-theme .project-card h3 { color: #fff; }

/* --- Filter Buttons --- */
body.light-theme .filter-btn { border-color: rgba(0,0,0,0.1); color: var(--text-secondary); }
body.light-theme .filter-btn:hover { border-color: rgba(0,0,0,0.3); color: #111827; }
body.light-theme .filter-btn.active { background: #111827; color: #fff; border-color: #111827; }

/* --- Testimonials --- */
body.light-theme .testimonial-card { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }
body.light-theme .testimonial-card .quote-icon { color: rgba(0,0,0,0.1); }
body.light-theme .testimonial-card .text { color: var(--text-secondary); }

/* --- Pricing --- */
body.light-theme .pricing-card { background: #fff; border-color: rgba(0,0,0,0.06); }
body.light-theme .pricing-card.featured { border-color: rgba(37,99,235,0.4); background: linear-gradient(135deg, #fff, #f0f5ff); }
body.light-theme .pricing-card h3 { color: #111827; }
body.light-theme .pricing-card .price { color: #111827; }
body.light-theme .pricing-card .price-text { color: #111827; }
body.light-theme .pricing-card .subtitle { color: var(--text-secondary); }
body.light-theme .pricing-card li { color: var(--text-secondary); }

/* --- FAQ --- */
body.light-theme .faq-item { border-color: rgba(0,0,0,0.06); }
body.light-theme .faq-question { color: #111827; }

/* --- Form --- */
body.light-theme .form-card { background: #fff; border-color: rgba(0,0,0,0.06); }
body.light-theme .form-input { background: #F3F4F6; border-color: rgba(0,0,0,0.1); color: #111827; }
body.light-theme .form-input:focus { border-color: #2563EB; }
body.light-theme .form-input::placeholder { color: rgba(0,0,0,0.3); }
body.light-theme .option-btn { background: #F9FAFB; border-color: rgba(0,0,0,0.08); color: var(--text-secondary); }
body.light-theme .option-btn.selected { color: #111827; border-color: #2563EB; }
body.light-theme .check-box { border-color: rgba(0,0,0,0.15); }

/* --- Stepper --- */
body.light-theme .stepper-line { background: #E5E7EB; }
body.light-theme .stepper-circle { background: rgba(0,0,0,0.05); color: var(--text-secondary); }

/* --- Form Navigation --- */
body.light-theme .form-nav { border-top-color: rgba(0,0,0,0.06); }
body.light-theme .form-nav-btn { color: var(--text-secondary); }
body.light-theme .form-nav-btn:hover { color: #111827; }
body.light-theme .form-nav-btn:disabled { color: rgba(0,0,0,0.2); }

/* --- Info Cards --- */
body.light-theme .info-card { background: #fff; border-color: rgba(0,0,0,0.06); }
body.light-theme .info-card strong { color: #111827; }
body.light-theme .info-card small { color: var(--text-secondary); }

/* --- Calendar --- */
body.light-theme .cal-header h3 { color: #111827; }
body.light-theme .cal-nav button { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: var(--text-secondary); }
body.light-theme .cal-day { background: rgba(0,0,0,0.02); color: var(--text-secondary); }
body.light-theme .cal-slot { background: #F3F4F6; border-color: rgba(0,0,0,0.08); color: var(--text-secondary); }

/* --- Footer --- */
body.light-theme .footer { background: #F5F5F7; border-top-color: rgba(0,0,0,0.06); }
body.light-theme .footer h4 { color: var(--text-secondary); }
body.light-theme .footer a { color: var(--text-secondary); }
body.light-theme .footer a:hover { color: #111827; }
body.light-theme .footer-bottom { border-top-color: rgba(0,0,0,0.06); }
body.light-theme .footer-bottom p { color: var(--text-secondary); }

/* --- Promo Banner --- */
body.light-theme .promo-banner { background: #fff; border-color: rgba(234,179,8,0.2); }
body.light-theme .promo-banner h3 { color: #111827 !important; }
body.light-theme .promo-banner strong { color: #111827 !important; }
body.light-theme .promo-counter-dot.taken { border-color: #E5E7EB; background: #F3F4F6; color: #9CA3AF; }

/* --- Guarantee Banner --- */
body.light-theme .guarantee-banner { background: #fff; border-color: #E5E7EB; }

/* --- Back Button --- */
body.light-theme .back-btn { color: var(--text-secondary); }
body.light-theme .back-btn:hover { color: #111827; background: rgba(0,0,0,0.04); }

/* --- RGPD --- */
body.light-theme .rgpd-checkbox span { color: var(--text-secondary); }

/* --- Success / RDV --- */
body.light-theme .success-icon { background: rgba(37,99,235,0.1); }
body.light-theme .rdv-selected-recap { background: rgba(37,99,235,0.06); border-color: rgba(37,99,235,0.12); }

/* --- Price Simulator --- */
body.light-theme .price-simulator { background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(37,99,235,0.08)); }
body.light-theme .price-simulator .sim-range { color: #111827; }
body.light-theme .price-simulator .sim-line { color: var(--text-secondary); }
body.light-theme .price-simulator .sim-line .sim-val { color: #111827; }

/* --- Page Transition --- */
body.light-theme .page-transition { background: #F5F5F7; }

/* --- Sticky CTA --- */
body.light-theme .sticky-cta { background: rgba(245,245,247,0.95); border-top-color: rgba(0,0,0,0.06); }

/* --- Cursor / Crosshair --- */
body.light-theme .cursor-h,
body.light-theme .cursor-v { background: rgba(37,99,235,0.4); mix-blend-mode: multiply; }

/* --- Override inline colors on sections --- */
body.light-theme .section[style*="background:#050505"],
body.light-theme .section[style*="background: #050505"] { background: #F5F5F7 !important; }

/* --- Override inline text colors --- */
body.light-theme .about-text p,
body.light-theme .bento-card-content p,
body.light-theme .promo-banner-content p { color: var(--text-secondary) !important; }

/* --- Override inline white text in non-image contexts --- */
body.light-theme .about-stat-num { color: #111827 !important; }
body.light-theme .about-stat-label { color: var(--text-secondary) !important; }

/* --- Override parallax overlays --- */
body.light-theme .parallax-overlay { background: linear-gradient(to bottom, rgba(245,245,247,0.92), rgba(245,245,247,0.75) 50%, rgba(245,245,247,0.92)) !important; }
body.light-theme .bento-bg-overlay { background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.95) 100%) !important; }

/* --- Hero section in light --- */
body.light-theme .hero::after { background: none !important; }

/* --- Theme Toggle Button --- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #A1A1AA; cursor: pointer; transition: all 0.3s;
  margin-left: 0.5rem;
}
.theme-toggle:hover { background: rgba(255,255,255,0.1); color: #fff; }
body.light-theme .theme-toggle { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #6B7280; }
body.light-theme .theme-toggle:hover { background: rgba(0,0,0,0.08); color: #111827; }

/* ===== MOBILE RESPONSIVE ===== */

/* Tablets & small devices (max-width: 640px) */
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .section-lg { padding: 5rem 0; }
  .section-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  .hero-content { padding: 0 1rem 3rem; }
  .hero-rotating { font-size: clamp(1.125rem, 4vw, 1.5rem); }

  .about-stats { flex-direction: column; gap: 1.25rem; }
  .about-stat-num { font-size: 1.5rem; }

  .bento-card { padding: 1.5rem; }
  .bento-card h3 { font-size: 1.25rem; }
  .bento-price { font-size: 1.25rem; }

  .pricing-card { padding: 1.75rem; }
  .pricing-card .price { font-size: 2.25rem; }

  .promo-banner { padding: 1.5rem; gap: 1.5rem; }

  .form-card { padding: 1.25rem; min-height: auto; }

  .stepper-circle { width: 32px; height: 32px; font-size: 0.75rem; }

  .footer-grid { gap: 2rem; }
  .footer-bottom { text-align: center; }

  .info-card { padding: 0.75rem; }
  .info-card strong { font-size: 0.8125rem; }

  .cal-grid { gap: 0.25rem; }
  .cal-day { font-size: 0.8125rem; }
  .cal-slots { grid-template-columns: repeat(3, 1fr); gap: 0.375rem; }
  .cal-slot { padding: 0.5rem; font-size: 0.8125rem; }
}

/* Small phones (max-width: 480px) */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
  .section-title { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .section-label { font-size: 0.6875rem; letter-spacing: 0.1em; }

  .navbar-inner { height: 64px; padding: 0 1rem; }
  .navbar-logo img { height: 32px; }
  .mobile-menu { top: 64px; padding: 1.5rem 1rem; }
  .mobile-menu a { font-size: 1.25rem; padding: 0.75rem 0; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero-tagline { font-size: 0.9375rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { width: 100%; text-align: center; justify-content: center; }

  .btn-primary, .btn-secondary { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }

  .about-img-wrap { aspect-ratio: 1/1; }
  .about-badge { bottom: -0.5rem; left: -0.5rem; padding: 0.75rem 1rem; }
  .about-badge p:not(:first-child) { font-size: 0.875rem; }

  .bento-card { padding: 1.25rem; }
  .bento-card h3 { font-size: 1.125rem; }
  .bento-card p { font-size: 0.8125rem; }

  .project-card h3 { font-size: 1.125rem; }
  .project-card .info { padding: 1rem; }

  .testimonial-card { padding: 1.5rem; min-height: 200px; }
  .testimonial-card .text { font-size: 0.8125rem; }

  .pricing-card { padding: 1.5rem; }
  .pricing-card .price { font-size: 2rem; margin-bottom: 1.5rem; }
  .pricing-card .price-text { font-size: 1.5rem; }
  .pricing-card h3 { font-size: 1.25rem; }

  .faq-question { font-size: 0.875rem; padding: 1rem 0; }

  .form-input { padding: 0.875rem; font-size: 0.8125rem; }
  .form-label { font-size: 0.8125rem; }
  .option-btn { padding: 0.875rem; font-size: 0.8125rem; }

  .stepper { gap: 0; }
  .stepper-circle { width: 28px; height: 28px; font-size: 0.6875rem; }
  .stepper-line { margin-bottom: 1.5rem; }

  .tape-item { font-size: 0.625rem; padding: 0 0.5rem; letter-spacing: 0.05em; }
  .tape-sep { font-size: 0.625rem; }

  .promo-banner { padding: 1.25rem; }
  .promo-counter-dot { width: 1.5rem; height: 1.5rem; font-size: 0.625rem; }

  .footer h4 { font-size: 0.6875rem; }
  .footer a { font-size: 0.8125rem; }
  .footer-bottom p { font-size: 0.6875rem; }

  .rdv-selected-recap { font-size: 0.8125rem; padding: 0.75rem; }

  .back-btn { font-size: 0.8125rem; padding: 0.375rem 0.75rem; margin-bottom: 1.5rem; }

  .guarantee-banner { padding: 1.5rem; }

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

/* Ultra-small phones (max-width: 360px) */
@media (max-width: 360px) {
  .container { padding: 0 0.75rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-tagline { font-size: 0.875rem; }
  .btn-primary, .btn-secondary { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
  .bento-card { padding: 1rem; }
  .section-title { font-size: 1.375rem; }
  .promo-banner { padding: 1rem; }
  .form-card { padding: 1rem; }
  .pricing-card { padding: 1.25rem; }
  .testimonial-card { padding: 1.25rem; min-height: 180px; }
}

/* ===== TESTIMONIAL STARS VISIBLE ===== */
.testimonial-card .stars svg { color: #E8C547; }
.testimonial-card .name { color: rgba(255,255,255,0.7); }
.testimonial-card .company { color: rgba(255,255,255,0.4); }
