/* ============================================
   FICHIER CSS PRINCIPAL
   Site Template Couvreur
   ============================================ */

/* Import des variables */
@import url('variables.css');

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-fixed);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-base);
}

.hamburger-menu:hover {
    transform: scale(1.05);
    background: var(--color-primary-light);
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition-base);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-overlay);
    backdrop-filter: blur(5px);
    z-index: calc(var(--z-fixed) - 1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100vh;
    background: var(--gradient-secondary);
    z-index: var(--z-fixed);
    padding: 30px;
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

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

.side-menu-nav {
    list-style: none;
    margin-bottom: 40px;
}

.menu-item {
    margin-bottom: 8px;
}

.menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: white;
    font-weight: 500;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-bounce);
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 28px;
    color: var(--color-primary-light);
}

.link-arrow {
    color: var(--color-primary);
    font-size: 20px;
}

.side-menu-contact {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-title {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.contact-item svg {
    color: var(--color-primary);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

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

.side-menu-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition-bounce);
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   CTA BUTTONS FIXES
   ============================================ */

.cta-fixed-buttons-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-fixed) - 2);
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px;
    gap: 10px;
}

.cta-btn-mobile {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-base);
}

.cta-btn-call {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    color: white;
}

.cta-btn-devis {
    background: var(--gradient-primary);
    color: white;
}

.cta-btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-floating-button-desktop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: calc(var(--z-fixed) - 2);
}

.cta-btn-desktop {
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-bounce);
    position: relative;
}

.cta-btn-desktop:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(232, 78, 27, 0.5);
}

.cta-btn-desktop-icon {
    font-size: 24px;
}

.cta-badge-gratuit {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-success);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 769px) {
    .cta-fixed-buttons-mobile {
        display: none;
    }
    .cta-floating-button-desktop {
        display: block;
    }
}

/* ===== MENU HEADER CENTRAL ===== */
.top-header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 50;
    position: fixed;
}

.top-nav {
    display: flex;
    gap: 40px;
    background: #fff;
    padding: 14px 34px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    align-items: center;
}

.top-link {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    position: relative;
    transition: all 0.25s ease;
}

/* Soulignement animé */
.top-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

/* Effet hover */
.top-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.top-link:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .top-header {
        display: none; /* On masque le menu central sur mobile */
    }
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero-text {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-highlight {
    display: block;
    color: var(--color-accent);
    margin-top: 10px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .badge-icon {
    font-size: 32px;
}

.hero-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.hero-badge strong {
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   BOUTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--btn-border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    transition: var(--transition-bounce);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(232, 78, 27, 0.5);
    color: white;
}
.btn-white {
    background: white;
    color: var(--color-primary);
}

.btn-white:hover {
    background: white;
    color: var(--color-primary);
}
.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-gray-300);
}

.btn-outline:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

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

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

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

.btn-lg {
    padding: 18px 32px;
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
}

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

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

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

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-secondary);
}

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

.text-muted {
    color: var(--color-text-secondary);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   PRÉSENTATION
   ============================================ */

.section-presentation {
    background: white;
}

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

.presentation-text h2 {
    margin-bottom: 20px;
}

.presentation-text p {
    margin-bottom: 20px;
    line-height: var(--line-height-relaxed);
}

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    padding: 12px 0;
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
}

.presentation-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.presentation-image {
    position: relative;
}

.image-rounded {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 30px;
}

.card-stat {
    display: flex;
    flex-direction: column;
}

