/* ===================================================
   contrat.eu — Design System
   Niche: Freelances & Auto-Entrepreneurs
   =================================================== */

/* --- Variables --- */
:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --emerald-50:  #ecfdf5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --amber-50:  #fffbeb;
  --amber-500: #f59e0b;
  --purple-50:  #faf5ff;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --white: #ffffff;
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow:     0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
  --radius-sm: .375rem;
  --radius:    .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--slate-700); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { color: var(--slate-900); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { color: var(--slate-600); line-height: 1.75; }

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--blue-600) 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .25rem .875rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.badge-blue   { background: var(--blue-50); color: var(--blue-600); }
.badge-green  { background: var(--emerald-50); color: var(--emerald-600); }
.badge-purple { background: var(--purple-50); color: var(--purple-600); }
.badge-amber  { background: var(--amber-50); color: var(--amber-500); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 600; line-height: 1;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600); color: var(--white); box-shadow: 0 0 0 0 rgb(37 99 235 / 0);
}
.btn-primary:hover {
  background: var(--blue-700); transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgb(37 99 235 / .45);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent; color: var(--slate-700); border: 1.5px solid var(--slate-200);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--slate-600); }
.btn-ghost:hover { color: var(--blue-600); background: var(--blue-50); }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-md); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-white { background: var(--white); color: var(--blue-600); font-weight: 700; }
.btn-white:hover { background: var(--blue-50); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ===================================================
   HEADER / NAV
   =================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav-brand { display: flex; align-items: center; gap: .5rem; font-size: 1.375rem; font-weight: 800; color: var(--slate-900); }
.nav-brand-dot { width: 8px; height: 8px; background: var(--blue-600); border-radius: 50%; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: .9375rem; font-weight: 500; color: var(--slate-600); transition: color var(--transition); }
.nav-links a:hover { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: .5rem; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: all var(--transition); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgb(37 99 235 / .08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero-title { margin-bottom: 1.25rem; }
.hero-title span { display: block; }
.hero-subtitle { font-size: 1.125rem; color: var(--slate-500); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--slate-500); }
.hero-trust-item svg { color: var(--emerald-500); flex-shrink: 0; }
.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-100); overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.hero-card-header {
  background: linear-gradient(135deg, var(--blue-600) 0%, #1d4ed8 100%);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
}
.hero-card-header h4 { color: var(--white); font-size: 1rem; }
.hero-card-header .status { background: rgb(255 255 255 / .2); color: var(--white); font-size: .75rem; padding: .2rem .6rem; border-radius: var(--radius-full); }
.hero-card-body { padding: 1.5rem; }
.contract-preview { display: flex; flex-direction: column; gap: .75rem; }
.contract-field { display: flex; flex-direction: column; gap: .25rem; }
.contract-field label { font-size: .75rem; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: .04em; }
.contract-field .value { font-size: .9375rem; color: var(--slate-800); font-weight: 500; padding: .5rem .75rem; background: var(--slate-50); border-radius: var(--radius-sm); border: 1px solid var(--slate-200); }
.hero-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--slate-100); display: flex; gap: .75rem; }
.hero-badge-float {
  position: absolute; top: -1rem; right: -1rem;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  padding: .875rem 1.25rem; border: 1px solid var(--slate-100);
  display: flex; align-items: center; gap: .75rem;
  animation: slideInRight .8s ease forwards, float2 8s 1s ease-in-out infinite;
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) translateX(0); }
  50% { transform: translateY(-8px) translateX(2px); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-badge-float .icon { font-size: 1.5rem; }
.hero-badge-float .info strong { display: block; font-size: .9375rem; color: var(--slate-900); }
.hero-badge-float .info span { font-size: .8125rem; color: var(--slate-500); }
.hero-badge-float2 {
  position: absolute; bottom: 1rem; left: -2rem;
  background: var(--emerald-500); color: var(--white); border-radius: var(--radius-lg);
  padding: .75rem 1.25rem; display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 20px -4px rgb(16 185 129 / .4);
  font-size: .875rem; font-weight: 600;
  animation: float3 7s 2s ease-in-out infinite;
}
@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===================================================
   STATS
   =================================================== */
.stats { padding: 3.5rem 0; border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.25rem; font-weight: 800; color: var(--slate-900); line-height: 1; margin-bottom: .375rem; }
.stat-label { font-size: .9375rem; color: var(--slate-500); }
.stat-number .unit { font-size: 1.25rem; color: var(--blue-600); }

/* ===================================================
   SECTION COMMONS
   =================================================== */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .badge { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.0625rem; max-width: 580px; margin: 0 auto; }

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-it-works { background: var(--slate-50); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2rem; border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm); position: relative;
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.step-number {
  position: absolute; top: -1rem; left: 1.5rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--blue-600); color: var(--white);
  font-size: .875rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgb(37 99 235 / .4);
}
.step-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem; margin-top: .5rem;
}
.step-icon-blue   { background: var(--blue-50); }
.step-icon-green  { background: var(--emerald-50); }
.step-icon-purple { background: var(--purple-50); }
.step-card h3 { margin-bottom: .625rem; font-size: 1.125rem; }
.step-arrow {
  display: none;
  position: absolute; right: -1.25rem; top: 50%;
  transform: translateY(-50%);
  color: var(--slate-300); z-index: 1; font-size: 1.25rem;
}

