/* ============================================
   COUVREUR VOSGES - Feuille de style principale
   ============================================ */

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

:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --secondary: #d4722c;
    --secondary-light: #e8944e;
    --secondary-dark: #b85a1a;
    --accent: #c8a94e;
    --accent-light: #e0c66a;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary);
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--primary);
}

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

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

.section {
    padding: 60px 0;
}

.section-dark {
    background-color: var(--primary);
    color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

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

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

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

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

/* === TOP BAR === */
.top-bar {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.top-bar a {
    color: var(--accent);
    font-weight: 700;
}

.top-bar a:hover {
    color: var(--accent-light);
}

.top-bar .urgence-badge {
    background: var(--danger);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

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

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.nav-brand:hover {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-menu > a {
    padding: 10px 16px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu > a:hover,
.nav-menu > a.active {
    background-color: var(--primary);
    color: #fff;
}

/* Dropdown Services */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    padding: 10px 16px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    content: ' \25BE';
    font-size: 0.75em;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
    background-color: var(--primary);
    color: #fff;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1001;
    border: 1px solid var(--border);
    border-top: 3px solid var(--secondary);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background-color: var(--primary);
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* === HERO === */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0a1628 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,114,44,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200,169,78,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 15px 25px;
    border-radius: var(--radius);
    text-align: center;
}

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

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* === VILLE HERO === */
.ville-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0a1628 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.ville-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,114,44,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.ville-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200,169,78,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.ville-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.ville-hero .subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ville-infos {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.ville-info {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 20px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 140px;
}

.ville-info .info-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.ville-info .info-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212,114,44,0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Variante claire pour fonds sombres */
.hero .btn-outline,
.ville-hero .btn-outline,
.section-dark .btn-outline,
.urgence-banner .btn-outline {
    color: #fff;
    border-color: #fff;
}

.hero .btn-outline:hover,
.ville-hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.urgence-banner .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb li::after {
    content: '>';
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb li:last-child a,
.breadcrumb li:last-child span {
    color: var(--secondary);
    font-weight: 600;
}

.breadcrumb a {
    color: var(--text-medium);
}

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

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

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

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.service-card .price {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.service-card .btn {
    width: 100%;
    text-align: center;
}

/* === ADVANTAGES === */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-number {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.advantage-content h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.advantage-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

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

.canton-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

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

.canton-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.canton-card h3 a {
    color: var(--primary);
}

.canton-card h3 a:hover {
    color: var(--secondary);
}

.canton-card .communes-count {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* === COMMUNES LIST (pills) === */
.communes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.communes-list a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.communes-list a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* === CONTENT TEXT === */
.content-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 15px;
    color: var(--text-medium);
}

.content-text h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-text h3 {
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-text ul {
    margin-bottom: 20px;
    padding-left: 10px;
}

.content-text ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-medium);
}

.content-text ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 8px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
}

/* === PROCESS STEPS === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.process-step h4 {
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* === TARIFS === */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tarif-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.tarif-card h3 {
    margin-bottom: 10px;
}

.tarif-card .tarif-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.tarif-card .tarif-unit {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tarif-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.testimonial-text {
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-location {
    color: var(--text-light);
    font-size: 0.85rem;
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 18px 50px 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    transition: var(--transition);
    font-size: 1.05rem;
}

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

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary);
    transition: var(--transition);
    font-weight: 700;
}

.faq-item.active .faq-question::after {
    content: '-';
}

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

.faq-answer-content {
    padding: 0 20px 18px;
    color: var(--text-medium);
    line-height: 1.7;
}

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

/* === FORMS === */
.form-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
}

.form-container h2,
.form-container h3 {
    text-align: center;
    margin-bottom: 25px;
}

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

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

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

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

.form-checkbox {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 400;
    line-height: 1.5;
}

.form-checkbox label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-medium);
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.form-submit .btn {
    min-width: 250px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* === 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-results li {
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

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

.autocomplete-results li:hover,
.autocomplete-results li.selected {
    background: var(--primary);
    color: #fff;
}

.autocomplete-results li .canton-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 8px;
}

.autocomplete-results li:hover .canton-label,
.autocomplete-results li.selected .canton-label {
    color: rgba(255,255,255,0.7);
}

/* === URGENCE BANNER === */
.urgence-banner {
    background: linear-gradient(135deg, var(--danger), #a71d2a);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.urgence-banner h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.urgence-banner p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.urgence-banner .btn-primary {
    background: #fff;
    color: var(--danger);
    border-color: #fff;
    font-size: 1.1rem;
}

.urgence-banner .btn-primary:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* === FOOTER === */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul li {
    margin-bottom: 8px;
}

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

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SERVICE PAGE CONTENT === */
.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.service-description {
    margin-bottom: 40px;
}

.service-description h2 {
    margin-bottom: 20px;
}

.service-description p {
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-types,
.tarifs-section,
.process-section,
.faq-section {
    margin-top: 50px;
}

.service-types h2,
.tarifs-section h2,
.process-section h2,
.faq-section h2 {
    margin-bottom: 25px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.type-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.type-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.type-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.type-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.tarif-card .tarif-details {
    text-align: left;
    margin-top: 15px;
}

.tarif-card .tarif-details li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.tarif-card .tarif-details li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.tarifs-note,
.tarif-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-steps .step,
.process-steps .process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.process-steps .step h3,
.process-steps .process-step h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.process-steps .step p,
.process-steps .process-step p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.two-columns .column h3 {
    margin-bottom: 15px;
}

.two-columns .column p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 12px;
}

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

/* === LEGAL PAGES === */
.legal-content {
    padding: 40px 0;
}

.legal-content h1 {
    margin-bottom: 30px;
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text-medium);
}

.legal-content ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-content ul li {
    padding: 4px 0;
    color: var(--text-medium);
    list-style: disc;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* === THANK YOU PAGE === */
.thankyou-section {
    text-align: center;
    padding: 100px 0;
}

.thankyou-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
}

.thankyou-section h1 {
    margin-bottom: 15px;
    color: var(--success);
}

.thankyou-section p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 25px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cantons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .types-grid {
        grid-template-columns: 1fr;
    }
    .two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 999;
        gap: 0;
        overflow-y: auto;
        margin: 0;
    }

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

    .nav-menu > a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        width: 100%;
        border-radius: 0;
    }

    /* Mobile dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        width: 100%;
        border-radius: 0;
        text-align: left;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: none;
        min-width: 0;
    }

    .nav-dropdown-menu a {
        padding: 12px 16px 12px 32px;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding: 50px 0;
    }

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

    .hero .subtitle {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stat {
        padding: 10px 15px;
        flex: 1 1 calc(50% - 10px);
    }

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .section {
        padding: 40px 0;
    }

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

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

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

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .form-container {
        padding: 25px;
    }

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

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .ville-hero {
        padding: 40px 0;
    }

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

    .ville-infos {
        gap: 10px;
    }

    .ville-info {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .faq-question {
        padding: 14px 40px 14px 16px;
        font-size: 0.95rem;
    }

    .breadcrumb ul {
        font-size: 0.8rem;
    }

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

@media (max-width: 480px) {
    .hero-stat {
        flex: 1 1 100%;
    }

    .ville-info {
        flex: 1 1 100%;
    }

    .container {
        padding: 0 15px;
    }
}
