/* GoldInvestment Styles */
/* Theme Variables */
:root {
  /* Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --border-color: rgba(0,0,0,0.1);
  --card-bg: #ffffff;
  --header-bg: rgba(255,255,255,0.95);
  
  /* Gold remains consistent */
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --gold-dark: #b8941f;
  --gold-primary: #d4af37;
  
  /* Primary colors for buttons and links */
  --primary-color: #d4af37;
  --primary-hover: #b8941f;
  
  /* Status colors */
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-primary: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --bg-tertiary: #333333;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border-color: rgba(212,175,55,0.3);
  --card-bg: #2a2a2a;
  --header-bg: rgba(26,26,26,0.95);
  
  /* Status colors - slightly adjusted for dark mode */
  --success-color: #34d399;
  --error-color: #f87171;
  --warning-color: #fbbf24;
  --info-color: #60a5fa;
}

/* Typography Hierarchy */
h1{font-size:clamp(2rem,3.5vw,2.8rem);font-weight:700;margin-bottom:1rem;color:var(--text-primary)}
h2{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:600;margin-bottom:0.8rem;color:var(--text-primary)}
h3{font-size:clamp(1.2rem,2vw,1.4rem);font-weight:600;margin-bottom:0.6rem;color:var(--text-primary)}
.section{padding:4rem 0;background:var(--bg-primary)}
.section-header{text-align:center;margin-bottom:3rem}
.section-header h2{margin-bottom:1rem;color:var(--text-primary)}
.section-header p{color:var(--text-secondary);font-size:1.1rem;max-width:700px;margin:0 auto;line-height:1.6}
.card{
  background:var(--card-bg);
  padding:2rem;
  border-radius:12px;
  border:1px solid var(--border-color);
  text-align:center;
  transition:all 0.3s ease;
  box-shadow:0 4px 6px rgba(0,0,0,0.05);
  position:relative;
  overflow:hidden;
}
.card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
  border-color:var(--gold);
}
.card::after{
  content:'';
  position:absolute;
  top:-50%;
  right:-50%;
  width:100px;
  height:100px;
  background:linear-gradient(to bottom left, transparent, var(--gold-light), transparent);
  opacity:0;
  transition:opacity 0.5s ease;
  transform:rotate(45deg);
}
.card:hover::after{
  opacity:0.6;
}
.card h3{
  color:var(--text-primary);
  margin-bottom:1rem;
  position:relative;
}
.card h3::after{
  content:'';
  position:absolute;
  bottom:-8px;
  left:50%;
  transform:translateX(-50%);
  width:40px;
  height:2px;
  background:var(--gold);
  transition:width 0.3s ease;
}
.card:hover h3::after{
  width:80px;
}
.card p{
  color:var(--text-secondary);
  line-height:1.6
}
.grid{display:grid;gap:2rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.lead{font-size:1.1rem;color:var(--text-secondary);margin-bottom:2rem}

/* Toast Notifications System */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(100%);
  opacity: 0;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.toast.success::before { background: var(--success-color); }
.toast.error::before { background: var(--error-color); }
.toast.warning::before { background: var(--warning-color); }
.toast.info::before { background: var(--info-color); }

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.toast-message {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.toast-close:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text-primary);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  transition: width linear;
  border-radius: 0 0 12px 12px;
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Enhanced Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, 
    var(--bg-tertiary) 25%, 
    rgba(212,175,55,0.1) 50%, 
    var(--bg-tertiary) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.image-loading {
  position: relative;
  overflow: hidden;
}

.image-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-tertiary);
  z-index: 1;
}

.image-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 2;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Micro-animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

/* Smooth transitions for all interactive elements */
button, .btn, a, .card, .product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Responsive toast for mobile */
@media (max-width: 768px) {
  .toast-container {
    right: 10px;
    left: 10px;
    top: 70px;
  }
  
  .toast {
    min-width: auto;
    max-width: none;
  }
}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  color:var(--text-primary);
  background:var(--bg-primary);
  transition:background-color 0.3s ease, color 0.3s ease;
  line-height:1.6;
  padding-top:140px;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1200px,92%);margin:0 auto}

