/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --border: #1e1e30;
    --text: #e4e4e7;
    --text-dim: #71717a;
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #06b6d4;
    --green: #22c55e;
    --yellow: #eab308;
    --red: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99,102,241,0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(99,102,241,0.05);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-nav { padding: 8px 20px; font-size: 0.9rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(10,10,15,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: -0.5px;
}
.logo:hover { color: var(--primary-light) !important; }
.logo-dot { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon { font-size: 1.5rem; }

.stat strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.stat span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Code Window */
.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.code-title {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.code-body {
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    min-height: 200px;
}

.prompt { color: var(--green); }
.cmd { color: var(--accent); }
.cursor {
    animation: blink 1s infinite;
    color: var(--primary-light);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== HERO COUNTERS ===== */
.hero-counters {
    display: flex;
    gap: 40px;
}

.counter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.counter-value {
    display: flex;
    align-items: baseline;
}

.counter-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.counter-suffix {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-left: 2px;
}

.counter-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ===== TRUST BADGES BANNER ===== */
.trust-badges {
    padding: 24px 0;
    background: rgba(99,102,241,0.04);
    border-top: 1px solid rgba(99,102,241,0.08);
    border-bottom: 1px solid rgba(99,102,241,0.08);
}

.badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.badge-icon {
    font-size: 1.3rem;
}

.badge-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== SERVICES GRID ===== */
.services {
    background: linear-gradient(135deg, rgba(99,102,241,0.03) 0%, rgba(6,182,212,0.02) 50%, rgba(99,102,241,0.03) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.4);
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 8px 32px rgba(99,102,241,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}

.service-card.featured {
    border-color: rgba(99,102,241,0.3);
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.06));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    color: var(--text-dim);
    margin-bottom: 12px;
}

.service-badge.hot {
    background: rgba(99,102,241,0.15);
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card > p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-dim);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

/* ===== SERVICE CARD CLICKABLE ===== */
.service-card.clickable {
    cursor: pointer;
}

.service-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.service-card.clickable:hover .service-more {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SERVICE MODAL ===== */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.service-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.3);
    color: var(--red);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 32px 32px 0;
}

.modal-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 6px;
}

.modal-body {
    padding: 24px 32px 32px;
}

.modal-desc {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.modal-info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.modal-info-card h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.modal-info-card p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.modal-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.modal-section ul li {
    font-size: 0.88rem;
    color: var(--text-dim);
    padding-left: 22px;
    position: relative;
}

.modal-section ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.modal-includes li::before {
    content: '\2713' !important;
    color: var(--green) !important;
}

.modal-steps {
    list-style: none;
    counter-reset: step-counter;
}

.modal-steps li {
    counter-increment: step-counter;
    padding: 10px 0 10px 40px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dim);
    border-left: 2px solid var(--border);
    margin-left: 14px;
}

.modal-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-steps li:last-child {
    border-left-color: transparent;
}

.modal-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

/* Modal scrollbar */
.service-modal::-webkit-scrollbar {
    width: 6px;
}
.service-modal::-webkit-scrollbar-track {
    background: transparent;
}
.service-modal::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ===== PRICING ===== */
.compare-banner {
    max-width: 700px;
    margin: -20px auto 40px;
    padding: 16px 24px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius);
    text-align: center;
    font-size: 1rem;
    color: var(--text-dim);
}

.compare-banner strong {
    color: var(--accent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
}
.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.92rem;
    color: var(--text-dim);
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ===== A PROPOS ===== */
.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.apropos-text .section-tag { margin-bottom: 16px; }

.apropos-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
}

.apropos-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.apropos-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.point-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.apropos-point h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.apropos-point p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Trust Card */
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.trust-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.trust-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.trust-header strong {
    display: block;
    font-size: 1rem;
}

.trust-header span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.trust-body {
    padding: 24px;
}

.trust-body p {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.7;
}

.trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-tags span {
    padding: 4px 12px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 500;
}

