/* ============================================
   PAYSAGIO — Site Vitrine
   ============================================ */

/* ---------- SELF-HOSTED FONTS ---------- */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- VARIABLES ---------- */
:root {
  --purple: #5852F2;
  --purple-dark: #4640d4;
  --purple-light: #ededff;
  --green: #D4F265;
  --forest: #008C73;
  --dark: #17163F;
  --text: #4a4a68;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8f7ff;
  --bg-dark: #0f0e2a;
  --border: #e5e5ef;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(88, 82, 242, 0.08);
  --shadow-lg: 0 12px 48px rgba(88, 82, 242, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-dark); }
ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto 60px;
}
.text-gradient {
  color: var(--purple);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 82, 242, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; text-align: center; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo { display: flex; align-items: center; }
.logo-white { display: block; }
.logo-default { display: none; }
.navbar.scrolled .logo-white { display: none; }
.navbar.scrolled .logo-default { display: block; }
.navbar-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.navbar-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.navbar-links a:hover { color: #fff; }
.navbar.scrolled .navbar-links a { color: var(--text); }
.navbar.scrolled .navbar-links a:hover { color: var(--purple); }
.navbar-cta { }
.navbar.scrolled .navbar-cta { }
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .navbar-toggle span { background: var(--dark); }

/* ---------- HERO ---------- */
.hero {
  background: var(--dark);
  padding: 160px 0 100px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/screenshots/mes-chantiers.png') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.hero::after {
  display: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  color: #fff;
  margin-bottom: 24px;
}
.hero-title .text-gradient {
  color: var(--green);
}
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-proof {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}
.hero-screenshot-wrapper {
  perspective: 1000px;
}
.hero-screenshot {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s ease;
}
.hero-screenshot:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}

/* Hero entrance animations */
.hero-content {
  animation: heroFadeUp 0.8s ease both;
}
.hero-visual {
  animation: heroFadeUp 0.8s 0.3s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- STATS ---------- */
.stats {
  padding: 60px 0;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item {
  padding: 32px;
  position: relative;
  transition: transform var(--transition);
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-item:hover {
  transform: scale(1.05);
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple);
}
.stat-label {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 1rem;
}

/* ---------- JOURNEY / TIMELINE ---------- */
.journey {
  padding: 120px 0;
  background: var(--bg-alt);
}
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 80px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--purple);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  padding: 0 0 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -49px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--purple);
  border: 3px solid var(--bg-alt);
  border-radius: 50%;
  z-index: 1;
}
.timeline-time {
  position: absolute;
  left: -80px;
  top: 2px;
  font-weight: 700;
  color: var(--purple);
  font-size: 0.9rem;
  width: 45px;
  text-align: right;
}
.timeline-content h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 120px 0;
}
.features-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.features-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.features-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.features-tab.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.features-tab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.feature-panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.feature-panel.active {
  display: grid;
  animation: panelFadeIn 0.35s ease;
}
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.feature-text h3 {
  margin-bottom: 16px;
}
.feature-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: url('../images/paysagio-minimalist.svg') center/contain no-repeat;
}
.feature-image {
  position: relative;
  background: #f0f0f5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-image::before {
  content: '';
  display: block;
  height: 28px;
}
.feature-image::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: #d1d1d8;
  border-radius: 50%;
  box-shadow: 14px 0 0 #d1d1d8, 28px 0 0 #d1d1d8;
}
.feature-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(88, 82, 242, 0.18);
}
.feature-image img {
  border-radius: 0;
}

/* ---------- MOBILE SECTION ---------- */
.mobile-section {
  padding: 120px 0;
  background: var(--bg-alt);
}
.mobile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mobile-text .section-title { text-align: left; }
.mobile-text p {
  color: var(--text-light);
  margin: 20px 0 24px;
}
.phone-mockup {
  max-width: 300px;
  margin: 0 auto;
  background: #e5e5ec;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-mockup img {
  border-radius: 24px;
  width: 100%;
}

