/* ===== TEMPLATE 3 — DYNAMIQUE ===== */
/* Style landing page conversion, hero avec formulaire, sections alternées */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --secondary: #f97316;
    --secondary-dark: #ea580c;
    --secondary-light: #fff7ed;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --success: #22c55e;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, var(--font-body));
}

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

/* ===== HEADER (dark) ===== */
.header {
    background: var(--bg-dark);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.15rem; font-weight: 700;
    color: white; text-decoration: none;
}
.logo-icon {
    width: 38px; height: 38px;
    background: var(--primary); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: white; overflow: hidden;
}
.logo-icon-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-weight: 500; font-size: 0.9rem; transition: var(--transition);
}
.nav a:hover { color: white; }
.nav-cta { background: var(--secondary) !important; color: white !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--secondary-dark) !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 14px 0; font-size: 0.85rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.breadcrumb-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-separator { color: var(--text-muted); }
.breadcrumb-current { color: var(--text); font-weight: 600; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 50%, var(--primary-dark) 100%);
    color: white; padding: 60px 0 70px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.hero.hero-photo { background: none; }
.hero.hero-photo::before {
    background: rgba(0,0,0,0.6); width: 100%; height: 100%;
    top: 0; right: 0; border-radius: 0;
}
.hero.hero-photo::after { display: none; }
.hero.hero-photo .hero-badge { background: var(--secondary); }

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }

/* Hero layout avec formulaire intégré */
.hero-with-form .hero-content { text-align: left; max-width: 100%; }
.hero-split { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.hero-text { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--secondary); padding: 8px 18px;
    border-radius: var(--radius-sm); font-size: 0.8rem;
    font-weight: 700; margin-bottom: 24px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.02em; }
.hero p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 24px; line-height: 1.7; }

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-with-form .hero-buttons { justify-content: flex-start; }

.hero-checklist { list-style: none; margin-top: 24px; }
.hero-checklist li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.95rem; opacity: 0.9; }
.hero-checklist li svg { color: var(--success); flex-shrink: 0; }

/* Formulaire dans le hero */
.hero-form-card {
    background: white; border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow-xl);
    position: relative; z-index: 1;
}
.hero-form-card h3 { color: var(--text); font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; text-align: center; }
.hero-form-card .form-subtitle { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; text-align: center; }
.hero-form-card .form-group { margin-bottom: 14px; }
.hero-form-card .form-group label { display: block; margin-bottom: 4px; font-weight: 600; color: var(--text); font-size: 0.85rem; }
.hero-form-card .form-control {
    width: 100%; padding: 12px 14px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.9rem;
    font-family: inherit; transition: var(--transition); background: var(--bg);
}
.hero-form-card .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.hero-form-card select.form-control {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 48px;
}
.hero-form-card .btn { margin-top: 4px; }
.hero-form-trust { display: flex; justify-content: center; gap: 16px; margin-top: 16px; font-size: 0.75rem; color: var(--text-muted); }
.hero-form-trust span { display: flex; align-items: center; gap: 4px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 32px; border: none; border-radius: var(--radius-sm);
    font-size: 1rem; font-weight: 700; cursor: pointer;
    text-decoration: none; transition: var(--transition); font-family: inherit;
}
.btn-primary { background: white; color: var(--primary-dark); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 2px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.btn-cta { background: var(--secondary); color: white; box-shadow: 0 4px 14px rgba(249,115,22,0.4); }
.btn-cta:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.5); }
.btn-full { width: 100%; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; color: var(--text); letter-spacing: -0.02em; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }
.section-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 24px; color: var(--text); letter-spacing: -0.02em; }

