/* ============================================
   AMO COPRO ONLINE — V4 Bento Grid System
   Ultra-Modern, Tech-Forward, Bold layout
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Properties ── */
:root {
  /* Colors - Pearl White Premium */
  --bg-color: #FFFFFF;
  --bg-card: #F8FAFC; /* Slate-50 */
  --bg-card-dark: #F1F5F9; /* Slate-100 */
  
  --text-main: #0F172A; /* Slate-900 */
  --text-muted: #334155; /* Slate-700 */
  --text-light: #475569; /* Slate-600 */
  
  --accent: #2563EB; /* Royal Blue */
  --accent-hover: #1D4ED8;
  --accent-light: rgba(37, 99, 235, 0.05);
  --accent-text: #2563EB;
  
  --border-color: rgba(15, 23, 42, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.1);

  /* Typography */
  --font-sans: 'Inter', -apple-system, sans-serif;
  
  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Shadows - Balanced for Light Mode */
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-premium: 0 20px 60px rgba(15, 23, 42, 0.12);

  --container-max: 1300px;
  --nav-height: 80px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font-sans); color: var(--text-main); background: var(--bg-color); line-height: 1.6; letter-spacing: -0.01em; overflow-x: hidden; width: 100%; }
img { max-width: 100%; height: auto; display: block; border-radius: inherit; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
section { padding: var(--space-3xl) 0; }
.text-gradient { background: linear-gradient(135deg, #000000 0%, #4B5563 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--border-color); color: var(--text-main); font-weight: 600; font-size: 0.85rem; letter-spacing: -0.01em; margin-bottom: var(--space-md); }

h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.05em; line-height: 1.0; }
h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
p { font-size: 1.25rem; color: var(--text-muted); max-width: 650px; line-height: 1.5; }
.text-gradient { background: linear-gradient(to right, #1E40AF, #2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Buttons (Pill shaped, vibrant) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 32px; border-radius: var(--radius-pill); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; white-space: nowrap; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { transform: scale(1.02); background: var(--accent-hover); box-shadow: 0 8px 32px rgba(37, 99, 235, 0.25); }
.btn--dark { background: #0F172A; color: #fff; }
.btn--dark:hover { transform: scale(1.02); background: #020617; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.btn--outline { border: 1px solid var(--border-color); background: #fff; color: var(--text-main); }
.btn--outline:hover { border-color: #000; box-shadow: var(--shadow-card); transform: scale(1.02); }
.btn .icon { transition: transform 0.2s; font-size: 1.1em; }
.btn:hover .icon { transform: translateX(4px); }

/* ── Navbar (Floating, Glassmorphism) ── */
.topbar { display: none; } /* Remove topbar completely for the pristine Bento look */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 1000; transition: transform 0.3s ease; padding: var(--space-sm) 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: var(--radius-pill); padding: 0 var(--space-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }
.navbar.scrolled { padding-top: 12px; }

.navbar-logo { display: flex; align-items: center; gap: var(--space-sm); }
.navbar-logo img { height: 32px; width: auto; }
.logo-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--text-main); }
.logo-sub { display: none; }

.navbar-links { display: flex; gap: var(--space-lg); align-items: center; }
.navbar-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); padding: var(--space-xs) 0; position: relative; }
.navbar-links a:hover, .navbar-links a.active { color: var(--text-main); }

.navbar-cta { display: flex; gap: var(--space-sm); }
.btn-nav { padding: 12px 24px; font-size: 0.9rem; border-radius: var(--radius-pill); }
.btn-nav--outline { display: none; }
.btn-nav--primary { background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }
.btn-nav--primary:hover { transform: scale(1.05); background: var(--accent-hover); }

.mobile-toggle { display: none; flex-direction: column; gap: 4px; z-index: 1001; cursor: pointer; padding: 4px; }
.mobile-toggle span { width: 20px; height: 2px; background: var(--text-main); transition: 0.2s; border-radius: 2px; }

/* ── Bento Grid Basics ── */
.bento-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bento-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.bento-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-xl); border: 1px solid var(--border-color); box-shadow: var(--shadow-card); transition: box-shadow 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.bento-card:hover { border-color: rgba(0,0,0,0.12); box-shadow: var(--shadow-hover); }
.bento-card--dark { background: var(--bg-card-dark); color: #fff; }
.bento-card--accent { background: var(--accent); color: var(--bg-card-dark); border: none; }
.bento-card--img { padding: 0; }
.bento-card--img img { width: 100%; height: 100%; object-fit: cover; }

/* Spans */
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.row-span-2 { grid-row: span 2; }

/* ── Hero V5 (2-Column Impact) ── */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-xl); align-items: center; min-height: 90vh; padding-top: var(--nav-height); }
.hero-content { text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.hero-visual { position: relative; }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-premium); }