/* Topbar Trust */
.topbar{background:var(--gold);color:var(--bg-primary);border-bottom:1px solid var(--border-color)}
.topbar-inner{display:flex;gap:12px;align-items:center;justify-content:center;padding:8px 0;font-size:0.9rem;color:var(--bg-primary);font-weight:500}
.topbar-item a{color:var(--bg-primary);text-decoration:none}
.topbar-item a:hover{color:var(--bg-secondary)}
.topbar-divider{color:var(--bg-secondary)}

/* Header */
.header{
  position:fixed;
  top:0;
  width:100%;
  background:var(--header-bg);
  backdrop-filter:blur(10px);
  z-index:1000;
  border-bottom:1px solid var(--border-color);
  transition:background-color 0.3s ease;
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.header-controls{display:flex;align-items:center;gap:12px}

/* Theme Toggle */
.theme-toggle{
  background:none;
  border:2px solid var(--border-color);
  border-radius:50%;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.3s ease;
  color:var(--text-primary);
}
.theme-toggle:hover{
  border-color:var(--gold);
  background:rgba(212,175,55,0.1);
  transform:scale(1.05);
}
.theme-icon{
  font-size:18px;
  transition:transform 0.3s ease;
}
.theme-toggle:hover .theme-icon{
  transform:rotate(20deg);
}
.brand{display:flex;align-items:center;gap:15px;font-weight:700;letter-spacing:.5px}
.brand-logo{width:240px;height:72px;display:block;object-fit:contain;fill:var(--gold);filter:drop-shadow(0 2px 4px rgba(0,0,0,0.3))}
.brand-name{display:none}
.nav-links{
  display:flex;
  gap:22px;
  align-items:center
}
.nav-links a{
  padding:8px 10px;
  color:var(--text-primary);
  transition:all 0.3s ease;
  position:relative;
  font-weight:500;
}
.nav-links a::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:50%;
  width:0;
  height:2px;
  background:var(--gold);
  transition:all 0.3s ease;
  transform:translateX(-50%);
}
.nav-links a:hover{
  color:var(--gold);
  transform:translateY(-2px);
}
.nav-links a:hover::after{
  width:70%;
}
.nav-links a.active{
  color:var(--gold);
  font-weight:600;
}
.nav-links a.active::after{
  width:90%;
}

/* Mobile Navigation */
.menu-btn{
  display:none;
  background:none;
  border:0;
  color:var(--text-primary);
  font-size:26px;
  cursor:pointer;
  padding:8px;
  border-radius:4px;
  transition:background-color 0.3s ease;
}
.menu-btn:hover{
  background:rgba(212,175,55,0.1);
}

@media(max-width:900px){
  .menu-btn{display:block}
  .nav-links{
    position:fixed;
    inset:60px 0 auto 0;
    background:var(--bg-secondary);
    border-top:1px solid var(--border-color);
    flex-direction:column;
    padding:20px;
    transform:translateY(-120%);
    transition:transform 0.3s ease;
    box-shadow:0 4px 20px rgba(0,0,0,0.1);
    z-index:999;
  }
  .nav-links.open{transform:translateY(0)}
  .nav-links a{
    padding:12px 16px;
    border-radius:8px;
    margin:4px 0;
    transition:all 0.3s ease;
  }
  .nav-links a:hover{
    background:rgba(212,175,55,0.1);
  }
  .brand-logo{
    width:180px;
    height:54px;
  }
}

/* Hero */
.hero{
  min-height:60vh;
  display:flex;
  align-items:center;
  background:linear-gradient(135deg, var(--bg-secondary), var(--gold-light), var(--gold), var(--gold-dark));
  background-attachment:fixed;
  background-size:200% 200%;
  border-bottom:4px solid var(--gold);
  margin-top:20px;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  animation:gradientBG 15s ease infinite;
  position:relative;
  overflow:hidden;
}
.hero::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:url('../img/gold-texture.svg');
  background-size:cover;
  opacity:0.05;
  z-index:0;
  transform:translateZ(0);
  pointer-events:none;
}
@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}
.hero-inner{text-align:center;padding:4rem 0;max-width:800px;margin:0 auto}
.hero h1{font-size:clamp(2.5rem,5vw,3.5rem);font-weight:700;margin-bottom:1.5rem;color:var(--text-primary)}
.hero-subtitle{font-size:1.2rem;margin-bottom:2.5rem;color:var(--text-secondary);max-width:600px;margin-left:auto;margin-right:auto}
.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* Gold Prices Section */
.gold-prices-section{background:var(--bg-primary);padding:4rem 0;border-bottom:1px solid var(--border-color)}
.price-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;text-align:center;transition:all 0.2s ease}
.price-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.1)}