/* ===================================================
   CONTRATS CATEGORIES
   =================================================== */
.categories { background: var(--white); }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.category-card {
  background: var(--white); border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-xl); padding: 1.75rem;
  transition: all var(--transition); cursor: pointer;
  display: flex; flex-direction: column; gap: .875rem;
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--blue-400); background: var(--blue-50);
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
}
.category-card:hover .category-icon { background: var(--blue-600); }
.category-card:hover .category-icon svg { color: var(--white); }
.category-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-md);
  background: var(--slate-100); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.category-icon svg { width: 1.375rem; height: 1.375rem; color: var(--slate-600); transition: color var(--transition); }
.category-card h3 { font-size: 1rem; color: var(--slate-900); }
.category-card p { font-size: .875rem; color: var(--slate-500); margin: 0; line-height: 1.5; }
.category-count { font-size: .8125rem; color: var(--blue-600); font-weight: 600; }
.category-featured { border-color: var(--blue-200); background: var(--blue-50); }
.category-featured .category-icon { background: var(--blue-600); }
.category-featured .category-icon svg { color: var(--white); }

/* ===================================================
   FEATURES / WHY US
   =================================================== */
.features { background: var(--slate-50); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.feature-card {
  background: var(--white); border-radius: var(--radius-xl); padding: 2rem;
  border: 1px solid var(--slate-100); box-shadow: var(--shadow-sm);
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.fi-blue   { background: var(--blue-50); }
.fi-green  { background: var(--emerald-50); }
.fi-purple { background: var(--purple-50); }
.fi-amber  { background: var(--amber-50); }
.feature-card h3 { font-size: 1.0625rem; margin-bottom: .375rem; }
.feature-card p { font-size: .9375rem; margin: 0; }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--white); border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-xl); padding: 1.75rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.stars { display: flex; gap: .1875rem; color: var(--amber-500); margin-bottom: 1rem; font-size: 1rem; }
.testimonial-text { font-size: .9375rem; color: var(--slate-600); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.author-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.author-name { font-size: .9375rem; font-weight: 600; color: var(--slate-900); }
.author-role { font-size: .8125rem; color: var(--slate-500); }

/* ===================================================
   PRICING PREVIEW
   =================================================== */
.pricing-preview { background: var(--slate-50); }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.toggle-label { font-size: .9375rem; font-weight: 600; color: var(--slate-600); }
.toggle-label.active { color: var(--slate-900); }
.toggle-switch {
  width: 3rem; height: 1.625rem; background: var(--blue-600);
  border-radius: var(--radius-full); position: relative; cursor: pointer;
  transition: background var(--transition);
}
.toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 1.25rem; height: 1.25rem; background: var(--white);
  border-radius: 50%; transition: transform var(--transition);
}
.toggle-switch.annual::after { transform: translateX(1.375rem); }
.discount-badge { background: var(--emerald-500); color: var(--white); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: var(--radius-full); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plan-card {
  background: var(--white); border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-xl); padding: 2rem; position: relative;
  transition: all var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.plan-card.featured {
  border-color: var(--blue-500); background: var(--blue-600);
  box-shadow: 0 20px 40px -8px rgb(37 99 235 / .4);
}
.plan-badge {
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  background: var(--amber-500); color: var(--white); font-size: .75rem; font-weight: 700;
  padding: .3rem .875rem; border-radius: var(--radius-full); white-space: nowrap;
}
.plan-name { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); margin-bottom: .5rem; }
.plan-card.featured .plan-name { color: rgb(255 255 255 / .7); }
.plan-price { display: flex; align-items: flex-end; gap: .25rem; margin-bottom: .375rem; }
.plan-amount { font-size: 2.75rem; font-weight: 800; color: var(--slate-900); line-height: 1; }
.plan-card.featured .plan-amount { color: var(--white); }
.plan-period { font-size: .9375rem; color: var(--slate-500); padding-bottom: .25rem; }
.plan-card.featured .plan-period { color: rgb(255 255 255 / .6); }
.plan-desc { font-size: .875rem; color: var(--slate-500); margin-bottom: 1.5rem; min-height: 2.5rem; }
.plan-card.featured .plan-desc { color: rgb(255 255 255 / .7); }
.plan-features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.plan-feature { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--slate-700); }
.plan-card.featured .plan-feature { color: rgb(255 255 255 / .9); }
.plan-feature svg { flex-shrink: 0; color: var(--emerald-500); width: 1.125rem; height: 1.125rem; }
.plan-card.featured .plan-feature svg { color: rgb(255 255 255 / .8); }
.plan-cta { display: block; width: 100%; }
.plan-card.featured .plan-cta { background: var(--white); color: var(--blue-600); }
.plan-card.featured .plan-cta:hover { background: var(--blue-50); }
.pricing-note { text-align: center; margin-top: 2rem; font-size: .875rem; color: var(--slate-500); }
.pricing-note a { color: var(--blue-600); font-weight: 600; }