.hero-header { text-align: left; max-width: 900px; margin: 0 0 var(--space-2xl); display: flex; flex-direction: column; align-items: flex-start; }

/* Trust Ribbon */
.ribbon-container { width: 100%; padding: var(--space-xl) 0; overflow: hidden; background: #F8FAFC; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin: var(--space-2xl) 0; }
.ribbon-track { display: flex; gap: var(--space-3xl); animation: scroll 40s linear infinite; width: max-content; align-items: center; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ribbon-item { opacity: 0.6; filter: grayscale(1); font-weight: 800; font-size: 1.1rem; color: #0F172A; white-space: nowrap; }

/* Service Cards V5 */
.service-cards-v5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.card-v5 { position: relative; border-radius: var(--radius-lg); height: 450px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-xl); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: 1px solid var(--border-color); }
.card-v5::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); z-index: 1; }
.card-v5 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card-v5:hover img { transform: scale(1.1); }
.card-v5:hover { transform: translateY(-8px); border-color: var(--accent); }
/* Price Tag V5 — Premium Display */
.price-tag-v5 {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 12px;
  padding: 8px 14px; margin-bottom: 10px;
}
.price-tag-v5 .price-amount {
  font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1;
  letter-spacing: -0.02em; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.price-tag-v5 .price-amount small { font-size: 0.55em; font-weight: 600; opacity: 0.8; margin-left: 2px; }
.price-tag-v5 .price-guarantee {
  font-size: 0.65rem; font-weight: 700; color: #34D399;
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;
  display: flex; align-items: center; gap: 4px;
}
.price-tag-v5 .price-guarantee::before { content: '✓'; font-weight: 900; }

.card-v5-content { position: relative; z-index: 2; width: 100%; }
.card-v5-content h3 { color: #FFFFFF !important; font-size: 1.6rem; margin-bottom: 4px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.card-v5-content p { color: rgba(255, 255, 255, 0.9) !important; font-size: 0.95rem; margin-bottom: var(--space-lg); line-height: 1.4; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.card-v5-content .card-link { color: #FFFFFF !important; font-weight: 700; }
.card-v5-content .card-link .icon { color: #FFFFFF !important; }
@media (max-width: 768px) {
  .service-cards-v5 { grid-template-columns: 1fr !important; }
  .card-v5 { height: 320px !important; }
}

/* Fixed conversion bar */
.conversion-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border-color); padding: 12px var(--space-md); z-index: 1000; display: none; justify-content: center; gap: var(--space-sm); box-shadow: 0 -4px 20px rgba(0,0,0,0.05); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@media (max-width: 768px) {
  .conversion-bar { display: flex; transform: translateY(100%); }
  .conversion-bar.visible { transform: translateY(0); }
  .hero { grid-template-columns: 1fr; text-align: center; padding-left: 0; padding-right: 0; }
  .hero-content { align-items: center; }
  .hero-header { text-align: center; align-items: center; }
  .ribbon-track { animation-duration: 20s; }
  .hero-visual { width: 100%; }
  .glass-card { padding: 16px 12px !important; border-radius: 16px !important; margin: 0 -4px; }
  .simu-row { padding: 16px 14px; }
}

/* ── Services (Bento Grid Layout) ── */
.services-section .section-header { text-align: left; margin: 0; align-items: flex-start; }
.services-grid-wrapper { display: flex; flex-direction: column; gap: var(--space-sm); }

.service-grid-top { display: grid; grid-template-columns: 2.5fr 1.5fr; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.service-grid-bottom { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--space-sm); }

.service-bento { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-color); padding: var(--space-2xl); display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; position: relative; overflow: hidden; transition: 0.3s; }
.service-bento:hover { transform: scale(0.99); background: #FAFAFA; border-color: #E5E7EB; }

.service-icon { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-color); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: auto; }
.service-bento h3 { font-size: 1.6rem; margin-top: var(--space-xl); margin-bottom: var(--space-xs); }
.service-bento p { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); margin-bottom: var(--space-lg); }
.card-link { font-weight: 600; font-size: 0.9rem; color: var(--text-main); display: inline-flex; align-items: center; gap: 4px; }
.card-link:hover { gap: 8px; }