.stat-big {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.floating-card span {
    font-size: 14px;
    color: var(--color-text-secondary);
}

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

.section-services {
    background: var(--color-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    transition: var(--transition-bounce);
    position: relative;
}

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

.service-card.urgence {
    border: 2px solid var(--color-urgence);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-badge.urgence {
    background: var(--color-urgence);
    color: white;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.service-description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 20px;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.service-price {
    font-weight: 700;
    color: var(--color-primary);
}

.service-duration {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ============================================
   CHIFFRES CLÉS
   ============================================ */

.section-chiffres {
    background: var(--gradient-secondary);
    padding: 60px 0;
}

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

.chiffre-card {
    text-align: center;
    color: white;
}

.chiffre-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.chiffre-number {
    display: block;
    font-size: 52px;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.chiffre-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   HERO PAGE
   ============================================ */

.hero-page {
    background: var(--gradient-secondary);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.hero-page-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    color: white;
}

.hero-page-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    margin-bottom: 25px;
}

.breadcrumb {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   PAGE CONTACT
   ============================================ */

.contact-section {
    padding: 80px 0;
    background: var(--color-bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.contact-intro {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-base);
    border: none;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.contact-card.urgence {
    background: linear-gradient(135deg, var(--color-urgence) 0%, #c82333 100%);
    color: white;
}

.contact-card.urgence strong,
.contact-card.urgence .contact-link,
.contact-card.urgence .contact-hours {
    color: white !important;
}

.contact-card-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.contact-link {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 5px;
    transition: var(--transition-base);
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

.contact-horaires {
    display: block;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-style: italic;
    padding-block: var(--spacing-6);
}

.contact-info h3 {
    font-style: normal;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2);
}

.contact-horaires ul {
    padding-left: var(--spacing-8);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 100px;
}

.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--color-text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--spacing-4);
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(232, 78, 27, 0.1);
}

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

.contact-form button[type="submit"] {
    background: var(--color-primary);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: static;
    }
}

/* ============================================
   PAGE SERVICES DÉTAIL
   ============================================ */

.services-detail-section {
    padding: 80px 0;
    background: var(--color-bg-primary);
}

.service-detail {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
}

.image-rounded {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.service-urgence-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-urgence);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.badge-icon {
    font-size: 18px;
}

.service-detail-content {
    padding: 20px;
}

.service-detail-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-detail-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.service-detail-lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-detail-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-detail-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    font-size: 24px;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.meta-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.service-detail-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-detail-features li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 15px;
}

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

.service-info-box {
    margin-bottom: 25px;
}

.service-detail-cta {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.service-detail-cta a:hover {
    color: white;
}

.service-cta-button {
    background: var(--color-primary);
    color: white;
    padding: 14px 30px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-cta-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .image-rounded {
        height: 300px;
    }
    
    .service-detail-title {
        font-size: 28px;
    }
    
    .service-detail-meta {
        flex-direction: column;
        gap: 15px;
    }
}

/* ============================================
   CTA FINAL
   ============================================ */

.section-cta-final {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-final-card {
    text-align: center;
    color: white;
}

.cta-final-card h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: white;
    margin-bottom: 15px;
}

.cta-final-card p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    margin-bottom: 35px;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-card {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .side-menu {
        width: 100%;
        left: -100%;
    }
    
    .hamburger-menu {
        right: 20px;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 100px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-final-buttons {
        flex-direction: column;
    }
    
    .cta-final-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   STYLES FORMULAIRE DE DEVIS MODAL
   ============================================ */

.devis-fixed > *:not(:first-child) {
    margin-bottom: var(--spacing-6);
}

.devis-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99998;
    animation: fadeInOverlay 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.devis-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.devis-modal-content {
    position: relative;
    max-width: 700px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

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

.devis-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.devis-modal-close:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.devis-modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.devis-modal-header .devis-modal-title{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.devis-modal-header .devis-modal-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

.devis-reassurance-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 25px 30px;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-gray-200);
}

.devis-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.devis-badge-icon {
    font-size: 24px;
}

.devis-progress-container {
    padding: 30px 30px 20px;
}

.devis-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.devis-progress-fill {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.4s ease;
    width: 0%;
}

.devis-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.devis-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.devis-progress-step.active .devis-step-circle {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.devis-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.devis-progress-step.active .devis-step-label {
    color: var(--color-primary);
}

.devis-form-modal {
    padding: 0 30px 30px;
}

.devis-form-step {
    display: none;
}

.devis-form-step.active {
    display: block;
}

.devis-step .step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 25px;
    text-align: center;
}

.devis-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.devis-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.devis-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: white;
    border: 2px solid var(--color-gray-300);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.devis-option-card:hover .devis-option-label {
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
}

.devis-option-card input:checked + .devis-option-label {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: white;
}

.devis-option-icon {
    font-size: 42px;
}

.devis-option-text {
    font-size: 15px;
    font-weight: 600;
}

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

.devis-form-label {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.devis-form-label .required {
    color: var(--color-primary);
}

.devis-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-gray-300);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.devis-form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea.devis-form-input {
    resize: vertical;
    min-height: 100px;
}

.devis-hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.devis-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.devis-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.devis-btn-primary:hover {
    transform: translateY(-2px);
}

.devis-btn-secondary {
    background: white;
    color: var(--color-text-primary);
    border: 2px solid var(--color-gray-300);
}

.devis-success-message {
    text-align: center;
    padding: 40px 30px;
}

.devis-success-message.active {
    display: block;
}

.devis-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.devis-success-message h2 {
    font-size: 26px;
    color: var(--color-success);
    margin-bottom: 15px;
}

.devis-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Styles pour le formulaire modal */
.devis-steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding: 0 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
    max-width: 120px;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 100%;
    height: 2px;
    background: var(--color-gray-300);
    z-index: -1;
}

.step-item:last-child::after {
    display: none;
}

.step-item.active .step-number,
.step-item.completed .step-number {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.step-item.completed::after {
    background: var(--color-primary);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-gray-500);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-500);
    text-align: center;
}

.step-item.active .step-label {
    color: var(--color-primary);
}

.devis-step {
    animation: fadeIn 0.3s ease;
}

.devis-step.hidden {
    display: none;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-text-primary);
}

.services-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-card-modal {
    cursor: pointer;
    position: relative;
    display: block;
}

.service-card-modal input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card-content {
    padding: 20px;
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    background: white;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 120px;
    justify-content: center;
}

.service-card-modal:hover .service-card-content {
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(232, 78, 27, 0.1);
    transform: translateY(-2px);
}

.service-card-modal input[type="radio"]:checked + .service-card-content {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 4px 20px rgba(232, 78, 27, 0.2);
}

.service-icon {
    font-size: 36px;
    line-height: 1;
}

.service-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.service-card-modal input[type="radio"]:checked + .service-card-content .service-name {
    color: white;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(232, 78, 27, 0.1);
}

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

.form-consent {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

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

.devis-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-200);
}

.btn-prev,
.btn-next,
.btn-submit {
    flex: 1;
    padding: 14px 30px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-prev {
    background: var(--color-gray-200);
    color: var(--color-text-primary);
}

.btn-prev:hover {
    background: var(--color-gray-300);
}

.btn-next,
.btn-submit {
    background: var(--color-primary);
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-prev.hidden,
.btn-next.hidden,
.btn-submit.hidden {
    display: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.devis-success-message {
    text-align: center;
    padding: 40px 20px;
}

.devis-success-message.hidden {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.devis-success-message h3 {
    font-size: 24px;
    color: var(--color-success);
    margin-bottom: 10px;
}

.devis-success-message p {
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

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

@media (max-width: 768px) {
    .devis-modal-content {
        margin: 10px;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .services-grid-modal {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .service-card-content {
        padding: 15px 10px;
        min-height: 100px;
    }
    
    .service-icon {
        font-size: 28px;
    }
    
    .service-name {
        font-size: 12px;
    }
    
    .devis-steps-indicator {
        gap: 10px;
    }
    
    .step-item {
        max-width: 80px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .devis-form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .devis-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}

/* ============================================
   SECTION PROCESSUS (process-grid, process-step)
   ============================================ */

.section-process {
  background-color: var(--color-bg-dark);
  padding: var(--spacing-20) 0;
}

.section-process .section-header {
  margin-bottom: var(--spacing-12);
}

.section-process h2, .section-process p {
    color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-8);
}

.process-step {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8) var(--spacing-6);
  box-shadow: var(--shadow-base);
  text-align: center;
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
}

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

.process-step .step-number {
    display: none;
}

.process-step .step-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-4);
}

.process-step h3 {
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-2);
  font-family: var(--font-heading);
}

.process-step p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   SECTION ZONES D’INTERVENTION
   ============================================ */

.section-zones {
  background-color: var(--color-bg-primary);
  padding: var(--spacing-20) 0;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-6);
  margin-top: var(--spacing-12);
}

.zone-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-5);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-base), transform var(--transition-bounce);
}

.zone-card svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.zone-card span {
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

.zone-card:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.zone-card:hover span, .zone-card:hover svg {
  color: var(--color-white);
}

.text-muted {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-6);
}

/* ============================================
   SECTION POURQUOI CHOISIR
   ============================================ */

.why-choose-section {
    padding: 80px 0;
    background: var(--color-bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    text-align: center;
    border: none;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   FOOTER COMPLET
   ============================================ */

.site-footer {
    background: var(--color-secondary);
    color: white;
}

.footer-content {
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
/* 
.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
} */

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.footer-title {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-contact svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

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

.footer-urgence {
    background: var(--color-urgence);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.footer-urgence strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.urgence-link {
    color: white !important;
    font-weight: 700;
    font-size: 18px;
}

.urgence-link:hover {
    color: white !important;
}

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

.footer-zones h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.footer-zones p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
}