.price-header h3{margin:0;color:var(--text-primary);font-size:1.1rem}
.price-purity{background:var(--gold);color:var(--bg-primary);padding:2px 8px;border-radius:12px;font-size:0.75rem;font-weight:600}
.price-value{font-size:1.8rem;font-weight:700;color:var(--gold);margin-bottom:0.5rem}
.price-change{font-size:0.9rem;font-weight:600}
.price-change.positive{color:var(--success-color, #10b981)}
.price-change.negative{color:var(--error-color, #ef4444)}
.prices-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.update-info{display:flex;align-items:center;gap:0.5rem;color:var(--text-secondary);font-size:0.9rem}
.live-indicator{width:8px;height:8px;background:var(--success-color, #10b981);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}
@media(max-width:768px){.prices-footer{flex-direction:column;text-align:center}}
.hero-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin:2rem 0;max-width:800px;margin-left:auto;margin-right:auto}
.feature-item{display:flex;align-items:center;gap:0.75rem;padding:1rem;background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;transition:all 0.3s ease}
.feature-item:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,0.15)}
.feature-icon{font-size:1.5rem;filter:grayscale(0.3)}
.hero-trust{font-size:0.95rem;color:var(--text-muted);margin-top:2rem;font-weight:500}
.btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{
  display:inline-block;
  padding:12px 24px;
  border-radius:6px;
  font-weight:600;
  text-align:center;
  transition:all 0.3s ease;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  z-index:1;
}
.btn::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:rgba(255,255,255,0.2);
  transition:all 0.4s ease;
  z-index:-1;
}
.btn:hover::before{
  left:0;
}
.btn-primary{
  background:var(--gold);
  color:#fff;
  border:2px solid var(--gold);
  box-shadow:0 4px 8px rgba(0,0,0,0.1);
}
.btn-primary:hover{
  background:var(--gold-dark);
  transform:translateY(-3px);
  box-shadow:0 6px 12px rgba(0,0,0,0.15);
}
.btn-secondary{
  background:transparent;
  color:var(--text-primary);
  border:2px solid var(--gold);
}
.btn-secondary:hover{
  background:rgba(212,175,55,0.1);
  transform:translateY(-3px);
  box-shadow:0 6px 12px rgba(0,0,0,0.1);
}

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .animate-in {
    transition: none;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn{
  display:inline-block;
  padding:12px 24px;
  border-radius:8px;
  border:2px solid transparent;
  font-weight:600;
  font-size:1rem;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  transition:all 0.3s ease;
  line-height:1.5;
  min-width:120px;
}
.btn-primary{
  background:var(--gold);
  color:var(--bg-primary);
  border-color:var(--gold);
}
.btn-primary:hover{
  background:var(--gold-hover, #c19b26);
  border-color:var(--gold-hover, #c19b26);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(212,175,55,0.3);
}
.btn-outline{
  border-color:var(--gold);
  color:var(--gold);
  background:transparent;
}
.btn-outline:hover{
  background:var(--gold);
  color:var(--bg-primary);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(212,175,55,0.2);
}
.btn-full{
  width:100%;
  padding:16px 24px;
  font-size:1.1rem;
  margin-top:1rem;
}

/* Pricing Transparency */
.pricing-transparency{background:var(--bg-primary);padding:4rem 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}
.pricing-transparency .section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.pricing-transparency h2{margin:0}
.pricing-note{color:var(--text-secondary);font-size:0.9rem}
.pricing-table{width:100%;border-collapse:collapse;border:1px solid var(--border-color);border-radius:12px;overflow:hidden}
.pricing-table thead th{background:var(--bg-secondary);color:var(--text-primary);text-align:left;padding:12px;border-bottom:1px solid var(--border-color);font-weight:600}
.pricing-table tbody td{padding:12px;border-bottom:1px solid var(--border-color);color:var(--text-secondary)}
.pricing-table tr:hover{background:var(--bg-secondary)}
.pricing-badge{display:inline-block;background:rgba(212,175,55,0.12);color:var(--gold);border:1px solid var(--gold);padding:2px 8px;border-radius:999px;font-size:0.75rem}
@media(max-width:768px){.pricing-transparency .section-header{flex-direction:column;align-items:flex-start}}

/* Featured Products Section */
.featured-products {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-icon {
  font-size: 3rem;
  margin: 1rem 0;
  display: block;
}

.product-info h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.product-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature {
  color: #28a745;
  font-size: 0.85rem;
  font-weight: 500;
}

.product-price {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  text-align: center;
}

.price-from {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.price-value {
  color: #d4af37;
  font-size: 1.5rem;
  font-weight: 700;
}

.products-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.cta-text {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Guarantees Section */
.guarantees-section {
  background: var(--bg-primary);
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.guarantee-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.guarantee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.guarantee-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.guarantee-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.guarantee-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.guarantee-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.certifications-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.cert-logo {
  text-align: center;
  padding: 1rem;
}

.logo-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  margin: 0 auto 0.5rem;
}

.cert-logo span {
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: block;
}

.guarantee-footer {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: 12px;
  margin-top: 2rem;
  border: 1px solid var(--border-color);
}

.guarantee-footer p {
  color: var(--text-primary);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Enhanced Estimation Section */
.estimation-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  padding: 5rem 0;
}

.estimation-header {
  text-align: center;
  margin-bottom: 4rem;
}

.estimation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.estimation-form-container {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-secondary);
  margin: 0;
}

.estimation-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
}



.estimation-process {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.estimation-process h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.process-steps {
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.step-number {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.expertise-guarantees {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.expertise-guarantees h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.guarantee-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guarantee-list li {
  color: #28a745;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.estimation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-number {
  color: #d4af37;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design for Estimation */
@media (max-width: 768px) {
  .estimation-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .estimation-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gold Prices Section */
.gold-prices{background:var(--bg-secondary);padding:60px 0}
.prices-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:40px;flex-wrap:wrap;gap:20px}
.prices-title h2{margin-bottom:8px}
.prices-subtitle{color:var(--text-muted);font-size:16px;margin:0}
.market-status{display:flex;align-items:center;gap:12px;font-size:14px}
.status-indicator{width:12px;height:12px;border-radius:50%;background:var(--success-color)}
.status-indicator.active{animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}
.status-text{font-weight:600;color:var(--text-primary)}
.last-update{color:var(--text-muted)}
.prices-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:30px}
.price-card{background:var(--card-bg);padding:24px;border-radius:12px;border:1px solid var(--border-color);transition:all 0.3s ease;position:relative}
.price-card.featured{border:2px solid var(--gold-primary);box-shadow:0 4px 20px rgba(212,175,55,0.2)}
.price-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,0,0,0.1)}
.price-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.price-label{font-size:16px;color:var(--text-primary);font-weight:600}
.price-purity{font-size:12px;color:var(--text-muted);background:var(--bg-primary);padding:4px 8px;border-radius:6px;font-weight:500}
.price-value{font-size:28px;font-weight:700;color:var(--gold-primary);margin-bottom:8px;text-align:center}
.price-change{font-size:14px;font-weight:600;text-align:center;margin-bottom:8px}
.price-change.positive{color:var(--success-color)}
.price-change.negative{color:var(--error-color)}
.price-weight{font-size:12px;color:var(--text-muted);text-align:center;font-weight:500}
.prices-footer{text-align:center;margin-top:40px}
.prices-disclaimer{color:var(--text-muted);font-size:14px;line-height:1.6}
.prices-disclaimer a{color:var(--gold-primary);text-decoration:none;font-weight:600}
.prices-disclaimer a:hover{text-decoration:underline}

/* Testimonials */
.testimonials{
  background:var(--bg-secondary);
  padding:64px 0;
  border-top:1px solid var(--border-color);
  transition:background-color 0.3s ease;
}
.testimonials h2{text-align:center;margin-bottom:48px;color:var(--gold);font-size:32px}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-bottom:48px}
.testimonial-card{
  background:var(--card-bg);
  border:1px solid var(--border-color);
  border-radius:12px;
  padding:24px;
  position:relative;
  transition:background-color 0.3s ease, border-color 0.3s ease;
}
.testimonial-content p{
  color:var(--text-primary);
  font-style:italic;
  margin-bottom:20px;
  line-height:1.6;
}
.testimonial-author{margin-bottom:12px}
.author-name{color:var(--gold);font-weight:600;margin-bottom:4px}
.author-date{color:var(--text-muted);font-size:13px}
.testimonial-rating{color:#ffd700;font-size:16px}
.testimonials-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center}
.summary-stat{
  background:rgba(212,175,55,.1);
  border:1px solid var(--border-color);
  border-radius:10px;
  padding:20px;
  transition:background-color 0.3s ease, border-color 0.3s ease;
}
.summary-number{font-size:24px;font-weight:800;color:var(--gold);margin-bottom:4px}
.summary-label{color:var(--text-muted);font-size:14px}
@media(max-width:640px){.testimonials-summary{grid-template-columns:1fr}}

/* Sections */
.section{
  padding:64px 0;
  border-top:1px solid var(--border-color);
  background:var(--bg-primary);
  transition:background-color 0.3s ease;
}
.section h2{font-size:32px;margin:0 0 14px;color:var(--text-primary)}
.section p.lead{color:var(--text-secondary)}
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid-3{grid-template-columns:1fr}}
.card{
  background:var(--card-bg);
  border:1px solid var(--border-color);
  border-radius:12px;
  padding:24px;
  transition:transform .3s ease,border-color .3s ease,background-color .3s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:rgba(212,175,55,.4);
}
.card h3{
  color:var(--gold);
  margin-bottom:12px;
  font-size:18px;
  font-weight:600;
}
.card p{
  color:var(--text-secondary);
  line-height:1.6;
}

/* Estimation Section */
.estimation-section{
  background:var(--bg-tertiary);
  padding:64px 0;
  border-top:1px solid var(--border-color);
  transition:background-color 0.3s ease;
}
.estimation-content{display:grid;grid-template-columns:2fr 1fr;gap:48px;align-items:center}
.estimation-text h2{color:var(--gold);margin-bottom:20px;font-size:32px}
.estimation-text .lead{
  color:var(--text-primary);
  margin-bottom:24px;
  font-size:18px;
  line-height:1.6;
}
.estimation-features{list-style:none;margin-bottom:32px}
.estimation-features li{
  color:var(--text-secondary);
  margin-bottom:8px;
  font-size:16px;
}
.estimation-stats{display:grid;gap:20px}
.stat-card{
  background:rgba(212,175,55,.1);
  border:1px solid var(--border-color);
  border-radius:10px;
  padding:20px;
  text-align:center;
  transition:background-color 0.3s ease, border-color 0.3s ease;
}
.stat-number{font-size:24px;font-weight:800;color:var(--gold);margin-bottom:4px}
.stat-label{color:var(--text-muted);font-size:14px}
@media(max-width:768px){.estimation-content{grid-template-columns:1fr;gap:32px}}

/* Rassurance */
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:24px}
.kpi{background:var(--card-bg);border:1px solid var(--border-color);border-radius:10px;padding:18px;text-align:center}
.kpi .num{font-size:24px;color:var(--gold);font-weight:800}
.kpi .label{color:var(--text-secondary)}
@media(max-width:900px){.kpis{grid-template-columns:repeat(2,1fr)}}

/* Footer */
.footer{
  background:var(--bg-secondary);
  padding:32px 0;
  border-top:1px solid var(--border-color);
  text-align:center;
  transition:background-color 0.3s ease;
}
.footer p{margin:8px 0;color:var(--text-muted)}
.footer a{color:var(--gold);text-decoration:none}
.footer a:hover{text-decoration:underline}

/* Contact form */
.form{
  display:grid;
  gap:20px;
  max-width:680px;
}
input,textarea,select{
  background:var(--bg-primary);
  border:2px solid var(--border-color);
  color:var(--text-primary);
  padding:14px 16px;
  border-radius:8px;
  font-size:1rem;
  line-height:1.5;
  transition:all 0.3s ease;
  width:100%;
  box-sizing:border-box;
}
input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(212,175,55,0.1);
}
input:invalid,textarea:invalid,select:invalid{
  border-color:var(--error-color, #ef4444);
}
textarea{
  min-height:140px;
  resize:vertical;
}
label{
  font-size:14px;
  color:var(--text-primary);
  font-weight:600;
  margin-bottom:6px;
  display:block;
}
.form-group{
  display:flex;
  flex-direction:column;
}
.form-error{
  color:var(--error-color, #ef4444);
  font-size:0.875rem;
  margin-top:4px;
}
.form-success{
  color:var(--success-color, #10b981);
  font-size:0.875rem;
  margin-top:4px;
}

/* Mining Video Section */
.mining-video {
  padding: 64px 0;
}
.mining-video .section-header {
  text-align: center;
}
.video-card {
  max-width: 960px;
  margin: 24px auto;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  overflow: hidden;
}
.video-poster {
  position: relative;
  display: block;
  cursor: pointer;
}
.video-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  filter: saturate(1.05) contrast(1.05);
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.video-consent {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

/* iframe container styles when playing */
.video-frame {
  position: relative;
  padding: 0;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Search System */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.search-input {
  width: 250px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  width: 300px;
}

.search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 0.5rem;
}

.search-results.show {
  display: block;
}

.search-result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(212, 175, 55, 0.05);
}

.search-result-title {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.search-result-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.search-result-page {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.search-no-results {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

.search-highlight {
  background: rgba(212, 175, 55, 0.2);
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
  font-weight: 500;
}

/* Widget Cours de l'Or */
.gold-price-widget {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.price-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 15px;
}

.price-item {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--gold);
}

.price-label {
  display: block;
  font-size: 0.9em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.price-value {
  display: block;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.price-change {
  font-size: 0.9em;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.price-change.positive {
  background: #d4edda;
  color: #155724;
}

.price-change.negative {
  background: #f8d7da;
  color: #721c24;
}

.price-update {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.update-time {
  font-size: 0.85em;
  color: var(--text-muted);
}

.refresh-btn {
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.refresh-btn:hover {
  background: var(--gold-dark);
  transform: rotate(180deg);
}

/* Calculateur d'Investissement */
.investment-calculator {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.investment-calculator h3 {
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.3em;
}

.calculator-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
}

.calc-input-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.calc-input-group input,
.calc-input-group select {
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.calc-input-group input:focus,
.calc-input-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.calc-result {
  grid-column: 1 / -1;
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid var(--border-color);
}

.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-label {
  font-weight: 600;
  color: var(--text-primary);
}

.result-value {
  font-weight: 700;
  color: var(--gold);
}

/* Page À propos */
.hero-about {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.hero-about h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-about .lead {
  font-size: 1.3em;
  opacity: 0.9;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.about-content h2 {
  color: var(--gold);
  margin-bottom: 20px;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
  z-index: 2;
}

.timeline-content h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats Cards */
.about-stats {
  display: grid;
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--gold);
}

.stat-number {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9em;
}

/* Équipe */
.section-title {
  text-align: center;
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 2.2em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-size: 1.1em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-member {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
}

.member-info h4 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 1.3em;
}

.member-role {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 15px;
}

.member-bio {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.member-credentials {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.credential {
  background: var(--gold);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
}

/* Valeurs */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-icon {
  font-size: 3em;
  margin-bottom: 20px;
  display: block;
}

.value-card h4 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.2em;
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.certification-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cert-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.cert-icon {
  width: 100%;
  height: 100%;
}

.certification-item h4 {
  color: var(--gold);
  margin-bottom: 10px;
}

.certification-item p {
  color: var(--text-muted);
  font-size: 0.9em;
  line-height: 1.5;
}

/* Background light */
.bg-light {
  background: var(--bg-secondary);
}

/* Section Certifications et Confiance */
.trust-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.main-certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.cert-badge {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.cert-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.cert-badge.lbma {
  border-color: #D4AF37;
}

.cert-badge.lloyds {
  border-color: #1a365d;
}

.cert-badge.iso {
  border-color: #0066cc;
}

.cert-badge.amf {
  border-color: #c41e3a;
}

.cert-logo {
  margin-bottom: 15px;
}

.cert-badge h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 1.1em;
  font-weight: 700;
}

.cert-badge p {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 8px;
}

.cert-date {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
}

/* Indicateurs de confiance */
.trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-icon {
  font-size: 2.5em;
  flex-shrink: 0;
}

.trust-content h4 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.1em;
}

.trust-content p {
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.trust-detail {
  color: var(--text-muted);
  font-size: 0.9em;
  font-style: italic;
}

/* Témoignages de confiance */
.trust-testimonials {
  text-align: center;
  margin-top: 60px;
}

.trust-testimonials h3 {
  color: var(--gold);
  margin-bottom: 30px;
  font-size: 1.5em;
}

.testimonials-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo span {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9em;
}

/* Formulaire d'estimation amélioré */
.instant-calculator {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
}

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

.calculator-header h4 {
  margin: 0;
  font-size: 1.3em;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  opacity: 0.9;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.calculator-inputs .input-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.calc-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 1em;
}

.calc-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.calc-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.estimation-result {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.result-display {
  margin-bottom: 10px;
}

.result-label {
  font-size: 1.1em;
  opacity: 0.9;
}

.result-value {
  font-size: 2em;
  font-weight: 800;
  margin-left: 10px;
  color: #fff;
}

.result-details {
  display: flex;
  justify-content: space-between;
  opacity: 0.8;
}

.result-details small {
  font-size: 0.85em;
}

/* Formulaire amélioré */
.enhanced-form {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-section {
  padding: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
  border-bottom: none;
}

.form-section h4 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Upload de fichiers */
.file-upload-area {
  position: relative;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--gold);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-placeholder span {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 5px;
}

.upload-placeholder small {
  color: var(--text-muted);
}

/* Options radio */
.radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.radio-option:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.radio-option input[type="radio"] {
  width: auto;
  margin: 0;
}

.radio-option input[type="radio"]:checked + span {
  color: var(--gold);
  font-weight: 600;
}

/* Actions du formulaire */
.form-actions {
  padding: 30px 25px;
  background: #f8f9fa;
  text-align: center;
}

.enhanced-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  color: white;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.enhanced-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-icon {
  font-size: 1.2em;
}

.btn-subtitle {
  font-size: 0.85em;
  opacity: 0.9;
  font-weight: 500;
}

.form-guarantees {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.form-guarantees .guarantee-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9em;
}

.form-guarantees .guarantee-item span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive pour les widgets */
@media (max-width: 768px) {
  .price-display {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .calculator-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gold-price-widget,
  .investment-calculator {
    padding: 15px;
    margin: 20px 0;
  }
  
  .price-value {
    font-size: 1.5em;
  }
  
  .search-container {
    display: none;
  }
  
  .search-container.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }
  
  .search-input {
    width: 100%;
  }
  
  .search-input:focus {
    width: 100%;
  }
  
  /* Responsive À propos */
  .hero-about h1 {
    font-size: 2.2em;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-year {
    width: 50px;
    height: 50px;
    font-size: 0.8em;
  }
  
  .timeline::before {
    left: 25px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .values-grid,
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Responsive Certifications et Confiance */
  .main-certifications {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .trust-indicators {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .testimonials-logos {
    gap: 20px;
  }
  
  .client-logo {
    padding: 15px 20px;
  }
}

.search-input {
  width: 250px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  width: 300px;
}

.search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 0.5rem;
}

.search-results.show {
  display: block;
}

.search-result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(212, 175, 55, 0.05);
}

.search-result-title {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.search-result-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.search-result-page {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.search-no-results {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

.search-highlight {
  background: rgba(212, 175, 55, 0.2);
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
  font-weight: 500;
}

/* Responsive Search */
@media (max-width: 768px) {
  .search-container {
    display: none;
  }
  
  .search-container.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }
  
  .search-input {
    width: 100%;
  }
  
  .search-input:focus {
    width: 100%;
  }
}

/* ===== STYLES POUR LA PAGE TÉMOIGNAGES ===== */

/* Hero Section Témoignages */
.testimonials-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.testimonials-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Filtres */
.testimonials-filters {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    background: var(--gold);
    color: white;
}

/* Grille des témoignages */
.main-testimonials {
    padding: 4rem 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cartes de témoignages */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card.featured {
    border: 2px solid var(--gold);
    position: relative;
}

.testimonial-card.featured::before {
    content: "⭐ Témoignage vedette";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gold);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* En-tête du témoignage */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    gap: 1rem;
}

.client-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.client-location,
.client-date {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
}

.rating {
    text-align: right;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.rating-text {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Contenu du témoignage */
.testimonial-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.testimonial-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Pied du témoignage */
.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.verified {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
}

.transaction {
    color: #6b7280;
    font-size: 0.85rem;
    font-style: italic;
}

/* Section charger plus */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.testimonials-count {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Statistiques détaillées */
.detailed-stats {
    padding: 4rem 0;
    background: white;
}

.detailed-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-breakdown h3,
.satisfaction-metrics h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Barres de notation */
.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    min-width: 80px;
    font-size: 0.9rem;
    color: var(--text);
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--primary) 100%);
    transition: width 0.8s ease;
}

.rating-percentage {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

/* Métriques de satisfaction */
.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.metric-label {
    font-weight: 500;
    color: var(--text);
}

.metric-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* CTA Témoignages */
.testimonials-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Responsive pour témoignages */
@media (max-width: 768px) {
    .testimonials-hero {
        padding: 6rem 0 3rem;
    }
    
    .testimonials-hero h1 {
        font-size: 2rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Media Queries pour très petits écrans */
@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }
    
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-card {
        padding: 1rem;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .topbar-inner {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .brand-logo {
        width: 160px;
        height: 48px;
    }
}

/* Continuation des styles pour témoignages */
.testimonial-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rating {
        text-align: left;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .detailed-stats h2 {
        font-size: 2rem;
    }
}

/* Styles FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question:hover {
    background: var(--gold-light);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Styles pour les icônes de produits */
.product-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Styles pour les certifications */
.cert-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Styles pour les nouvelles sections */
.hero-section {
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #e5e5e5;
        --text-light: #b3b3b3;
        --bg: #1a1a1a;
        --bg-light: #2d2d2d;
        --border: #404040;
        --card-bg: #2d2d2d;
    }

    body {
        background-color: var(--bg);
        color: var(--text);
    }

    .header {
        background: var(--bg);
        border-bottom-color: var(--border);
    }

    .section {
        background-color: var(--bg);
        color: var(--text);
    }

    .bg-light {
        background-color: var(--bg-light) !important;
    }

    .card, .feature-card, .price-card, .step-card, .product-card, .testimonial-card, .cert-card {
        background: var(--card-bg) !important;
        color: var(--text) !important;
        border-color: var(--border);
    }

    .faq-question {
        background: var(--bg-light) !important;
        color: var(--text) !important;
        border-bottom-color: var(--border);
    }

    .faq-answer {
        background: var(--card-bg) !important;
        color: var(--text) !important;
    }

    .contact-form {
        background: var(--card-bg) !important;
        border-color: var(--border);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background: var(--bg-light) !important;
        color: var(--text) !important;
        border-color: var(--border);
    }

    .form-group label {
        color: var(--text) !important;
    }

    .footer {
        background: var(--bg-light) !important;
        color: var(--text) !important;
        border-top-color: var(--border);
    }

    .footer h3 {
        color: var(--text) !important;
    }

    .footer a {
        color: var(--text-light) !important;
    }

    .footer a:hover {
        color: var(--gold) !important;
    }

    /* Correction spécifique pour les éléments avec couleur blanche forcée */
    .price,
    .step-number,
    .stars {
        color: var(--gold) !important;
    }

    .btn-primary {
        background: var(--gold) !important;
        color: #000 !important;
    }

    .btn-outline {
        border-color: var(--gold) !important;
        color: var(--gold) !important;
        background: transparent !important;
    }

    .btn-outline:hover {
        background: var(--gold) !important;
        color: #000 !important;
    }
}

/* Accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible pour l'accessibilité */
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color, #d4af37);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Amélioration des contrastes */
.feature-card {
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Amélioration de la typographie */
.lead {
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-secondary, #666);
}

/* FAQ Interactive */
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

/* Correction de la structure */
main {
    min-height: calc(100vh - 200px);
}

footer {
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}