/* ── Process Timeline (Horizontal Scrolling Bento style) ── */
.process-section { background: #F8FAFC; color: var(--text-main); padding: var(--space-4xl) 0; overflow: hidden; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.process-section .badge { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-light); }
.process-section .section-header h2 { color: var(--text-main); }
.process-section .section-header p { color: var(--text-muted); }

.steps-container { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); padding-bottom: var(--space-lg); padding-top: var(--space-sm); }
.step-bento { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: var(--space-md); position: relative; display: flex; flex-direction: column; justify-content: flex-start; box-shadow: var(--shadow-card); }
.step-number-bento { font-size: 4rem; font-weight: 900; line-height: 1; letter-spacing: -0.05em; color: rgba(15, 23, 42, 0.08); position: absolute; top: 16px; right: 24px; }
.step-bento h4 { font-size: 1.3rem; margin-top: var(--space-xl); margin-bottom: var(--space-sm); color: var(--text-main); }
.step-bento p { font-size: 0.95rem; color: var(--text-muted); }

/* ── Testimonials (Bento Masonry) ── */
.testimonials-section { padding: var(--space-4xl) 0; }
.testi-bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.testi-bento { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-xl); border: 1px solid var(--border-color); display: flex; flex-direction: column; justify-content: space-between; }
.testi-bento.highlight { background: var(--accent); color: var(--bg-card-dark); border: none; }
.testi-bento.highlight p { color: var(--bg-card-dark); font-weight: 500; }
.testi-bento.highlight .author-info .role { color: rgba(0,0,0,0.6); }

.quote-icon { font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: var(--space-md); }
.testi-bento p { font-size: 1.05rem; line-height: 1.6; margin-bottom: var(--space-xl); flex-grow: 1; color: var(--text-main); }
.author-bento { display: flex; align-items: center; gap: var(--space-sm); }
.avatar-bento { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--bg-color); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.author-info .name { font-weight: 700; font-size: 0.9rem; display: block; }
.author-info .role { font-size: 0.8rem; color: var(--text-muted); }

/* ── FAQ (Accordion but clean) ── */
.faq-section { background: var(--bg-card); padding: var(--space-4xl) 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-color); border-radius: var(--radius-sm); transition: 0.2s; overflow: hidden; border: 1px solid transparent; }
.faq-item:hover { border-color: var(--border-color); }
.faq-question { width: 100%; text-align: left; padding: 24px; font-size: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); }
.faq-toggle { width: 32px; height: 32px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.2rem; }
.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--bg-card-dark); color: #fff; border-color: var(--bg-card-dark); }
.faq-answer { max-height: 0; padding: 0 24px; color: var(--text-muted); transition: all 0.4s ease; }
.faq-item.active .faq-answer { max-height: 400px; padding-bottom: 24px; }

/* ── CTA Banner (Massive solid color) ── */
.cta-section { padding: var(--space-sm) var(--space-md); }
.cta-bento { background: #0F172A; border-radius: var(--radius-xl); padding: var(--space-4xl) var(--space-2xl); text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; box-shadow: var(--shadow-premium); }
.cta-bento h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: var(--space-md); color: #fff; max-width: 800px; }
.cta-bento p { color: rgba(255, 255, 255, 0.8); margin-bottom: var(--space-2xl); max-width: 600px; }
.cta-bento p { color: rgba(255,255,255,0.7); font-size: 1.2rem; margin-bottom: var(--space-xl); max-width: 600px; }
.cta-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }

