/* ================================
   RENOV PRESTIGE - Premium Styles
   ================================ */

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

:root {
    /* Colors */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #eab308;
    --accent-color: #c2905f;

    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;

    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;

    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-gold: linear-gradient(135deg, #c2905f 0%, #eab308 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-display);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

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

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 20px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    position: absolute;
    font-size: 20px;
    color: var(--primary-color);
}

.logo-icon i:first-child {
    transform: translate(-4px, -4px);
}

.logo-icon i:last-child {
    color: var(--accent-color);
    transform: translate(4px, 4px);
}

.logo-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-sm);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(30, 64, 175, 0.75) 0%, rgba(17, 24, 39, 0.75) 100%),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    padding-top: 80px;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-light);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.service-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
    display: block;
    /* Évite les espaces blancs */
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-display);
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 15px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.service-link:hover {
    gap: 12px;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    background: white;
}

.why-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 80px;
    align-items: center;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
}

.why-feature {
    display: flex;
    gap: 20px;
}

.why-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.why-feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.why-feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.why-image {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-display);
}

.badge-text {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== PROCESS SECTION ===== */
.process {
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

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

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.process-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--bg-light);
}

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

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.project-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.project-description {
    font-size: 16px;
    opacity: 0.9;
}

.project-link {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition-bounce);
}

.project-card:hover .project-link {
    transform: rotate(45deg);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: white;
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: white;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.author-name {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.author-project {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1), transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
    backdrop-filter: blur(10px);
}

.cta-title {
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(30, 64, 175, 0.92) 0%, rgba(17, 24, 39, 0.92) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920') center/cover;
    padding-top: 80px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-title {
    color: white;
    margin-bottom: 16px;
}

.page-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
    padding: var(--section-padding);
}

.service-detail:nth-child(even) {
    background: var(--bg-light);
}

.service-detail-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    align-items: center;
}

.service-detail-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    height: 500px;
    /* Hauteur fixe pour uniformité */
    width: 100%;
    background-color: #f3f4f6;
    /* Couleur de fond au cas où l'image ne charge pas */
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Élimine les espaces blancs inline */
}

.service-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.service-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.service-detail-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features-list h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-features-list ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
}

.service-features-list i {
    color: var(--primary-color);
    font-size: 18px;
}

.service-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-dark);
}

.highlight-item i {
    color: var(--primary-color);
}

.service-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    padding: 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.service-process h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.process-steps {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.process-item {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.process-num {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

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

.feature-card {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-smooth);
}

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

.feature-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
}

.service-advantage {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.service-advantage h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.service-advantage p {
    color: var(--text-gray);
    line-height: 1.6;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

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

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-siret {
    margin-top: 5px;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

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

.footer-links-bottom a:hover {
    color: white;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: var(--shadow-2xl);
    z-index: 9999;
    /* Augmenté pour être sûr d'être au-dessus de tout */
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
    opacity: 1 !important;
    visibility: visible !important;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-xl);
    }

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

    .hamburger {
        display: flex;
    }

    .btn-phone span {
        display: none;
    }

    .why-content,
    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-detail-reverse .service-detail-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        min-height: 80vh;
    }

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

    .hero-stats {
        gap: 30px;
    }

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

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

    .service-stats,
    .process-steps {
        flex-direction: column;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        /* On garde la taille de 60px pour le confort tactile */
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .scroll-top {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .service-detail-image img,
    .image-card img {
        height: 300px;
    }

    .image-badge {
        bottom: 20px;
        right: 20px;
        padding: 16px 20px;
    }
}

/* ===== ANIMATIONS (DÉSACTIVÉES POUR STABILITÉ) ===== */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* [data-aos].aos-animate {
    opacity: 1;
} */

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* ===== OPTIMISATIONS MOBILE (CLS FIX) ===== */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important;
        /* Fixe le saut sur mobile */
    }

    /* Optimisation du rendu pour éviter le travail inutile du navigateur */
    .services,
    .why-choose-us,
    .process,
    .cta-section,
    .footer,
    .services-list,
    .about-section,
    .process-section {
        content-visibility: auto;
        contain-intrinsic-size: 1px 1000px;
    }
}