.trust-tags .tag-highlight {
    background: rgba(6,182,212,0.15);
    border-color: rgba(6,182,212,0.3);
    color: var(--accent);
    font-weight: 600;
}

/* ===== CONTACT FORM ===== */
.contact {
    background: rgba(255,255,255,0.01);
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.radio-label:hover {
    border-color: var(--primary);
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
}

.radio-label input[type="radio"]:checked + span {
    color: var(--primary-light);
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 12px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--green);
    border-radius: var(--radius-lg);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--green);
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-dim);
}

/* ===== TEMOIGNAGES ===== */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.temoignage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    animation: fadeInUp 0.5s ease both;
}

.temoignage-card:nth-child(1) { animation-delay: 0s; }
.temoignage-card:nth-child(2) { animation-delay: 0.1s; }
.temoignage-card:nth-child(3) { animation-delay: 0.2s; }
.temoignage-card:nth-child(4) { animation-delay: 0.3s; }
.temoignage-card:nth-child(5) { animation-delay: 0.4s; }
.temoignage-card:nth-child(6) { animation-delay: 0.5s; }

.temoignage-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.temoignage-stars {
    color: var(--yellow);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.temoignage-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.temoignage-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.temoignage-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text);
}

.temoignage-author span {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ===== ESTIMATEUR DE PRIX ===== */
.estimateur {
    background: rgba(255,255,255,0.01);
}

.estimateur-box {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.estimateur-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.estimateur-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}

.est-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition);
}

.est-step.active {
    opacity: 1;
}

.est-step.done {
    opacity: 0.7;
}

.est-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: var(--transition);
}

.est-step.active .est-step-num {
    background: var(--gradient);
    color: #fff;
}

.est-step.done .est-step-num {
    background: var(--green);
    color: #fff;
}

.est-step-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dim);
}

.est-step.active .est-step-label {
    color: var(--text);
}

.est-step-line {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin: 0 16px;
}

/* Step 1: Options grid - auto-fit pour s'adapter au nombre de services */
.est-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.est-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    color: var(--text);
    font-family: inherit;
}

.est-option:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.05);
    transform: translateY(-2px);
}

.est-option.selected {
    border-color: var(--primary);
    background: rgba(99,102,241,0.1);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.est-option-icon {
    font-size: 2rem;
}

.est-option-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.est-option-desc {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Step 2: Détails */
.est-details {
    margin-bottom: 24px;
}

.est-detail-group {
    margin-bottom: 18px;
}

.est-detail-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.est-detail-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.est-detail-btn {
    padding: 10px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.est-detail-btn:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.05);
}

.est-detail-btn.selected {
    border-color: var(--primary);
    background: rgba(99,102,241,0.1);
    color: var(--primary-light);
    font-weight: 600;
}

.est-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* Step 3: Result */
.est-result {
    text-align: center;
}

.est-result-price {
    margin-bottom: 28px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.08));
    border-radius: var(--radius);
    border: 1px solid rgba(99,102,241,0.15);
}

.est-result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.est-result-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.est-result-amount span {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.est-result-sep {
    font-size: 2rem !important;
    -webkit-text-fill-color: var(--text-dim) !important;
}

.est-result-currency {
    font-size: 2rem !important;
}

.est-result-detail {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.est-result-includes {
    text-align: left;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: var(--bg);
    border-radius: var(--radius);
}

.est-result-includes h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--green);
}

.est-result-includes ul {
    list-style: none;
}

.est-result-includes li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-dim);
    padding-left: 24px;
    position: relative;
}

.est-result-includes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.est-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Postal code zone picker */
.est-postal-zone {
    margin-top: 16px;
    padding: 18px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    animation: fadeInUp 0.3s ease;
}

.est-postal-input-wrap label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.est-postal-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.est-postal-input {
    width: 140px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    outline: none;
    transition: var(--transition);
}