.trust-badge-mini { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 8px 16px; 
  background: rgba(250, 204, 21, 0.06); 
  border: 1px solid rgba(250, 204, 21, 0.2); 
  border-radius: var(--radius-pill); 
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}
.trust-badge-mini .stars { color: #FACC15; letter-spacing: 1px; }
.trust-badge-mini .rating { font-weight: 700; color: var(--text-main); }
.trust-badge-mini .count { color: var(--text-muted); font-size: 0.85rem; }

/* ── Footer ── */
.footer { padding: var(--space-4xl) 0 0; background: #0F172A; color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-3xl); margin-bottom: var(--space-3xl); border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: var(--space-3xl); }
.footer-brand .logo-name-premium { color: #fff; }
.footer-brand .logo-name-premium span { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-top: var(--space-md); line-height: 1.7; max-width: 300px; }
.footer-links h4, .footer-contact h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: var(--space-lg); }
.footer-links a, .footer-contact a { display: block; color: rgba(255,255,255,0.65); font-size: 0.92rem; font-weight: 500; margin-bottom: var(--space-sm); transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: var(--space-md); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: var(--space-lg) 0; font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a { color: rgba(255,255,255,0.3); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Inner Pages & Forms (Bento Style) ── */
.page-hero { padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-xl); background: var(--bg-color); text-align: center; }
.page-hero p { margin-left: auto; margin-right: auto; max-width: 800px; color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }
.hero-actions { display: flex; gap: var(--space-md); justify-content: center; margin-top: var(--space-xl); flex-wrap: wrap; }

/* ── Slot Indicator ── */
.slot-indicator { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  margin-top: var(--space-md); 
  font-size: 0.85rem; 
  font-weight: 600; 
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.blink-dot { 
  width: 8px; 
  height: 8px; 
  background: #22C55E; 
  border-radius: 50%; 
  animation: pulse-dot 1.5s infinite; 
}
@keyframes pulse-cta {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.pulse-cta {
  animation: pulse-cta 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ── Responsive Utilities ── */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }

@media (max-width: 768px) {
  .hero-actions { flex-direction: column; gap: var(--space-sm); align-items: stretch; padding: 0 var(--space-md); }
  .hide-mobile { display: none !important; }
  .mobile-only { display: flex !important; }
  .desktop-only { display: none !important; }
}

/* ── Mobile Fixed Conversion Bar ── */
.conversion-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px env(safe-area-inset-bottom);
  display: none; /* Desktop hidden */
  gap: 12px;
  box-shadow: 0 -10px 25px rgba(15, 23, 42, 0.08);
  z-index: 1000;
  border-top: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
  .conversion-bar { display: flex; transform: translateY(100%); }
  .conversion-bar.visible { transform: translateY(0); }
  body { padding-bottom: 80px; } /* Space for navbar */
}

.breadcrumb { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-lg); display: flex; justify-content: center; gap: 8px; }
.breadcrumb a:hover { color: var(--text-main); }

.contact-section { padding: var(--space-2xl) var(--space-md); }
.contact-bento-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-sm); max-width: var(--container-max); margin: 0 auto; }
.contact-info-panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-xl); }
.info-row { display: flex; gap: var(--space-md); }
.info-row .icon { width: 48px; height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--bg-color); }
.info-row h4 { font-size: 1.1rem; margin-bottom: 4px; }
.info-row p { font-size: 0.95rem; color: var(--text-muted); }

.contact-form-bento { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-2xl); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 16px; border-radius: var(--radius-xs); border: 1px solid var(--border-color); background: var(--bg-color); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--text-main); background: var(--bg-card); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.form-group textarea { height: 160px; resize: vertical; }
.form-submit { margin-top: var(--space-lg); grid-column: 1 / -1; }

/* Content Grid for Inner pages */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; padding: var(--space-3xl) 0; }
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-bento-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); }
.content-bento-img img { width: 100%; height: 500px; object-fit: cover; }
.content-bento-text h2 { margin-bottom: var(--space-lg); }
.content-bento-text ul { display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-lg); }
.content-bento-text li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; font-weight: 500; }
.content-bento-text li::before { content: '✓'; color: var(--accent-text); background: var(--accent-light); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
/* Simulation Rows Interactivity */
.simu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.simu-row:hover {
  background: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
  border-color: var(--accent);
}

.simu-row:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.simu-row:hover .simu-arrow {
  transform: translateX(5px);
  color: var(--accent);
}

.simu-arrow {
  transition: transform 0.22s ease, color 0.22s ease;
  color: #aaa;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tertiaire-pro:hover {
  border-color: var(--text-main) !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.15)) !important;
}

