/* ============================================
   NEWTECS - Style CSS Principal
   ============================================ */

/* Variables CSS */
:root {
    --primary-color: #0052CC;
    --primary-dark: #003D99;
    --primary-light: #4C9AFF;
    --secondary-color: #172B4D;
    --accent-color: #00C7E6;
    --text-color: #333333;
    --text-light: #6B778C;
    --text-white: #FFFFFF;
    --bg-light: #F4F5F7;
    --bg-dark: #091E42;
    --gradient-primary: linear-gradient(135deg, #0052CC 0%, #00C7E6 100%);
    --gradient-dark: linear-gradient(135deg, #091E42 0%, #0052CC 100%);
    --shadow-sm: 0 2px 8px rgba(0, 82, 204, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 82, 204, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 82, 204, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--text-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

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

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader img {
    width: 80px;
    height: 80px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Navigation */
.navbar {
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar .logo {
    height: 40px;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    height: 35px;
}

.navbar-nav .nav-link {
    color: var(--text-white);
    font-weight: 500;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--secondary-color);
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 40px);
}

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

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

.navbar-toggler {
    border: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.navbar.scrolled .navbar-toggler {
    background: var(--bg-light);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 82, 204, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    display: inline-flex;
    align-items: center;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Navigation Links - Uppercase */
.navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.9) 0%, rgba(0, 82, 204, 0.85) 100%),
                url('https://images.pexels.com/photos/3183153/pexels-photo-3183153.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-white);
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background: var(--bg-light);
}

.service-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

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

.service-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

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

.service-link:hover i {
    transform: translateX(5px);
}

/* Why Us Section */
.why-us-section {
    background: var(--text-white);
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.experience-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.why-us-content {
    padding-left: 40px;
}

.features-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
}

.feature-item:hover .feature-icon i {
    color: var(--text-white);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-box i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Devis Section */
.devis-notice {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(0, 199, 230, 0.05) 100%);
    border: 2px solid rgba(0, 82, 204, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.notice-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice-icon i {
    font-size: 1.3rem;
    color: var(--text-white);
}

.notice-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

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

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.notice-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.notice-list li i {
    color: #28a745;
}

.devis-form-wrapper {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

.form-step {
    display: none;
}

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

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.step-title span {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.step-buttons .btn-prev {
    border-color: var(--text-light);
    color: var(--text-light);
}

.step-buttons .btn-prev:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--bg-light);
}

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

.progress-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--bg-light);
}

.progress-step:last-child::before {
    display: none;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.progress-step.completed::before {
    background: var(--primary-color);
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Upload Zone */
.upload-area {
    border: 2px dashed rgba(0, 82, 204, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-light);
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(0, 82, 204, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-area h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.upload-area p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.upload-info {
    font-size: 0.8rem;
    color: var(--text-light);
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.uploaded-files {
    margin-top: 20px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.uploaded-file .file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uploaded-file .file-info i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.uploaded-file .file-name {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.uploaded-file .file-size {
    font-size: 0.8rem;
    color: var(--text-light);
}

.uploaded-file .remove-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 1rem;
}

/* Confirmation Box */
.confirmation-box {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
}

.confirmation-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.confirmation-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.confirmation-box h5 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.confirmation-box > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.conditions-list {
    text-align: left;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 82, 204, 0.1);
}

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

.condition-item i {
    color: #28a745;
    margin-top: 3px;
}

.condition-item span {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
}

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

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFB800;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.author-avatar i {
    color: var(--text-white);
    font-size: 1.2rem;
}

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   FOCUS SECTIONS (Domotique & Sécurité)
   ============================================ */
.focus-section {
    overflow: hidden;
}

.focus-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.focus-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.focus-image:hover img {
    transform: scale(1.05);
}

.focus-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.focus-badge i {
    font-size: 1.5rem;
}

.focus-badge-security {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

.focus-content {
    padding-left: 40px;
}

.focus-content .section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.focus-content .lead {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.focus-features {
    margin-top: 30px;
}

.focus-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--text-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 82, 204, 0.1);
    transition: var(--transition);
}

.bg-light .focus-feature-item {
    background: var(--bg-light);
    border-color: rgba(0, 82, 204, 0.08);
}

.focus-feature-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.focus-feature-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 25px;
}

.focus-feature-item span {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Flex row reverse for alternating layout */
.flex-lg-row-reverse .focus-content {
    padding-left: 0;
    padding-right: 40px;
}

/* ============================================
   TRUST SECTION (Entreprise Vérifiée)
   ============================================ */
.trust-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.trust-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid rgba(0, 82, 204, 0.1);
    transition: var(--transition);
    height: 100%;
}

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

.trust-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.trust-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.trust-card h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.trust-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
}

.trust-guarantees {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--text-white);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(0, 82, 204, 0.15);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.guarantee-badge:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.guarantee-badge i {
    color: #28a745;
    font-size: 1.1rem;
}

.guarantee-badge:hover i {
    color: var(--text-white);
}

/* ============================================
   INTERVENTION SECTION (Zone de Couverture)
   ============================================ */
.intervention-section {
    background: linear-gradient(135deg, #091E42 0%, #0a2647 50%, #0052CC 100%);
    position: relative;
    overflow: hidden;
}

.intervention-section::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;
}

.intervention-content {
    position: relative;
    z-index: 1;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intervention-content .section-title {
    font-size: 2.2rem;
}

.intervention-zones {
    margin-top: 30px;
}

.zone-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.zone-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.zone-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zone-icon i {
    font-size: 1.3rem;
    color: var(--text-white);
}

.zone-info h5 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.zone-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.intervention-map {
    position: relative;
}

.map-container-home {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.map-container-home iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: var(--text-white);
    padding: 20px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

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

.map-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.map-stat .stat-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   RESPONSIVE - Nouvelles Sections
   ============================================ */
@media (max-width: 991.98px) {
    .focus-content {
        padding-left: 0;
        padding-right: 0;
        margin-top: 40px;
        text-align: center;
    }
    
    .flex-lg-row-reverse .focus-content {
        padding-right: 0;
        margin-top: 40px;
    }
    
    .focus-image img {
        height: 350px;
    }
    
    .focus-features {
        text-align: left;
    }
    
    .focus-content .btn {
        display: inline-flex;
    }
    
    .intervention-content {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .zone-item {
        text-align: left;
    }
    
    .map-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .focus-content .section-title,
    .intervention-content .section-title {
        font-size: 1.8rem;
    }
    
    .focus-image img {
        height: 280px;
    }
    
    .focus-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .focus-badge i {
        font-size: 1.2rem;
    }
    
    .trust-card {
        padding: 30px 20px;
    }
    
    .trust-icon {
        width: 60px;
        height: 60px;
    }
    
    .trust-icon i {
        font-size: 1.5rem;
    }
    
    .trust-number {
        font-size: 1.2rem;
    }
    
    .guarantee-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .map-container-home iframe {
        height: 300px;
    }
    
    .map-overlay {
        padding: 15px 25px;
        gap: 15px;
    }
    
    .map-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .zone-item {
        padding: 15px;
    }
    
    .zone-icon {
        width: 40px;
        height: 40px;
    }
    
    .zone-icon i {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Footer - Design Professionnel Compact */
.footer {
    background: linear-gradient(180deg, #0a1628 0%, #091220 100%);
    padding: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer > .container > .row {
    padding: 45px 0 30px;
}

.footer-logo {
    height: 42px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

.footer-social a:nth-child(1):hover { background: #1877f2; border-color: #1877f2; }
.footer-social a:nth-child(2):hover { background: #0077b5; border-color: #0077b5; }
.footer-social a:nth-child(3):hover { background: #25D366; border-color: #25D366; }
.footer-social a:nth-child(4):hover { background: #0088cc; border-color: #0088cc; }

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    margin-top: 35px;
    /* Pleine largeur */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: calc((100vw - 1140px) / 2);
    padding-right: calc((100vw - 1140px) / 2);
}

@media (max-width: 1200px) {
    .footer-bottom {
        padding-left: calc((100vw - 960px) / 2);
        padding-right: calc((100vw - 960px) / 2);
    }
}

@media (max-width: 992px) {
    .footer-bottom {
        padding-left: calc((100vw - 720px) / 2);
        padding-right: calc((100vw - 720px) / 2);
    }
}

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

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

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

/* Tablette - Footer */
@media (max-width: 991.98px) and (min-width: 768px) {
    .footer > .container > .row {
        padding: 35px 0 25px;
    }
    
    .footer-brand {
        margin-bottom: 25px;
    }
    
    .footer-links h4 {
        margin-bottom: 15px;
    }
    
    .footer-links-grid {
        gap: 0 20px;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--text-white);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* Scroll to Top Button */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

#scrollTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about-section {
    overflow: hidden;
}

/* Portfolio Section */
.portfolio-intro {
    padding-bottom: 30px;
}

/* FAQ Section */
.faq-intro {
    padding-bottom: 30px;
}

/* Contact Section */
.contact-section {
    background: var(--text-white);
}

.contact-info {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.contact-info-icon i {
    font-size: 1.2rem;
    color: var(--text-white);
}

.contact-info-icon.whatsapp {
    background: #25D366;
}

.contact-info-icon.telegram {
    background: #0088cc;
}

.contact-info-icon.location {
    background: #E74C3C;
}

.contact-info-icon.email {
    background: #3498DB;
}

.contact-info-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-info-content a,
.contact-info-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

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

.contact-social h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-social .social-links {
    display: flex;
    gap: 10px;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    background: var(--text-white);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.contact-social .social-links a:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-label span {
    color: #dc3545;
}

.form-control,
.form-select {
    padding: 14px 18px;
    border: 2px solid var(--bg-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    background: var(--text-white);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

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

.form-control.is-invalid {
    border-color: #dc3545;
}

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

.form-check {
    margin-top: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid var(--bg-light);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.form-check-label {
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 5px;
}

.form-check-label a {
    color: var(--primary-color);
}

.form-check-label span {
    color: #dc3545;
}

.contact-form .btn {
    padding: 15px 40px;
    font-size: 1rem;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 2.5rem;
    color: #28a745;
}

.form-success h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-light);
}

/* Quick Contact Section */
.quick-contact {
    background: var(--bg-light);
}

.quick-contact-card {
    display: block;
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

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

.quick-contact-card.whatsapp:hover {
    border-color: #25D366;
}

.quick-contact-card.telegram:hover {
    border-color: #0088cc;
}

.quick-contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.quick-contact-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.quick-contact-card.whatsapp .quick-contact-icon {
    background: #25D366;
}

.quick-contact-card.telegram .quick-contact-icon {
    background: #0088cc;
}

.quick-contact-card:hover .quick-contact-icon {
    transform: scale(1.1);
}

.quick-contact-card h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.quick-contact-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.quick-contact-action {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.quick-contact-action i {
    margin-left: 5px;
    transition: var(--transition);
}

.quick-contact-card:hover .quick-contact-action i {
    transform: translateX(5px);
}

.quick-contact-card.whatsapp .quick-contact-action {
    color: #25D366;
}

.quick-contact-card.telegram .quick-contact-action {
    color: #0088cc;
}

/* FAQ Section */

.faq-categories {
    position: sticky;
    top: 100px;
}

.faq-categories h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.faq-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-category-list li {
    margin-bottom: 10px;
}

.faq-category-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.faq-category-link:hover,
.faq-category-link.active {
    background: var(--text-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-category-link i {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 25px;
}

.faq-contact-box {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    color: var(--text-white);
}

.faq-contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.faq-contact-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.faq-contact-box h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-contact-box p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.faq-contact-box .btn {
    background: var(--text-white);
    color: var(--primary-color);
    border: none;
}

.faq-contact-box .btn:hover {
    background: var(--bg-light);
}

.faq-group {
    margin-bottom: 40px;
}

.faq-group-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
}

.faq-group-title i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

.accordion-item {
    border: 1px solid rgba(0, 82, 204, 0.1);
    border-radius: var(--border-radius) !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--text-white);
    padding: 20px 25px;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 82, 204, 0.05);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 82, 204, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230052CC'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.8;
    background: var(--bg-light);
}

/* Portfolio Section */

.portfolio-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    margin: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.portfolio-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 82, 204, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-actions {
    display: flex;
    gap: 15px;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    transform: translateY(20px);
}

.portfolio-card:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 82, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.portfolio-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.portfolio-item {
    transition: all 0.4s ease;
}

.portfolio-item.hide {
    display: none;
}

/* About Section */

.about-image {
    position: relative;
}

.about-image .main-image {
    box-shadow: var(--shadow-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 25px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content {
    padding-left: 40px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 500;
}

.about-features {
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.about-feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 12px;
}

.about-feature-item span {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Mission Vision Values */
.mvv-section {
    background: var(--bg-light);
}

.mvv-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.mvv-card:hover::before {
    transform: scaleX(1);
}

.mvv-card.featured {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.mvv-card.featured::before {
    display: none;
}

.mvv-card.featured .mvv-icon {
    background: rgba(255, 255, 255, 0.2);
}

.mvv-card.featured h3 {
    color: var(--text-white);
}

.mvv-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.mvv-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.mvv-card.featured .mvv-icon i {
    color: var(--text-white);
}

.mvv-card:hover .mvv-icon {
    transform: rotateY(180deg);
}

.mvv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.mvv-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--text-white);
}

.why-choose-list {
    margin-top: 30px;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-choose-item:hover {
    background: var(--text-white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.why-choose-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.why-choose-icon i {
    font-size: 1.3rem;
    color: var(--text-white);
}

.why-choose-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.why-choose-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.why-choose-image img {
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
}

/* Expertise Section */
.expertise-section {
    background: var(--bg-light);
}

/* Team Section */
.team-section {
    background: var(--text-white);
}

.team-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
}

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

.team-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

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

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 82, 204, 0.9));
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

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

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-content span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Expertise Section */

.expertise-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
    position: relative;
}

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

.expertise-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.expertise-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.expertise-card:hover .expertise-icon {
    background: var(--gradient-primary);
}

.expertise-card:hover .expertise-icon i {
    color: var(--text-white);
}

.expertise-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.expertise-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.expertise-progress {
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.expertise-progress .progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1.5s ease;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.95) 0%, rgba(0, 82, 204, 0.9) 100%),
                url('https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    padding: 180px 0 100px;
    position: relative;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
}

.page-title {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 15px;
    position: relative;
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
}

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

.breadcrumb-item a:hover {
    color: var(--text-white);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Services Intro */
.services-intro {
    padding-bottom: 50px;
}

/* Service Detail Section */
.service-detail {
    overflow: hidden;
}

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

.service-detail-image img {
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.02);
}

.service-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.service-badge i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-detail-content {
    padding-left: 30px;
}

.service-detail-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-detail-content .lead {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-features {
    margin-top: 30px;
}

.feature-box {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--text-white);
    border-radius: 10px;
    border: 1px solid rgba(0, 82, 204, 0.1);
    transition: var(--transition);
}

.bg-light .feature-box {
    background: var(--bg-light);
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.feature-box i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 12px;
    width: 25px;
}

.feature-box span {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Feature-box Responsive - Mobile 2 colonnes */
@media (max-width: 576px) {
    .service-features .row {
        margin: 0 -5px;
    }
    
    .service-features .col-6 {
        padding: 0 5px;
    }
    
    .feature-box {
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    .feature-box i {
        font-size: 1rem;
        margin-right: 8px;
        width: 20px;
    }
    
    .feature-box span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

@media (max-width: 400px) {
    .feature-box {
        padding: 8px 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-box i {
        margin-right: 0;
        margin-bottom: 5px;
        width: auto;
    }
    
    .feature-box span {
        font-size: 0.7rem;
    }
}

/* Process Section */
.process-section {
    background: var(--text-white);
}

.process-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--text-white);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 82, 204, 0.1);
    line-height: 1;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.process-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.process-card:hover .process-icon {
    transform: rotateY(180deg);
}

.process-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.process-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--text-white);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav .nav-link {
        color: var(--secondary-color);
        padding: 12px 15px !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar .btn {
        width: 100%;
        margin-top: 15px;
        margin-left: 0 !important;
    }

    .why-us-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .experience-badge {
        right: 20px;
        bottom: -10px;
    }

    .page-title {
        font-size: 2rem;
    }

    .service-detail-content {
        padding-left: 0;
        margin-top: 50px;
        text-align: center;
    }
    
    .service-detail-content .section-badge {
        display: inline-block;
    }
    
    .service-detail-content h2,
    .service-detail-content p,
    .service-detail-content .lead {
        text-align: center;
    }
    
    .service-detail-content .service-features {
        text-align: left;
    }
    
    .service-detail-content .btn {
        display: inline-flex;
        justify-content: center;
    }

    .flex-lg-row-reverse .service-detail-content {
        margin-top: 50px;
        margin-bottom: 0;
    }

    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-image-badge {
        right: 20px;
        bottom: -10px;
    }

    .why-choose-image {
        margin-top: 40px;
    }

    .faq-categories {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .contact-info {
        margin-bottom: 40px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

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

    .hero-section {
        padding-top: 70px;
    }

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

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

    .hero-stats {
        justify-content: space-between;
        gap: 20px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }

    /* Stats Section 2 colonnes mobile */
    .stats-section .row {
        display: flex;
        flex-wrap: wrap;
    }

    .stats-section .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }

    .stat-box i {
        font-size: 2rem;
    }

    .page-header {
        padding: 130px 0 60px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .service-detail-content h2 {
        font-size: 1.5rem;
    }

    .service-badge {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: -20px;
    }

    .service-badge i {
        font-size: 1.5rem;
    }

    .process-card {
        padding: 25px 20px;
    }

    /* Footer Mobile - Simplifié */
    .footer > .container > .row {
        padding: 30px 0 20px;
    }

    .footer .col-lg-4:not(:first-child) {
        display: none;
    }

    .footer .col-lg-4:first-child {
        width: 100%;
        text-align: center;
    }

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

    .footer-brand p {
        max-width: 100%;
        margin: 15px auto;
        font-size: 0.85rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }

    .footer-bottom-links {
        gap: 10px;
    }

    .footer-bottom-links a {
        font-size: 0.78rem;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    #scrollTop {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Devis responsive */
    .devis-notice {
        flex-direction: column;
        text-align: center;
    }

    .notice-icon {
        margin: 0 auto;
    }

    .notice-list {
        grid-template-columns: 1fr;
    }

    .devis-form-wrapper {
        padding: 25px 20px;
    }

    .form-progress {
        flex-wrap: wrap;
        gap: 15px;
    }

    .progress-step {
        flex: 0 0 calc(50% - 8px);
    }

    .progress-step::before {
        display: none;
    }

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

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

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .service-card {
        padding: 25px 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .mvv-card {
        padding: 30px 20px;
    }

    .expertise-card {
        padding: 25px 20px;
    }

    .team-image {
        height: 250px;
    }

    .portfolio-image {
        height: 200px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-info {
        padding: 25px 20px;
    }
}

/* Selection Style */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Service Detail Pages */
.service-header-domotique {
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.9) 0%, rgba(0, 82, 204, 0.85) 100%),
                url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
}

.service-header-informatique {
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.9) 0%, rgba(0, 82, 204, 0.85) 100%),
                url('https://images.pexels.com/photos/2881229/pexels-photo-2881229.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
}

.service-header-securite {
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.9) 0%, rgba(0, 82, 204, 0.85) 100%),
                url('https://images.pexels.com/photos/430208/pexels-photo-430208.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
}

.service-header-developpement {
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.9) 0%, rgba(0, 82, 204, 0.85) 100%),
                url('https://images.pexels.com/photos/196644/pexels-photo-196644.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
}

.service-header-prestations {
    background: linear-gradient(135deg, rgba(9, 30, 66, 0.9) 0%, rgba(0, 82, 204, 0.85) 100%),
                url('https://images.pexels.com/photos/3183153/pexels-photo-3183153.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
}

.page-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.service-intro-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.service-intro-content h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.service-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

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

.highlight-item i {
    color: #28a745;
    font-size: 1rem;
}

.highlight-item span {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Feature Cards */
.feature-card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 82, 204, 0.1);
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

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

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-light);
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Benefits Section */
.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon i {
    font-size: 1.2rem;
    color: var(--text-white);
}

.benefit-content h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.benefit-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Process Cards Alt */
.process-card-alt {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 82, 204, 0.15);
    margin-bottom: 15px;
}

.process-card-alt h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.process-card-alt p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Other Services Section */
.other-services {
    background: var(--bg-light);
}

.other-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.other-service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.other-service-card h5 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0;
}

/* Responsive for service detail pages */
@media (max-width: 767.98px) {
    .service-highlights {
        grid-template-columns: 1fr;
    }

    .service-intro-content {
        margin-top: 30px;
    }

    .benefit-image {
        margin-top: 30px;
    }
}

/* Tech Grid for Development Page */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
}

@media (max-width: 767.98px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Feature List without marker */
.feature-list li::before {
    content: none;
}

.feature-list li {
    padding-left: 20px;
    position: relative;
}

.feature-list li::after {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Rounded LG class */
.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

/* ============================================
   CORRECTIONS COMPLÈTES V4 - 22/12/2025
   ============================================ */

/* 1. Boutons sans dégradé */
.btn-primary {
    background: #0052CC !important;
    background-image: none !important;
}
.btn-primary:hover {
    background: #003D99 !important;
    background-image: none !important;
}

/* 2. SUPPRIMER le pattern +++ */
.hero-overlay,
.page-header-overlay {
    display: none !important;
}

/* 3. Réduire l'espace en haut */
.hero-section {
    padding-top: 100px !important;
    min-height: auto !important;
}

.page-header {
    padding: 100px 0 50px !important;
}

/* 4. Image Hero - taille optimisée et décalée à droite */
.hero-image-wrapper {
    position: relative;
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    transform: translateX(30px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* 5. Contact - Bouton centré */
.contact-form .btn-primary {
    display: block;
    margin: 0 auto;
}

/* 6. Devis - Bouton Suivant à droite */
.step-buttons {
    justify-content: flex-end !important;
}

/* 7. Équipe - Images portrait */
.team-card .team-image {
    height: 350px !important;
}

.team-card .team-image img {
    object-position: top center !important;
}

/* 8. Avatars témoignages */
.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* 9. Footer icônes - aligner */
.footer-contact ul li {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}

.footer-contact ul li i {
    min-width: 20px;
    text-align: center;
}

/* 10. Filtres réalisations - SANS scroll horizontal */
.portfolio-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
}

.portfolio-filter .filter-btn {
    border-radius: 8px !important;
    background: transparent !important;
    background-image: none !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

.portfolio-filter .filter-btn.active,
.portfolio-filter .filter-btn:hover {
    background: var(--primary-color) !important;
    background-image: none !important;
    color: white !important;
}

/* 11. FAQ bouton visible */
.faq-cta .btn,
.faq-section .btn {
    background: #0052CC !important;
    background-image: none !important;
    color: white !important;
}

.faq-contact-box .btn {
    background: white !important;
    color: #0052CC !important;
    border: none !important;
}

/* 12. Quick contact cards - en ligne */
.quick-contact-row {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.quick-contact-card {
    height: 100%;
}

/* ============================================
   RESPONSIVE TABLETTE (768px - 991px)
   ============================================ */
@media (max-width: 991.98px) {
    /* Menu slide */
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        right: -300px !important;
        width: 280px !important;
        height: 100vh !important;
        background: linear-gradient(180deg, #091E42 0%, #0052CC 100%) !important;
        padding: 80px 30px 30px !important;
        transition: right 0.3s ease !important;
        z-index: 9999 !important;
        display: block !important;
    }
    
    .navbar-collapse.show {
        right: 0 !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
    }
    
    .navbar-nav .nav-link {
        color: white !important;
        padding: 15px 0 !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-collapse .btn-primary {
        margin-top: 20px !important;
        margin-left: 0 !important;
        width: 100%;
    }
    
    /* Hero image tablette */
    .hero-image {
        max-width: 350px;
    }
    
    /* Hero boutons en ligne */
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
    }
    
    .hero-buttons .btn {
        width: auto !important;
    }
    
    /* Filtres tablette */
    .portfolio-filter .filter-btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    /* Quick contact tablette */
    .quick-contact-card h4 {
        font-size: 1rem !important;
    }
    
    .quick-contact-card p {
        font-size: 0.85rem !important;
    }
}

/* ============================================
   RESPONSIVE MOBILE (< 768px)
   ============================================ */
@media (max-width: 767.98px) {
    /* Espace en haut */
    .hero-section {
        padding-top: 90px !important;
    }
    
    .page-header {
        padding: 80px 0 30px !important;
    }
    
    /* Cacher le scroll indicator sur mobile */
    .hero-scroll {
        display: none !important;
    }
    
    /* Hero centré */
    .hero-content,
    .hero-section .col-lg-6 {
        text-align: center !important;
    }
    
    .hero-badge {
        display: inline-block !important;
        margin: 0 auto 15px !important;
    }
    
    .hero-title,
    .hero-subtitle {
        text-align: center !important;
    }
    
    /* Boutons en colonne sur mobile */
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* Services 2 colonnes */
    .services-section .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .services-section .col-lg-4,
    .services-section .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 5px !important;
    }
    
    .service-card {
        padding: 15px 10px !important;
        text-align: center !important;
        height: 100%;
    }
    
    .service-card .service-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 10px !important;
    }
    
    .service-card .service-icon i {
        font-size: 1.3rem !important;
    }
    
    .service-card h4 {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    .service-card .service-list {
        text-align: left !important;
        padding-left: 0 !important;
        list-style: none !important;
    }
    
    .service-card .service-list li {
        font-size: 0.7rem !important;
        padding: 3px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }
    
    .service-card .btn {
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
        margin-top: 10px !important;
    }
    
    /* Témoignages 2 colonnes mobile */
    .testimonials-row .col-lg-3,
    .testimonials-row .col-md-3,
    .testimonials-row .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 5px !important;
    }
    
    .testimonial-card {
        padding: 12px 10px !important;
        height: 100%;
    }
    
    .testimonial-rating i {
        font-size: 0.65rem !important;
    }
    
    .testimonial-text {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
        margin: 8px 0 !important;
    }
    
    .author-avatar {
        width: 30px !important;
        height: 30px !important;
    }
    
    .author-info h5 {
        font-size: 0.7rem !important;
    }
    
    .author-info span {
        font-size: 0.6rem !important;
    }
    
    /* Réalisations 2 colonnes */
    .portfolio-grid .col-lg-4,
    .portfolio-grid .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 5px !important;
    }
    
    /* Filtres mobile - WRAP pas scroll */
    .portfolio-filter {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        gap: 6px !important;
    }
    
    .portfolio-filter .filter-btn {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
        flex-shrink: 1 !important;
    }
    
    /* Quick Contact mobile - 1 LIGNE */
    .quick-contact-row {
        flex-wrap: nowrap !important;
    }
    
    .quick-contact-row .col-4 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding: 3px !important;
    }
    
    .quick-contact-card {
        padding: 15px 8px !important;
    }
    
    .quick-contact-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 10px !important;
    }
    
    .quick-contact-icon i {
        font-size: 1.2rem !important;
    }
    
    .quick-contact-card h4 {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    }
    
    .quick-contact-card p {
        font-size: 0.6rem !important;
        margin-bottom: 8px !important;
        display: none;
    }
    
    .quick-contact-action {
        font-size: 0.6rem !important;
    }
    
    .quick-contact-action i {
        display: none;
    }
    
    /* Footer mobile */
    .footer .row {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center !important;
    }
    
    .footer-contact ul {
        display: inline-block;
        text-align: left;
    }
    
    .footer-bottom {
        text-align: center !important;
    }
}

@media (max-width: 400px) {
    .service-card h4 {
        font-size: 0.75rem !important;
    }
    
    .service-card .service-list li {
        font-size: 0.6rem !important;
    }
    
    .testimonial-text {
        font-size: 0.6rem !important;
    }
    
    .portfolio-filter .filter-btn {
        padding: 4px 8px !important;
        font-size: 0.6rem !important;
    }
    
    .quick-contact-card h4 {
        font-size: 0.65rem !important;
    }
    
    .quick-contact-action {
        font-size: 0.55rem !important;
    }
}

/* ============================================
   PAGES LÉGALES - STYLES
   ============================================ */

.legal-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.legal-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-intro .lead {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.legal-section h2 i {
    color: var(--primary-color);
}

.legal-section h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 25px 0 15px;
}

.legal-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 0;
    color: #333;
}

.info-box i {
    color: var(--primary-color);
}

/* Responsive legal pages */
@media (max-width: 767.98px) {
    .legal-content {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
    
    .legal-intro .lead {
        font-size: 1rem;
    }
    
    .info-box {
        padding: 20px 15px;
    }
}

/* Animation de secours pour le preloader */
@keyframes hidePreloader {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

#preloader {
    animation: hidePreloader 0.5s ease forwards;
    animation-delay: 1.5s;
}

/* ============================================
   FALLBACK - Afficher le contenu si AOS ne charge pas
   ============================================ */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Réactiver les animations AOS quand la lib est chargée */
.aos-animate[data-aos] {
    opacity: 1 !important;
}

/* ============================================
   IMAGE TÉLÉPHONE HERO - PC uniquement
   ============================================ */
.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image {
    flex: 1;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Supprimé - plus de hero-phone-image */

/* Ajustement sur écrans très larges */
@media (min-width: 1400px) {
    .hero-image {
        max-width: 450px;
        transform: translateX(40px);
    }
}

/* Ajustement sur écrans larges */
@media (max-width: 1399.98px) {
    .hero-image {
        max-width: 400px;
        transform: translateX(20px);
    }
}

@media (max-width: 1199.98px) {
    .hero-image {
        max-width: 350px;
        transform: translateX(10px);
    }
}

/* ============================================
   CORRECTIONS TABLETTE - Hero centré
   ============================================ */
@media (max-width: 991.98px) {
    /* Cacher le scroll indicator sur tablette */
    .hero-scroll {
        display: none !important;
    }
    
    /* Hero centré sur tablette */
    .hero-content,
    .hero-section .col-lg-6 {
        text-align: center !important;
    }
    
    .hero-badge {
        display: inline-block !important;
        margin: 0 auto 15px !important;
    }
    
    .hero-title,
    .hero-subtitle {
        text-align: center !important;
    }
    
    /* Boutons centrés sur tablette */
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .hero-buttons .btn {
        width: auto !important;
    }
}

/* =============================================
   TESTIMONIALS - Style Skillize (Carousel Infini)
   ============================================= */
.testimonials-section-new {
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.testimonials-header .section-badge {
    display: inline-block;
    background: rgba(0, 82, 204, 0.1);
    color: #0052CC;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.testimonials-header h2 {
    color: #111827;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.testimonials-header p {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-track-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.testimonials-track-wrapper::before,
.testimonials-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.testimonials-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.testimonials-track.track-left {
    animation: scrollLeft 40s linear infinite;
}

.testimonials-track.track-right {
    animation: scrollRight 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.testimonial-card-new {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    min-width: 350px;
    max-width: 350px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card-new p {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author-new {
    border-top: 1px solid #e5e7eb;
    padding-top: 15px;
}

.testimonial-author-new strong {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-author-new span {
    color: #6b7280;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section-new {
        padding: 60px 0;
    }
    
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card-new {
        min-width: 300px;
        max-width: 300px;
        padding: 22px;
    }
    
    .testimonial-card-new p {
        font-size: 14px;
    }
    
    .testimonials-track-wrapper::before,
    .testimonials-track-wrapper::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-card-new {
        min-width: 280px;
        max-width: 280px;
        padding: 20px;
    }
}

/* =============================================
   MAP SECTION - Carte Google Maps
   ============================================= */
.map-section {
    padding: 0 0 80px;
    background: #f8fafc;
}

.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Bouton overlay sur la carte */
.map-overlay-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
}

.map-overlay-btn:hover {
    background: #003d99;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
    .map-overlay-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 300px;
    }
    .map-overlay-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* =============================================
   MAP SECTION FULLWIDTH - Carte pleine largeur
   ============================================= */
.map-section-fullwidth {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.map-header {
    padding: 50px 0 30px;
}

.map-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
    letter-spacing: 1px;
}

.map-header h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.btn-itineraire {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.btn-itineraire:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: var(--text-white);
}

.btn-itineraire i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .map-header {
        padding: 40px 0 25px;
    }
    
    .map-header h3 {
        font-size: 1.3rem;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    .btn-itineraire {
        bottom: 25px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .map-header h3 {
        font-size: 1.1rem;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .btn-itineraire {
        bottom: 20px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 8px;
    }
}