/* ===================================================
   FAQ
   =================================================== */
.faq { background: var(--white); }
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--slate-100); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--blue-200); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; cursor: pointer; background: none; width: 100%; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--slate-900);
}
.faq-question:hover { color: var(--blue-600); }
.faq-chevron { width: 1.25rem; height: 1.25rem; color: var(--slate-400); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-600); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: .9375rem; color: var(--slate-600); line-height: 1.75; }

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, #06b6d4 100%);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { text-align: center; position: relative; }
.cta-content h2 { color: var(--white); margin-bottom: 1rem; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.cta-content p { color: rgb(255 255 255 / .8); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-trust { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.cta-trust-item { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: rgb(255 255 255 / .7); }
.cta-trust-item svg { color: rgb(255 255 255 / .5); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-logo { font-size: 1.375rem; font-weight: 800; color: var(--white); margin-bottom: .875rem; }
.footer-tagline { font-size: .9375rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius);
  background: var(--slate-800); display: flex; align-items: center; justify-content: center;
  color: var(--slate-400); font-size: .875rem; transition: all var(--transition);
}
.social-link:hover { background: var(--blue-600); color: var(--white); }
.footer-col h4 { font-size: .9375rem; font-weight: 600; color: var(--white); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: .9375rem; color: var(--slate-400); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--slate-800); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: .875rem; color: var(--slate-500); transition: color var(--transition); }
.footer-legal a:hover { color: var(--slate-300); }
.footer-copyright { font-size: .875rem; }

/* ===================================================
   MOBILE MENU
   =================================================== */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--white); padding: 1.5rem;
  flex-direction: column; gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--slate-100); cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-links a {
  display: flex; align-items: center; padding: 1rem 0;
  font-size: 1.125rem; font-weight: 500; color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
  transition: color var(--transition);
}
.mobile-nav-links a:hover { color: var(--blue-600); }
.mobile-nav-cta { display: flex; flex-direction: column; gap: .75rem; margin-top: auto; }

/* ===================================================
   PAGE: MODELES
   =================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  padding: 4rem 0 3rem; text-align: center;
}
.page-hero h1 { margin-bottom: .875rem; }
.page-hero p { font-size: 1.125rem; max-width: 560px; margin: 0 auto 2rem; }
.search-bar {
  display: flex; gap: 0; max-width: 540px; margin: 0 auto;
  background: var(--white); border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-full); overflow: hidden; box-shadow: var(--shadow-md);
  transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgb(37 99 235 / .1); }
.search-bar input {
  flex: 1; padding: .75rem 1.25rem; border: none; outline: none;
  font-size: .9375rem; color: var(--slate-700); background: transparent;
}
.search-bar button {
  padding: .75rem 1.5rem; background: var(--blue-600); color: var(--white);
  font-weight: 600; font-size: .9375rem; border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--blue-700); }
.filter-bar { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0; }
.filter-btn {
  padding: .5rem 1.25rem; border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--slate-200); background: var(--white); color: var(--slate-600);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.template-card {
  background: var(--white); border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-xl); padding: 1.75rem;
  transition: all var(--transition); position: relative;
}
.template-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.template-type { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-600); margin-bottom: .5rem; }
.template-card h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--slate-900); }
.template-card p { font-size: .875rem; color: var(--slate-500); margin-bottom: 1.25rem; line-height: 1.6; }
.template-meta { display: flex; align-items: center; justify-content: space-between; }
.template-price { font-size: 1rem; font-weight: 700; color: var(--slate-900); }
.template-price .free { color: var(--emerald-600); }
.template-tag { font-size: .75rem; padding: .2rem .625rem; border-radius: var(--radius-full); font-weight: 600; }
.tag-free { background: var(--emerald-50); color: var(--emerald-600); }
.tag-pro  { background: var(--blue-50); color: var(--blue-600); }
.tag-pop  { background: var(--amber-50); color: var(--amber-500); }

/* ===================================================
   PAGE: TARIFS
   =================================================== */
.pricing-hero { padding: 4rem 0 3rem; text-align: center; background: var(--slate-50); }
.pricing-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }
.plan-full-card {
  background: var(--white); border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-xl); padding: 2.5rem;
  position: relative; transition: all var(--transition);
}
.plan-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.plan-full-card.featured { background: var(--blue-600); border-color: var(--blue-600); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--slate-100); font-size: .9375rem; }
.compare-table th { font-weight: 700; color: var(--slate-900); background: var(--slate-50); }
.compare-table td:first-child { color: var(--slate-700); }
.compare-table td:not(:first-child) { text-align: center; font-weight: 600; color: var(--slate-900); }
.compare-check { color: var(--emerald-500); }
.compare-x { color: var(--slate-300); }

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-in-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }
.stagger-5 { transition-delay: .5s; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-badge-float { right: 0; }
  .hero-badge-float2 { left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 3rem 0 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .pricing-full-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .templates-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .categories-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