/* Floating Elements */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 600px; background: var(--bg-card-dark); color: #fff; padding: 24px; border-radius: var(--radius-lg); z-index: 9999; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow-hover); transform: translateY(150%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; margin: 0; color: rgba(255,255,255,0.7); max-width: 400px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn-cookie { padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.85rem; }
.cookie-banner--accept { background: #fff; color: #000; }
.cookie-banner--reject { background: rgba(255,255,255,0.1); color: #fff; }

.whatsapp-float { position: fixed; bottom: 32px; right: 32px; width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--bg-card); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: var(--shadow-card); z-index: 999; }
.whatsapp-float:hover { border-color: #25D366; color: #25D366; box-shadow: 0 12px 48px rgba(37, 211, 102, 0.2); transform: translateY(-4px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bento-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bento-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid-top, .service-grid-bottom { grid-template-columns: 1fr; }
  .steps-container { display: flex; overflow-x: auto; scrollbar-width: none; }
  .steps-container::-webkit-scrollbar { display: none; }
  .step-bento { flex: 0 0 300px; padding: var(--space-lg); }
  .testi-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-bento-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }
  .container { padding: 0 var(--space-sm); }
  
  .navbar .container { border-radius: 0; border: none; border-bottom: 1px solid var(--border-color); }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  
  .navbar-links, .navbar-cta { display: none; }
  
  .navbar-links.active {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: 100vh;
    padding-bottom: 20vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    border-top: 1px solid var(--border-color);
  }
  .navbar-links.active a {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .hero h1 { font-size: 2.5rem; }
  .hero, .page-hero { padding-top: calc(var(--nav-height) + var(--space-lg)) !important; }
  .hero-bento { grid-template-columns: 1fr !important; }
  
  /* Force ALL grids to single column on mobile — including inline styles */
  .bento-grid,
  .bento-grid-2,
  .bento-grid-3,
  .service-grid-top,
  .service-grid-bottom,
  .steps-container,
  .testi-bento-grid,
  .footer-grid,
  .contact-bento-grid,
  .content-grid,
  .form-grid,
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: var(--space-sm) !important; }

  .span-2, .span-3, .span-4 { grid-column: 1 / -1 !important; }
  
  .service-bento { min-height: auto; padding: var(--space-md); }
  .cta-bento { padding: var(--space-2xl) var(--space-md); border-radius: var(--radius-md); }
  
  .cookie-banner { flex-direction: column; left: 8px; right: 8px; bottom: 8px; text-align: center; border-radius: var(--radius-md); padding: 16px; }

  /* ── Prevent horizontal overflow on mobile ── */
  html, body { overflow-x: hidden !important; width: 100% !important; }
  img { max-width: 100% !important; }
  .content-bento-img img { height: auto !important; max-height: 350px; object-fit: cover; }
  p { max-width: 100% !important; }
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  .logo-strip { gap: var(--space-md) !important; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* Lucide Icons Styles */
.lucide { 
  width: 1em; 
  height: 1em; 
  stroke-width: 2; 
}
.service-icon .lucide { width: 32px; height: 32px; stroke-width: 1.5; color: var(--text-main); }
.step-number-bento .lucide, .step-bento h4 + div .lucide { width: 48px; height: 48px; stroke-width: 1.5; }
.icon.lucide { width: 18px; height: 18px; }
.info-row .icon .lucide { width: 24px; height: 24px; color: var(--text-main); }
.trust-item .lucide { width: 24px; height: 24px; }
.btn .lucide { width: 1.2em; height: 1.2em; margin-bottom: -2px; }

/* ── FORM ROW ── */
.form-row { display: flex; gap: var(--space-md); }
.form-row > label { flex: 1; }

/* ── DRAWER COMPONENT ── */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.drawer-overlay.active { opacity: 1; pointer-events: all; }
.contact-drawer { position: fixed; top: 0; right: 0; width: 50vw; height: 100%; background: #FFFFFF; z-index: 1001; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(15, 23, 42, 0.1); border-left: 1px solid var(--border-color); overflow-y: auto; }
@media (max-width: 768px) {
  .contact-drawer { width: 100vw; max-width: 100%; }
  .drawer-header { padding: 16px 20px; }
  .drawer-header h2 { font-size: 1.2rem; }
  .drawer-body { padding: 20px; gap: 20px; }
  .drawer-form { gap: 20px; }
  .drawer-form .input-group { gap: 6px; }
  .drawer-form label { font-size: 0.9rem; }
  .drawer-form input, .drawer-form select, .drawer-form textarea {
    padding: 16px 18px; font-size: 1rem; border-radius: 12px;
  }
  .form-row { flex-direction: column !important; gap: 16px !important; }
  .form-row > * { width: 100% !important; flex: unset !important; }
  /* Force ALL flex rows inside drawer form steps to stack on mobile */
  .form-step > div[style*="display: flex"],
  .form-step > div[style*="display:flex"] { flex-direction: column !important; gap: 16px !important; }
  .form-step > div[style*="display: flex"] > label,
  .form-step > div[style*="display:flex"] > label { flex: unset !important; width: 100% !important; }
  .drawer-form button, .drawer-form .btn { padding: 18px; font-size: 1.05rem; border-radius: 14px; }
}
.contact-drawer.active { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-xl); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; background: var(--bg-color); z-index: 10; }
.drawer-header h2 { font-size: 1.5rem; margin: 0; color: var(--text-main); }
.drawer-close { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-main); transition: all 0.2s ease; }
.drawer-close:hover { background: var(--text-main); color: var(--bg-color); }
.drawer-body { padding: var(--space-xl); flex: 1; display: flex; flex-direction: column; gap: var(--space-md); }
.drawer-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: var(--space-sm); line-height: 1.6; }
.drawer-form { display: flex; flex-direction: column; gap: var(--space-md); }
.drawer-form .input-group { display: flex; flex-direction: column; gap: 8px; }
.drawer-form label { font-size: 0.85rem; font-weight: 600; color: var(--text-light); }
.drawer-form input, .drawer-form select, .drawer-form textarea { width: 100%; padding: 14px 16px; background: #F8FAFC; border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-main); font-family: 'Inter', sans-serif; font-size: 1rem; transition: all 0.2s ease; box-sizing: border-box; }
.drawer-form input:focus, .drawer-form select:focus, .drawer-form textarea:focus { outline: none; border-color: var(--accent); background: #FFFFFF; box-shadow: 0 0 0 4px var(--accent-light); }
.drawer-form textarea { resize: vertical; min-height: 100px; }
body.drawer-open { overflow: hidden; }

.hidden { display: none !important; }
.visible-block { display: block !important; }
.visible-flex { display: flex !important; }

/* ── PREMIUM LOGO ── */
.logo-icon-premium { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25); transition: transform 0.3s ease; }
.navbar-logo:hover .logo-icon-premium { transform: scale(1.05); }
.logo-name-premium { font-weight: 900; font-size: 1.45rem; letter-spacing: -1.2px; color: var(--text-main); font-family: 'Inter', sans-serif; display: flex; gap: 6px; text-transform: uppercase; align-items: baseline; }
.logo-name-premium span { 
  font-weight: 800; 
  font-size: 1.45rem; 
  background: linear-gradient(135deg, var(--accent) 0%, #0044aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── TRUST LOGOS & RGE ── */
.logo-strip { 
  display: flex; 
  gap: var(--space-2xl); 
  align-items: center; 
  justify-content: center; 
  padding: var(--space-xl) 0; 
  flex-wrap: wrap;
}
.logo-strip img { 
  filter: grayscale(1); 
  opacity: 0.6; 
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
  cursor: default;
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-strip img:hover { 
  filter: grayscale(0); 
  opacity: 1; 
  transform: scale(1.05); 
}
.logo-rge-premium { 
  height: 58px !important; 
  width: auto; 
  object-fit: contain; 
  filter: grayscale(0) !important; /* Force color for premium authority */
  opacity: 1 !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.logo-rge-premium:hover {
  transform: scale(1.08) !important;
}

/* ── MOBILE SIMU ROW V5 ── */
.simu-row-mobile {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 18px !important;
  background: #FFFFFF !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.simu-row-mobile:hover, .simu-row-mobile:active {
  background: #F8FAFF !important;
  border-color: var(--accent) !important;
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.simu-row-mobile .lucide {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .logo-strip { gap: var(--space-lg); }
  .logo-strip img { height: 42px; }
  .logo-rge-premium { height: 48px !important; }
}

/* ── Form Steps ── */
.form-step {
  display: none;
  animation: stepFadeIn 0.4s ease-out forwards;
}
.form-step.active {
  display: block;
}

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