/* ---------- COMPARISON ---------- */
.comparison {
  padding: 120px 0;
}
.comparison-table {
  overflow-x: auto;
  margin-top: 20px;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-weight: 600;
  color: var(--dark);
  background: var(--bg-alt);
}
.comparison-table td:first-child,
.comparison-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--dark);
  background: transparent;
}
.comparison-table .highlight {
  background: var(--purple-light);
}
.comparison-table th.highlight {
  background: var(--purple);
  color: #fff;
  border-radius: 12px 12px 0 0;
}
.icon-yes { color: var(--forest); font-weight: 700; font-size: 1.2rem; }
.icon-no { color: #e53e3e; font-weight: 700; font-size: 1.1rem; }
.icon-partial { color: #f59e0b; font-weight: 700; font-size: 1.1rem; }

/* ---------- WHY US ---------- */
.why-us {
  padding: 120px 0;
  background: var(--bg-alt);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.why-card {
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--purple);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  width: 72px;
  height: 72px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--purple);
}
.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 120px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card blockquote p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
}
.testimonial-author span {
  display: block;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ---------- PRICING ---------- */
.pricing {
  padding: 120px 0;
  background: var(--bg-alt);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card .pricing-features {
  flex: 1;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--base {
  border-color: var(--purple);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
}
.pricing-period {
  color: var(--text-light);
  font-size: 1rem;
}
.pricing-features {
  margin: 32px 0;
  text-align: left;
}
.pricing-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: url('../images/paysagio-minimalist.svg') center/contain no-repeat;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 120px 0;
}
.faq-list {
  max-width: 760px;
  margin: 60px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--purple); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  padding-bottom: 20px;
}
.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- CTA FINAL / CONTACT ---------- */
.cta-final {
  padding: 120px 0;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/demo/jardin_residentiel.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.cta-final-header {
  text-align: center;
  margin-bottom: 48px;
}
.cta-final-header h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.cta-final-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.cta-final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.contact-form-wrapper {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.contact-form-wrapper .contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.contact-form-wrapper .contact-form .form-group:last-of-type {
  flex: 1;
}
.contact-form-wrapper .contact-form textarea {
  flex: 1;
  min-height: 100px;
}
.contact-form-wrapper h3 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.25rem;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { resize: vertical; }

/* ---------- CALENDLY (in CTA final) ---------- */
.cta-calendly {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 24px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cta-calendly h3 {
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 16px;
}
.cta-calendly .calendly-inline-widget {
  flex: 1;
  min-height: 480px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------- STICKY CTA (MOBILE) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 999;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-cta.visible { transform: translateY(0); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children in grids */
.why-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.why-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.testimonial-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonial-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.stat-item.reveal:nth-child(2) { transition-delay: 0.15s; }
.stat-item.reveal:nth-child(3) { transition-delay: 0.3s; }
.timeline-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.timeline-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.timeline-item.reveal:nth-child(4) { transition-delay: 0.3s; }
.timeline-item.reveal:nth-child(5) { transition-delay: 0.4s; }

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

/* ---------- TABLETTE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-ctas { justify-content: center; }
  .hero-screenshot { transform: none; }
  .hero-screenshot:hover { transform: none; }
  .feature-panel.active { grid-template-columns: 1fr; gap: 40px; }
  .mobile-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .mobile-text .section-title { text-align: center; }
  .cta-final-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 700px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }

  /* Menu mobile ouvert */
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  }
  .navbar-links.open a { color: var(--dark) !important; font-size: 1.1rem; }
  .navbar.scrolled .navbar-links.open { background: rgba(255,255,255,0.98); }

  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; }

  .stats-inner { grid-template-columns: 1fr; gap: 24px; }
  .stat-item { padding: 20px; }
  .stat-number { font-size: 2.5rem; }

  .timeline { padding-left: 60px; }
  .timeline::before { left: 20px; }
  .timeline-time { left: -55px; font-size: 0.8rem; width: 40px; }
  .timeline-item::before { left: -44px; }

  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .stat-item + .stat-item::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }

  .sticky-cta { display: block; }

  .features-tabs { gap: 6px; }
  .features-tab { padding: 10px 16px; font-size: 0.85rem; gap: 6px; }

  .comparison-table table { font-size: 0.85rem; }
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; }
}

/* ---------- Toggle animation ---------- */
.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- BODY MENU OPEN ---------- */
body.menu-open { overflow: hidden; }

/* ---------- LEGAL PAGE ---------- */
.legal-page {
  padding: 120px 0 60px;
}
.legal-page h1 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-page p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.legal-page section {
  margin-bottom: 1.5rem;
}
.legal-back {
  margin-top: 3rem;
}
.legal-back a {
  font-weight: 500;
}

/* ---------- PRICING TOGGLE ---------- */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pricing-toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition);
}
.pricing-toggle-label.active {
  color: var(--dark);
}
.pricing-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 50px;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--transition);
}
.pricing-toggle.active {
  background: var(--purple);
}
.pricing-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.pricing-toggle.active::after {
  transform: translateX(22px);
}
.pricing-badge-save {
  background: var(--green);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 50px;
}
.pricing-role-desc {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 4px;
  margin-bottom: 16px;
}
.pricing-note {
  text-align: center;
  margin-top: 24px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.pricing-note strong {
  color: var(--dark);
}
.pricing-annual { display: none; }
.pricing-monthly { display: inline; }
body.annual-pricing .pricing-annual { display: inline; }
body.annual-pricing .pricing-monthly { display: none; }

/* ---------- INTERMEDIATE CTA ---------- */
.cta-mid {
  padding: 60px 0;
  text-align: center;
  background: var(--bg-alt);
}
.cta-mid p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- MOBILE NAV CTA ---------- */
.nav-cta-mobile {
  display: none;
}
.navbar-links.open .nav-cta-mobile {
  display: block;
  padding-top: 8px;
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(88, 82, 242, 0.15);
}
.cta-final .btn:focus-visible,
.hero .btn:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}
.faq-question:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-content, .hero-visual { animation: none; opacity: 1; transform: none; }
  .feature-panel { animation: none !important; }
}
