/* ========================================
   COMPATIBILITE CLASSES HTML/CSS
   ======================================== */

/* Header aliases */
.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    gap: 3rem;
}

.header-content .main-nav {
    margin-right: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.main-nav ul li a {
    color: #2C3E50;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.main-nav ul li a:not(.nav-urgence):hover {
    color: #D35400;
    background: rgba(211, 84, 0, 0.08);
}

.main-nav ul li a.active {
    color: #D35400;
}

.main-nav ul li a.nav-urgence {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: white !important;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav ul li a.nav-urgence::before {
    content: "📞";
    font-size: 1rem;
}

.main-nav ul li a.nav-urgence:hover {
    background: linear-gradient(135deg, #C0392B 0%, #A93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.nav-urgence {
    background: var(--accent);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.phone-number {
    font-weight: 600;
    color: #D35400;
}

/* Logo styles */
.logo {
    flex-shrink: 0;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D35400;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a:hover {
    color: #A04000;
}

.logo a::before {
    content: "🔥";
    font-size: 1.5rem;
}

/* Header contact */
.header-contact {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #D35400 0%, #E74C3C 100%);
    color: white;
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.9) 0%, rgba(231, 76, 60, 0.9) 100%);
}

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

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

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

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

/* Trust section */
.trust-section {
    padding: 3rem 0;
    background: #F8F9FA;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D35400 0%, #E74C3C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.badge-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

/* Badge item (trust section) */
.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.badge-item h3 {
    margin: 1rem 0 0.5rem;
    color: #2C3E50;
    font-size: 1.1rem;
}

.badge-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Services section */
.services-section {
    padding: 4rem 0;
}

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

.section-subtitle {
    color: #666;
    font-size: 1.125rem;
}

/* Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Card enhancements for service pages */
.card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #2C3E50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card p {
    color: #555;
    line-height: 1.7;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #D35400;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D35400 0%, #E74C3C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.8rem;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.service-price {
    display: inline-block;
    background: #F8F9FA;
    color: #D35400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #D35400;
    font-weight: 500;
    margin-top: 1rem;
}

/* Service icon */
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #D35400 0%, #E74C3C 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-card h3 {
    color: #2C3E50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-card .btn {
    margin-top: 1rem;
}

/* Zones section */
.zones-section {
    padding: 4rem 0;
    background: #F8F9FA;
}

.zones-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.canton-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.canton-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.canton-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.canton-cities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.canton-cities a {
    font-size: 0.875rem;
    color: #666;
}

.canton-cities a:hover {
    color: #D35400;
}

/* Canton item */
.canton-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.canton-item h3 {
    color: #2C3E50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D35400;
}

.canton-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.canton-item ul li {
    padding: 0.35rem 0;
}

.canton-item ul li a {
    color: #666;
    font-size: 0.9rem;
}

.canton-item ul li a:hover {
    color: #D35400;
}

/* Zones content & CTA */
.zones-content {
    margin-top: 2rem;
}

.zones-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Process section */
.process-section {
    padding: 4rem 0;
    background: #F8F9FA;
}

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

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.step-item h3 {
    color: #2C3E50;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.step-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background: #F8F9FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Quote form section */
.quote-section {
    padding: 4rem 0;
    background: #2C3E50;
    color: white;
}

.quote-section h2 {
    color: white;
}

.quote-section p {
    color: rgba(255,255,255,0.9);
}

.quote-contact {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #D35400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section (devis form) */
.contact-section {
    padding: 4rem 0;
    background: #2C3E50;
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item svg {
    flex-shrink: 0;
    color: #D35400;
}

.detail-item h4 {
    color: white;
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.detail-item p,
.detail-item a {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form-wrapper .form-group label {
    color: #2C3E50;
}

.contact-form-wrapper .form-group input,
.contact-form-wrapper .form-group select,
.contact-form-wrapper .form-group textarea {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.form-privacy {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

.form-privacy a {
    color: #D35400;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    background: white;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2C3E50;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

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

.faq-answer p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

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

.faq-toggle,
.faq-icon {
    font-size: 1.25rem;
    color: #D35400;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle,
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    display: block;
    padding: 0.25rem 0;
}

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

/* Footer columns */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    padding: 0.35rem 0;
    color: rgba(255,255,255,0.8);
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
}

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

.footer-cta {
    display: inline-block;
    background: #D35400;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.footer-cta:hover {
    background: #A04000;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: #D35400;
    color: white;
    border-color: #D35400;
}

.btn-primary:hover {
    background: #A04000;
    border-color: #A04000;
}

.btn-secondary {
    background: white;
    color: #D35400;
    border-color: #D35400;
}

.btn-secondary:hover {
    background: #D35400;
    color: white;
}

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

.btn-outline:hover {
    background: white;
    color: #D35400;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid #D35400;
    color: #D35400;
}

.btn-outline:hover {
    background: #D35400;
    color: white;
}

.btn-urgence {
    background: #E74C3C;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.section {
    padding: 4rem 0;
}

.section-light {
    background: #F8F9FA;
}

.section-dark {
    background: #2C3E50;
    color: white;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

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

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

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

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D35400;
}

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

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

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

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 0.95rem;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #F8F9FA;
    color: #D35400;
}

.autocomplete-item .commune-name {
    font-weight: 600;
    color: #2C3E50;
}

.autocomplete-item .canton-name {
    font-size: 0.85rem;
    color: #666;
    margin-left: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: #F8F9FA;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #D35400;
}

/* Menu toggle mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2C3E50;
    margin: 5px 0;
    transition: 0.2s ease;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #D35400;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: none;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Navbar (alternative) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-menu {
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    color: #2C3E50;
    font-weight: 500;
    text-decoration: none;
}

.nav-menu a:hover {
    color: #D35400;
}

.nav-menu a.btn {
    color: white;
}

.nav-menu a.btn:hover {
    color: white;
}

/* Header container flex layout */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation principale - structure .nav ul */
.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav ul li a {
    color: #2C3E50;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav ul li a:hover {
    color: #D35400;
}

.nav ul li a.btn-urgence {
    background: #E74C3C;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav ul li a.btn-urgence:hover {
    background: #c0392b;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Communes */
.communes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.commune-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #F8F9FA;
    border-radius: 50px;
    color: #333;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.commune-link:hover {
    background: #D35400;
    color: white;
}

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

.communes-list a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #F8F9FA;
    border-radius: 50px;
    color: #333;
    font-size: 0.875rem;
}

.communes-list a:hover {
    background: #D35400;
    color: white;
}

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

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

.avantage-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D35400 0%, #E74C3C 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Price */
.price {
    display: inline-block;
    background: #F8F9FA;
    color: #D35400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
}

/* Urgence banner */
.urgence-banner {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    padding: 2.5rem 0;
    text-align: center;
    color: white;
}

.urgence-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.urgence-banner p {
    color: white;
    font-size: 1.35rem;
    margin: 0;
    font-weight: 500;
}

.urgence-banner .btn,
.urgence-banner .btn-primary,
.urgence-banner a[href^="tel"] {
    display: inline-block;
    background: white !important;
    color: #C0392B !important;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.urgence-banner .btn:hover,
.urgence-banner .btn-primary:hover,
.urgence-banner a[href^="tel"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #2C3E50 !important;
    color: white !important;
}

@media (min-width: 768px) {
    .urgence-banner .container {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

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

/* Hero canton/ville */
.hero-canton,
.ville-hero {
    background: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
    position: relative;
}

.ville-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-canton h1,
.ville-hero h1 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ville-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats,
.ville-infos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat,
.ville-info {
    text-align: center;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ville-info:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

.stat .stat-number,
.info-value {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.stat .stat-label,
.info-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

/* Boutons hero pour pages villes */
.ville-hero .btn-primary {
    background: white;
    color: #2C3E50;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.ville-hero .btn-primary:hover {
    transform: translateY(-3px);
    background: #D35400;
    color: white;
    box-shadow: 0 6px 25px rgba(211, 84, 0, 0.5);
}

.ville-hero .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.ville-hero .btn-outline:hover {
    background: white;
    color: #2C3E50;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

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

.content-text ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.content-text li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.content-text li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #27AE60;
    font-weight: bold;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .nav-menu,
    .main-nav ul,
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 1000;
    }

    .nav-menu.active,
    .main-nav ul.active,
    .nav ul.active {
        display: flex;
    }

    .nav ul li,
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav ul li:last-child,
    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .nav ul li a,
    .main-nav ul li a {
        display: block;
        padding: 1rem;
    }

    .nav ul li a.btn-urgence,
    .main-nav ul li a.nav-urgence {
        margin: 1rem;
        text-align: center;
    }

    .header-contact {
        display: none;
    }

    .menu-toggle,
    .mobile-toggle {
        display: block;
    }

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

    .hero-stats,
    .ville-infos {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .ville-info {
        min-width: 200px;
        padding: 1rem 1.5rem;
    }

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

    .ville-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn,
    .ville-hero .btn-primary,
    .ville-hero .btn-outline {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

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

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

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   PAGE ZONES INTERVENTION
   ======================================== */

/* Hero zones */
.hero-zones {
    background: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
    padding: 4rem 0;
    text-align: center;
}

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

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

/* Stats wrapper */
.stats-wrapper {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stats-wrapper .stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
}

.stats-wrapper .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D35400;
}

.stats-wrapper .stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* Section intro */
.section-intro {
    padding: 3rem 0;
    background: #F8F9FA;
}

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

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Canton block */
.canton-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.canton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #D35400;
}

.canton-header h2 {
    color: #2C3E50;
    font-size: 1.5rem;
    margin: 0;
}

.badge-communes {
    background: #D35400;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Communes grid */
.communes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.commune-link {
    color: #555;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.commune-link:hover {
    background: rgba(211, 84, 0, 0.1);
    color: #D35400;
}

/* Bouton canton */
.btn-canton {
    display: inline-block;
    color: #D35400;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.btn-canton:hover {
    color: #A04000;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #D35400 0%, #E74C3C 100%);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.cta-content .btn-primary {
    background: white;
    color: #D35400;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

    .stats-wrapper {
        gap: 1rem;
    }

    .stats-wrapper .stat-item {
        padding: 1rem;
    }

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

    .canton-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

/* ========================================
   PAGES DE SERVICES DETAILLEES
   ======================================== */

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    position: relative;
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.service-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

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

.service-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Grid system */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

/* Section alternate */
.section-alt {
    background: #f8f9fa;
}

/* Info boxes */
.info-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-box h3,
.info-box h4 {
    color: #2C3E50;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.info-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #D35400;
    font-weight: bold;
}

.info-box.info-important {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE8CC 100%);
    border-left: 4px solid #D35400;
}

.info-box.info-important h3 {
    color: #D35400;
}

/* Feature boxes */
.feature-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
}

.feature-box h3 {
    color: #2C3E50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: #555;
    line-height: 1.7;
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-box ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.feature-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27AE60;
}

.feature-box.feature-warning {
    border-left: 4px solid #E74C3C;
}

.feature-box.feature-warning h3 {
    color: #E74C3C;
}

.feature-box.feature-info {
    border-left: 4px solid #3498DB;
}

.feature-box.feature-info h3 {
    color: #3498DB;
}

/* Card variants */
.card-danger {
    border-top: 4px solid #E74C3C;
}

.card-danger .card-icon {
    color: #E74C3C;
}

.card-required {
    border-left: 4px solid #E74C3C;
    background: #FDF2F2;
}

.card-required h3 {
    color: #E74C3C;
}

.card-recommended {
    border-left: 4px solid #F39C12;
    background: #FFFBF0;
}

.card-recommended h3 {
    color: #F39C12;
}

/* Price grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.price-card h3 {
    font-size: 1.25rem;
    color: #2C3E50;
    margin-bottom: 1.5rem;
}

.price-card.price-featured {
    background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    color: white;
    transform: scale(1.05);
}

.price-card.price-featured:hover {
    transform: scale(1.08);
}

.price-card.price-featured h3 {
    color: white;
}

.price-card.price-featured .price-amount {
    color: white;
}

.price-card.price-featured .price-label {
    color: rgba(255, 255, 255, 0.8);
}

.price-card.price-featured .price-features li {
    color: rgba(255, 255, 255, 0.9);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #27AE60;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D35400;
    display: block;
}

.price-label {
    font-size: 0.9rem;
    color: #777;
    display: block;
}

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

.price-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.price-card.price-featured .price-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    margin-top: 1rem;
}

.price-card.price-featured .price-note {
    color: rgba(255, 255, 255, 0.8);
}

/* Advantage items */
.advantage-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantage-item h3 {
    color: #27AE60;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Button variants */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

/* Form section */
.section-form {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
}

.section-form h2 {
    color: white;
}

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

.form-header h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
}

.section-form .contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.section-form .contact-form label {
    color: #2C3E50;
}

.form-footer {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 1rem;
}

.form-footer a {
    color: #D35400;
}

/* Text utilities */
.text-center {
    text-align: center;
}

/* Responsive for service pages */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .price-card.price-featured {
        transform: scale(1);
        order: -1;
    }

    .price-card.price-featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 3rem 0;
    }

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

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

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

/* ========================================
   PAGE SERVICES
   ======================================== */

.hero-services {
    background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.hero-services .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.services-page-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-block-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-block-icon svg {
    width: 40px;
    height: 40px;
}

.service-block-content {
    flex: 1;
}

.service-block-content h2 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.service-block-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.service-features li {
    color: #555;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27AE60;
    font-weight: bold;
}

.service-block-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #D35400;
}

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

    .service-block {
        flex-direction: column;
        text-align: center;
    }

    .service-block-icon {
        margin: 0 auto;
    }

    .service-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .service-block-footer {
        flex-direction: column;
        gap: 1rem;
    }
}
