/* ============================================
   POMPE A CHALEUR AUBE - FEUILLE DE STYLE
   ============================================ */

/* Variables CSS */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --danger: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* Reset et Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

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

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: white;
}

.header-main {
    padding: 1rem 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Bouton CTA Header - Style accrocheur */
.nav-cta {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    background-size: 200% 200%;
    color: white !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: 50px;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    color: white !important;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pulse subtil pour attirer l'attention */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6); }
}

.nav-cta {
    animation: gradientShift 3s ease infinite, pulse-glow 2s ease-in-out infinite;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo-right {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   BANDEAU URGENCE
   ============================================ */
.urgence-banner {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
}

.urgence-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.urgence-banner .phone {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.urgence-banner a {
    color: white;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

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

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

/* Hero Ville */
.ville-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.ville-hero::before,
.ville-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.ville-hero::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.ville-hero::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.ville-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ville-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ville-hero .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.ville-infos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.ville-info {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    color: white;
}

.ville-info .value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.ville-info .label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.breadcrumb-list li a {
    color: var(--text-light);
}

.breadcrumb-list li a:hover {
    color: var(--primary);
}

.breadcrumb-list li.active {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    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: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1rem;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card .price {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 1rem;
}

/* Avantages Cards */
.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.avantage-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.avantage-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.avantage-content h4 {
    margin-bottom: 0.5rem;
}

/* ============================================
   ZONES & CANTONS
   ============================================ */
.zones-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.zone-stat {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.zone-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.zone-stat .label {
    opacity: 0.9;
}

.cantons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.canton-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.canton-card:hover {
    box-shadow: var(--shadow-lg);
}

.canton-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem;
}

.canton-header h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
}

.canton-header h3 a {
    color: white;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.canton-header h3 a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.canton-header span {
    opacity: 0.9;
    font-size: 0.875rem;
}

.canton-content {
    padding: 1.5rem;
}

.communes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.communes-list a {
    background: var(--bg-light);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.communes-list a:hover {
    background: var(--primary);
    color: white;
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    overflow: visible;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: visible;
}

.form-group {
    position: relative;
    overflow: visible;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
    overflow: visible;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: var(--shadow-lg);
}

.autocomplete-results.active {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

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

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--bg-light);
}

.autocomplete-item .ville-name {
    font-weight: 600;
    color: var(--text-dark);
}

.autocomplete-item .canton-name {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   PROCESS / ETAPES
   ============================================ */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.process-step .step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow);
}

.process-step h4 {
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    max-width: 150px;
    margin: 0 auto;
}

/* ============================================
   TEMOIGNAGES
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.testimonial-info .name {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-info .location {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--bg-light);
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
}

.content-text h2 {
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text ul {
    margin-bottom: 1.5rem;
}

.content-text ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-light);
}

.content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 0;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-certifs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-certif {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   PAGES SPECIFIQUES
   ============================================ */

/* Page 404 */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page h1 {
    font-size: 8rem;
    color: var(--primary);
    line-height: 1;
}

.error-page h2 {
    margin-bottom: 1rem;
}

.error-page p {
    margin-bottom: 2rem;
}

/* Mentions Legales */
.legal-content {
    padding: 3rem 0;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content .warning {
    background: #fef3c7;
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.legal-content .warning p {
    color: var(--text-dark);
    margin: 0;
}

/* Confirmation */
.confirmation-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero h1, .ville-hero h1 {
        font-size: 2.25rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .process-steps::before {
        display: none;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .section {
        padding: 3rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Bouton CTA en mobile */
    .nav-cta {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
        display: block;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero, .ville-hero {
        padding: 3rem 0;
    }

    .hero h1, .ville-hero h1 {
        font-size: 1.75rem;
    }

    .hero-stat .number {
        font-size: 2rem;
    }

    .ville-infos {
        flex-direction: column;
        align-items: center;
    }

    .ville-info {
        width: 100%;
        max-width: 250px;
    }

    .services-grid, .cantons-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-certifs {
        justify-content: center;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .error-page h1 {
        font-size: 5rem;
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

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

/* ============================================
   PAGE SERVICES - NOUVEAU DESIGN
   ============================================ */

/* Hero Services */
.services-hero {
    background: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
    padding: 4rem 0 3rem;
    color: white;
}

.services-hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation Services */
.services-nav {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.services-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
}

.service-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.service-nav-item:hover {
    background: var(--primary);
    color: white;
}

.nav-icon {
    font-size: 1.25rem;
}

/* Sections Services */
.service-section {
    padding: 5rem 0;
}

.service-section.alt-bg {
    background: var(--bg-light);
}

.service-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.service-layout.reverse {
    grid-template-columns: 1fr 200px;
}

.service-layout.reverse .service-icon-large {
    order: 2;
}

.service-icon-large {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(45, 90, 158, 0.3);
    position: sticky;
    top: 180px;
}

.service-icon-large.blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.service-icon-large.green {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
}

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

.service-tag {
    display: inline-block;
    background: rgba(45, 90, 158, 0.1);
    color: var(--primary);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-tag.blue {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.service-tag.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.service-content h2 {
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45, 90, 158, 0.08);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.feature-badge.blue {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
}

.feature-badge.green {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
}

.feature-badge .check {
    color: currentColor;
    font-weight: 700;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-section.alt-bg .detail-card {
    background: white;
}

.detail-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.detail-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

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

/* Pricing Cards */
.service-pricing {
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.pricing-card.blue {
    border-left-color: #0ea5e9;
}

.pricing-card.blue::before {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
}

.pricing-card.green {
    border-left-color: #22c55e;
}

.pricing-card.green::before {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.pricing-label {
    font-size: 1.125rem;
    font-weight: 600;
}

.pricing-amount {
    text-align: right;
}

.pricing-amount .from {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.pricing-amount .price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-card.blue .pricing-amount .price {
    color: #0ea5e9;
}

.pricing-card.green .pricing-amount .price {
    color: #22c55e;
}

.pricing-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

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

.pricing-card.blue .btn {
    background: #0ea5e9;
    border-color: #0ea5e9;
}

.pricing-card.green .btn {
    background: #22c55e;
    border-color: #22c55e;
}

.pricing-card .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Tableau Comparatif */
.comparison-section {
    background: var(--bg-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--bg-light);
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.th-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.comparison-table td:first-child {
    text-align: left;
    background: var(--bg-light);
}

.comparison-table tbody tr:hover {
    background: rgba(45, 90, 158, 0.03);
}

.cell-yes {
    color: var(--success);
    font-weight: 700;
    font-size: 1.25rem;
}

.cell-no {
    color: var(--danger);
    font-size: 1.25rem;
}

.cell-partial {
    color: var(--warning);
    font-weight: 500;
}

.cell-highlight {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    font-weight: 600;
}

/* Section Duo (Entretien/Dépannage) */
.services-duo {
    background: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
}

.services-duo .section-title h2,
.services-duo .section-title p {
    color: white;
}

.services-duo .section-title p {
    opacity: 0.8;
}

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

.duo-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.duo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.duo-card.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--accent);
}

.duo-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.duo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.duo-icon.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.duo-icon.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.duo-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.duo-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.duo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.duo-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.duo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.duo-pricing {
    margin-bottom: 1.5rem;
}

.duo-from {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.duo-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Section Garanties */
.guarantees-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.guarantee-item {
    text-align: center;
    padding: 1.5rem;
}

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guarantee-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Services */
@media (max-width: 992px) {
    .service-layout,
    .service-layout.reverse {
        grid-template-columns: 1fr;
    }

    .service-icon-large {
        width: 120px;
        height: 120px;
        font-size: 3rem;
        position: static;
        margin: 0 auto 2rem;
    }

    .service-layout.reverse .service-icon-large {
        order: 0;
    }

    .service-details {
        grid-template-columns: 1fr;
    }

    .duo-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

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

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

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

    .services-nav-wrapper {
        justify-content: flex-start;
        padding: 0.75rem 0;
    }

    .service-nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .pricing-header {
        flex-direction: column;
        text-align: center;
    }

    .pricing-amount {
        text-align: center;
    }

    .guarantees-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .guarantee-item {
        padding: 1rem;
    }

    .guarantee-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }

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