.est-postal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.est-postal-result {
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.est-postal-result.visible {
    opacity: 1;
    transform: translateX(0);
}

.est-zones-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.est-zone-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--text-dim);
    border-left: 3px solid var(--zc);
}

/* Travel fee in result */
.est-travel-fee {
    margin-bottom: 20px;
    padding: 14px 20px;
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: var(--radius);
    animation: fadeInUp 0.3s ease;
}

.est-travel-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.est-travel-icon {
    font-size: 1.5rem;
}

.est-travel-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.est-travel-info span {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Travel cost breakdown infographic */
.travel-breakdown {
    margin-top: 16px;
    padding: 18px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    animation: fadeInUp 0.4s ease;
}

.travel-breakdown-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.travel-bar {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    height: 42px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.travel-bar-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 50px;
}

.travel-bar-seg span {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.travel-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.travel-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.travel-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.travel-detail-line {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-dim);
    opacity: 0.6;
    font-style: italic;
}

.travel-free {
    text-align: center;
    border-color: rgba(34,197,94,0.2);
    background: rgba(34,197,94,0.04);
}

.travel-free-badge {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
}

.travel-free p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.est-result-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-style: italic;
}

/* ===== CHATBOT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    font-family: 'Inter', sans-serif;
}

.chat-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(99,102,241,0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 36px rgba(99,102,241,0.5);
}

.chat-fab-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--bg);
    animation: chatPulse 2s ease infinite;
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.chat-window {
    display: none;
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    height: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 64px rgba(0,0,0,0.5);
    flex-direction: column;
    overflow: hidden;
    animation: chatOpen 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.open {
    display: flex;
}

@keyframes chatOpen {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: rgba(99,102,241,0.08);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.chat-header-info strong {
    display: block;
    font-size: 0.92rem;
}

.chat-status {
    font-size: 0.72rem;
    color: var(--green);
    font-weight: 500;
}

.chat-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.chat-close:hover { background: rgba(239,68,68,0.15); color: var(--red); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg {
    max-width: 85%;
    animation: msgAppear 0.3s ease;
}

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

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.chat-msg.bot .chat-msg-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--text);
}

.chat-msg.user .chat-msg-bubble {
    background: var(--gradient);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg-bubble a {
    color: var(--accent);
    text-decoration: underline;
}

.chat-msg.user .chat-msg-bubble a {
    color: #fff;
    text-decoration: underline;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.chat-quick-btn {
    padding: 6px 14px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.chat-quick-btn:hover {
    background: rgba(99,102,241,0.2);
    border-color: var(--primary);
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-self: flex-start;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    animation: typingDot 1.4s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    flex-shrink: 0;
}

.chat-input-area input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.chat-input-area input::placeholder { color: var(--text-dim); }

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.05); }

/* Chat tabs */
.chat-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }

/* ===== TUTOS SECTION ===== */
.tutos {
    padding: 100px 0;
    position: relative;
}

.tuto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tuto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.tuto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.tuto-card:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.04);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.tuto-card:hover::before { opacity: 1; }

.tuto-card-icon {
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(99,102,241,0.08);
}

.tuto-card-info { flex: 1; }

.tuto-card-info strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.tuto-card-info span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.tuto-card-steps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99,102,241,0.06);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: 4px;
}

/* Tuto viewer (full page inline) */
.tuto-viewer-page {
    max-width: 720px;
    margin: 0 auto;
    animation: fadeInUp 0.4s ease;
}

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

.tuto-vp-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.tuto-vp-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.tuto-vp-back:hover { background: rgba(99,102,241,0.1); border-color: var(--primary); }

.tuto-vp-title {
    font-size: 1.3rem;
    font-weight: 800;
    flex: 1;
}

.tuto-vp-progress-txt {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 600;
    flex-shrink: 0;
}