/* ===== FEATURES/CARDS ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--bg); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--primary);
    transform: scaleX(0); transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius); display: flex; align-items: center;
    justify-content: center; margin-bottom: 20px; color: white;
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== ADVANTAGES ===== */
.advantages-list { list-style: none; }
.advantages-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.advantages-list li:last-child { border-bottom: none; }
.check-icon { width: 24px; height: 24px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-icon svg { width: 14px; height: 14px; color: white; }

/* ===== FORM SECTION ===== */
.form-section { background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%); padding: 80px 0; color: white; }
.form-section .section-header h2 { color: white; }
.form-section .section-header p { color: rgba(255, 255, 255, 0.8); }
.form-wrapper { max-width: 600px; margin: 0 auto; }
.form-card { background: var(--bg); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-xl); }
.form-card h2 { text-align: center; font-size: 1.75rem; margin-bottom: 8px; color: var(--text); }
.form-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 32px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.form-control {
    width: 100%; padding: 14px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
    transition: var(--transition); background: var(--bg);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 48px;
}
textarea.form-control { resize: vertical; min-height: 100px; }
.form-footer { text-align: center; margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.form-trust { display: flex; justify-content: center; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-secondary); }
.trust-icon { color: var(--success); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--bg); transition: var(--transition); }
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.active { border-color: var(--primary); }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1rem; color: var(--text); transition: var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-icon { width: 32px; height: 32px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; margin-left: 16px; color: var(--primary); }
.faq-item.active .faq-icon { background: var(--primary); color: white; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-content { padding: 0 24px 24px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 500px; }

/* ===== LINKS SECTION ===== */
.links-section { padding: 60px 0; background: var(--bg-alt); }
.links-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.links-grid a { display: block; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.links-grid a:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ===== ALPHABET NAV ===== */
.alphabet-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 24px; background: var(--bg); border-radius: var(--radius-lg); border: 2px solid var(--border); margin-bottom: 40px; }
.alphabet-nav a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-weight: 700; transition: var(--transition); }
.alphabet-nav a:hover { background: var(--primary); color: white; }

/* ===== LETTER SECTION ===== */
.letter-section { margin-bottom: 40px; }
.letter-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); padding-bottom: 12px; border-bottom: 3px solid var(--primary); margin-bottom: 20px; display: inline-block; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer h4 { color: white; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); font-size: 0.875rem; }

/* ===== HAMBURGER ===== */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: var(--transition); border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO BADGES ===== */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.hero-with-form .hero-badges { justify-content: flex-start; }
.hero-badges .hero-badge { margin-bottom: 0; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--bg); padding: 0; margin-top: -40px; position: relative; z-index: 10; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; border: 2px solid var(--border); }
.trust-stat { text-align: center; padding: 28px 20px; border-right: 1px solid var(--border); }
.trust-stat:last-child { border-right: none; }
.trust-stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.trust-stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

/* ===== INTRO SECTION ===== */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-text { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.intro-benefits { list-style: none; margin-top: 24px; }
.intro-benefits li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 1.05rem; color: var(--text); font-weight: 500; }
.benefit-icon { width: 28px; height: 28px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: white; }
.intro-visual { display: flex; flex-direction: column; gap: 20px; }
.intro-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: var(--radius-lg); padding: 36px; text-align: center; }
.intro-card-alt { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%); }
.intro-card-icon { font-size: 3rem; font-weight: 800; margin-bottom: 12px; }
.intro-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.intro-card-text { opacity: 0.9; font-size: 0.95rem; line-height: 1.6; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.product-card {
    background: var(--bg); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.product-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transition: var(--transition);
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.product-card-popular { border-color: var(--primary); }
.product-badge { position: absolute; top: 0; right: 0; background: var(--secondary); color: white; padding: 8px 20px; border-radius: 0 var(--radius-lg) 0 var(--radius); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.product-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary-light) 0%, #bae6fd 100%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.product-price { text-align: right; }
.price-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.price-value { font-size: 1.25rem; font-weight: 800; color: var(--secondary); }
.product-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.product-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.product-benefits { list-style: none; margin-bottom: 24px; }
.product-benefits li { position: relative; padding-left: 24px; padding-top: 8px; padding-bottom: 8px; font-size: 0.9rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.product-benefits li:last-child { border-bottom: none; }
.product-benefits li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--success); border-radius: 50%; }
.product-cta { display: block; text-align: center; padding: 14px 24px; background: var(--secondary); color: white; text-decoration: none; border-radius: var(--radius-sm); font-weight: 700; transition: var(--transition); }
.product-cta:hover { background: var(--secondary-dark); box-shadow: 0 4px 12px rgba(249,115,22,0.3); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.testimonial-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.testimonial-name { font-weight: 700; color: var(--text); }
.testimonial-location { font-size: 0.875rem; color: var(--text-muted); }

/* ===== FORM LAYOUT ===== */
.form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.form-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: white; }
.form-info > p { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 32px; }
.form-guarantees { list-style: none; }
.form-guarantees li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 1rem; color: rgba(255,255,255,0.85); }
.form-guarantees li svg { color: var(--success) !important; stroke: var(--success) !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row .form-group { margin-bottom: 16px; }

/* ===== CITIES GRID ===== */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.city-link { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: var(--transition); font-weight: 500; }
.city-link:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.city-link svg { color: var(--primary); flex-shrink: 0; }

/* ===== DEPARTMENTS GRID ===== */
.depts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dept-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; transition: var(--transition); }
.dept-link:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.dept-code { background: var(--primary); color: white; padding: 6px 10px; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.85rem; min-width: 40px; text-align: center; }
.dept-name { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; }
.dept-link:hover .dept-name { color: var(--text); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.5s ease forwards; }

