/* ========================================
   EXPERT WP - Swiss Modern Refined Design System
   Identité visuelle unique pour agence WordPress
   ======================================== */

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  /* Palette sophistiquée - Swiss Modern */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;

  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;

  /* Couleurs sémantiques */
  --primary: var(--slate-900);
  --primary-light: var(--slate-800);
  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);
  --accent-alt: var(--cyan-500);
  --text: var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-500);
  --bg: #ffffff;
  --bg-alt: var(--slate-50);
  --bg-dark: var(--slate-900);
  --border: var(--slate-200);

  /* Typographie distinctive */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale fluide */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 0.75vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.25vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 1.5vw, 3rem);
  --text-5xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);

  /* Spacing système 8pt */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Effets */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 0;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 800px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip; /* clip au lieu de hidden pour ne pas bloquer position: sticky */
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip; /* clip au lieu de hidden pour ne pas bloquer position: sticky */
  width: 100%;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: var(--text-4xl); margin-bottom: var(--space-4); }
h2 { font-size: var(--text-3xl); margin-bottom: var(--space-3); }
h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
h5 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
h6 { font-size: var(--text-base); margin-bottom: var(--space-2); }

p {
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

strong { font-weight: 600; }

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-4);
  box-sizing: border-box;
}

/* Grid système suisse */
.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}

/* ========================================
   HEADER - Flottant et élégant
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  position: relative;
  padding: var(--space-1) 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* CTA dans navigation - plus impactant */
.main-nav .btn-primary {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  border: 2px solid transparent;
}

.main-nav .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  transform: translateY(-1px);
  border-color: var(--accent-hover);
}

/* ========================================
   BUTTONS - Système de boutons raffiné
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white !important;
}

.btn-primary:active {
  transform: translateY(0);
  color: white !important;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   HERO SECTION - Asymétrique et impactant
   ======================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: var(--space-12) 0 var(--space-8);
  margin-top: 80px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

/* Grille géométrique suisse en background */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: var(--text-4xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--primary) 0%, var(--slate-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-visual-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

/* Hero simple pour pages secondaires */
.hero-section-simple {
  padding: var(--space-12) 0 var(--space-8);
  margin-top: 80px;
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-section-simple::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  z-index: 0;
}

.hero-section-simple .container {
  position: relative;
  z-index: 1;
}

.hero-section-simple h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-3);
}

.hero-section-simple p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.hero-section-simple .breadcrumb {
  margin-bottom: var(--space-4);
}

.hero-section-simple .breadcrumb ol {
  justify-content: center;
}

/* ========================================
   CARDS - Glassmorphism subtil
   ======================================== */
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: var(--transition);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: var(--radius-md);
  color: white;
  font-size: 24px;
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-glow);
}

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* Cards sur fond sombre */
.section-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.section-dark .card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: var(--space-12) 0;
}

.section-dark {
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-dark p {
  color: var(--slate-300);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  margin-bottom: var(--space-3);
}

.cta-content p {
  color: var(--slate-200);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--slate-200);
  padding: var(--space-12) 0 var(--space-6);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-title {
  color: white;
  font-size: var(--text-lg);
  font-weight: 700;
  display: block;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-2);
}

.footer-col a {
  color: var(--slate-200);
  font-size: var(--text-sm);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  color: white;
}

/* Footer Accordion - Desktop : pas d'accordéon */
.footer-accordion-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  text-align: left;
}

.footer-accordion-toggle .footer-title {
  margin: 0;
}

.accordion-icon {
  display: none;
}

.footer-accordion-content {
  display: block;
  margin-top: var(--space-4);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--slate-800);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--slate-500);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Désactiver hover effects sur mobile/touch */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .hero-section::before,
  .hero-section::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-12: 4rem;
    --space-10: 3rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--space-3) * 2 + 40px + 2px); /* header padding + logo height + border */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav li {
    border-bottom: 1px solid var(--border);
  }

  .main-nav a {
    display: block;
    padding: var(--space-3) 0;
  }

  .main-nav .btn {
    margin-top: var(--space-3);
    width: 100%;
  }

  .hero-section {
    min-height: auto;
    padding: var(--space-8) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }

  /* Accordéons footer sur mobile */
  .footer-col {
    border-bottom: 1px solid var(--slate-800);
    padding-bottom: var(--space-3);
  }

  .footer-accordion-toggle {
    padding: var(--space-3) 0;
  }

  .footer-accordion-toggle .footer-title {
    margin: 0;
    font-size: 1rem;
    text-align: center;
    flex: 1;
  }

  .accordion-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    color: var(--accent);
    font-size: 0.875rem;
  }

  .footer-accordion.is-open .accordion-icon {
    transform: rotate(180deg);
  }

  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .footer-accordion.is-open .footer-accordion-content {
    max-height: 500px;
    margin-top: var(--space-3);
  }

  .footer-col p {
    text-align: center;
  }

  .footer-col ul {
    text-align: center;
  }
}

/* Très petits écrans (iPhone SE, etc.) */
@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding: 0 var(--space-2); /* Réduit de 32px à 16px */
  }

  .hero-section {
    padding: var(--space-6) 0; /* Réduit de 64px à 48px */
  }

  .hero-section-simple {
    padding: var(--space-8) 0 var(--space-6);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .section {
    padding: var(--space-8) 0; /* Réduit de space-12 */
  }

  .cta-section {
    padding: var(--space-8) 0;
  }

  .card {
    padding: var(--space-4); /* Réduit de space-6 */
  }
}

/* ========================================
   FAQ SECTION - ACCORDEON
   ======================================== */
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-4);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-4) var(--space-4);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: var(--space-3);
  }

  .faq-answer {
    padding: 0 var(--space-3);
  }

  .faq-item.active .faq-answer {
    padding: 0 var(--space-3) var(--space-3);
  }
}

/* ========================================
   BOUTON RETOUR EN HAUT
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}