.tuto-vp-progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.tuto-vp-progress-fill {
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.tuto-vp-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.tuto-vp-step-icon {
    font-size: 4rem;
}

.tuto-vp-step-title {
    font-size: 1.25rem;
    font-weight: 800;
}

.tuto-vp-step-text {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 520px;
}

.tuto-vp-step-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.tuto-vp-step-tip {
    padding: 14px 20px;
    background: rgba(234,179,8,0.08);
    border: 1px solid rgba(234,179,8,0.15);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--yellow);
    max-width: 520px;
}

.tuto-vp-nav {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
}

.tuto-vp-nav-btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.tuto-vp-nav-btn.prev {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text);
}
.tuto-vp-nav-btn.prev:hover { border-color: var(--primary); }

.tuto-vp-nav-btn.next {
    background: var(--gradient);
    color: #fff;
}
.tuto-vp-nav-btn.next:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99,102,241,0.3); }

.tuto-vp-nav-btn:disabled { opacity: 0.3; cursor: default; transform: none !important; }

@media (max-width: 768px) {
    .tuto-grid { grid-template-columns: 1fr; gap: 16px; }
    .tuto-vp-step { padding: 28px 20px; }
    .tuto-vp-nav-btn { padding: 12px 24px; font-size: 0.88rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tuto-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ACCESSIBILITY BAR ===== */
.a11y-bar {
    padding: 8px 0;
    background: rgba(99,102,241,0.04);
    border-bottom: 1px solid rgba(99,102,241,0.08);
    margin-top: 64px;
}

.a11y-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.a11y-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

.a11y-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-btn:hover { border-color: var(--primary); color: var(--text); }

.a11y-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

#fontSmall { font-size: 0.7rem; }
#fontNormal { font-size: 0.85rem; }
#fontLarge { font-size: 1rem; }

.chat-widget.hidden { display: none; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-dim);
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

/* ===== FAQ ===== */
.faq { background: rgba(255,255,255,0.01); }

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item[open] {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(6,182,212,0.04));
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary-light);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '-';
    color: var(--accent);
}

.faq-item p {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.footer-legal p {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 4px;
    line-height: 1.5;
}

.footer-legal strong {
    color: var(--text);
    font-size: 0.82rem;
}

.footer-legal a {
    color: var(--primary-light);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ===== CARD ENTRANCE ANIMATION ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card, .pricing-card, .apropos-point {
    animation: fadeInUp 0.5s ease both;
}

.service-card:nth-child(1), .pricing-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2), .pricing-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3), .pricing-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4), .pricing-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 { font-size: 2.4rem; }

    .hero-visual { order: -1; }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .apropos-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .temoignages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .est-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-counters {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.open { display: flex; }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-cta { flex-direction: column; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }

    .radio-group { flex-direction: column; }

    .temoignages-grid { grid-template-columns: 1fr; }

    .hero-counters { flex-direction: column; gap: 16px; }

    .badges-row { gap: 16px; }
    .badge-divider { display: none; }
    .badge-item { font-size: 0.85rem; }

    .modal-grid { grid-template-columns: 1fr; }
    .modal-section ul { grid-template-columns: 1fr; }
    .modal-header { padding: 24px 24px 0; }
    .modal-body { padding: 20px 24px 24px; }
    .modal-header h2 { font-size: 1.2rem; }
    .service-modal { max-height: 90vh; }

    .est-options { grid-template-columns: 1fr 1fr; }
    .estimateur-box { padding: 24px; }
    .est-step-label { display: none; }
    .est-step-line { width: 30px; margin: 0 8px; }
    .est-result-amount span { font-size: 2.5rem; }
    .est-result-actions { flex-direction: column; }

    .chat-widget { bottom: 12px; right: 12px; }
    .chat-window {
        width: calc(100vw - 24px);
        height: calc(100vh - 100px);
        bottom: 68px;
        right: 0;
    }

    .cookie-content { flex-direction: column; text-align: center; }

    section { padding: 60px 0; }
    .section-header h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .container { padding: 0 16px; }
}