/* === Donnees locales + Carte === */
.local-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.local-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--border); }
.local-info { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 2px solid var(--border); }
.local-data-table { width: 100%; border-collapse: collapse; }
.local-data-table tr { border-bottom: 1px solid var(--border); }
.local-data-table tr:last-child { border-bottom: none; }
.local-data-table td { padding: 10px 8px; font-size: 0.95rem; }
.local-data-table .data-label { color: var(--text-secondary); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.local-data-table .data-value { font-weight: 700; color: var(--text); text-align: right; }
.local-nearby { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }
.nearby-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: var(--radius-sm); font-size: 0.85rem; margin: 2px 4px 2px 0; font-weight: 500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-stat:nth-child(2) { border-right: none; }
    .trust-stat:nth-child(3), .trust-stat:nth-child(4) { border-top: 1px solid var(--border); }
    .intro-grid, .form-layout { grid-template-columns: 1fr; gap: 40px; }
    .intro-visual { order: -1; }
}

@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
    .container { padding: 0 16px; }
    /* Hamburger */
    .hamburger { display: block; }
    .nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-dark); flex-direction: column; align-items: center; justify-content: center; gap: 16px; z-index: 1001; }
    .nav.open { display: flex; }
    .nav a { font-size: 1.2rem; padding: 14px 32px; color: white; }
    /* Hero */
    .hero { padding: 40px 0 50px !important; }
    .hero h1 { font-size: 1.75rem; }
    .hero-split { grid-template-columns: 1fr; gap: 24px; }
    .hero-with-form .hero-content { text-align: center; }
    .hero-with-form .hero-buttons { justify-content: center; }
    .hero-form-card { padding: 24px 16px; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 0.7rem; padding: 6px 12px; }
    /* Trust bar */
    .trust-bar { margin-top: -20px; }
    .trust-bar-inner { grid-template-columns: 1fr 1fr; }
    .trust-stat { padding: 14px 10px; text-align: center; border-right: none; }
    .trust-stat:nth-child(odd) { border-right: 1px solid var(--border); }
    .trust-stat:nth-child(1), .trust-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
    .trust-stat-number { font-size: 1.25rem; }
    .trust-stat-label { font-size: 0.75rem; }
    /* Sections */
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.95rem; }
    .section-title { font-size: 1.35rem; }
    /* Intro */
    .intro-text { font-size: 1rem; }
    .intro-benefits li { font-size: 0.95rem; padding: 10px 0; }
    .intro-card { padding: 24px; }
    .intro-card-icon { font-size: 2.25rem; }
    /* Features / cards */
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 24px 16px; }
    /* Products */
    .products-grid { grid-template-columns: 1fr; }
    .product-card { padding: 24px 16px; }
    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px 16px; }
    /* Form section */
    .form-card { padding: 28px 20px; }
    .form-trust { flex-direction: column; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .form-info h2 { font-size: 1.5rem; }
    /* Cities & departments */
    .cities-grid { grid-template-columns: 1fr; }
    .depts-grid { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: 1fr 1fr; }
    /* Local data */
    .local-data-grid { grid-template-columns: 1fr; }
    .local-map { order: -1; }
    #city-map { height: 250px !important; }
    /* Buttons */
    .btn { padding: 14px 20px; font-size: 0.9rem; }
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    /* Alphabet nav */
    .alphabet-nav { gap: 6px; padding: 16px; }
    .alphabet-nav a { width: 36px; height: 36px; font-size: 0.85rem; }
}
