/* Variables CSS */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #2d3748;
    --light-color: #f7fafc;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-gradient-start: #667eea;
    --bg-gradient-end: #764ba2;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Couleurs services */
    --web-color: #667eea;
    --hosting-color: #f093fb;
    --mobile-color: #764ba2;
    --dev-color: #48bb78;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Animations CSS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

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

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

/* Classes d'animation avec intersection observer */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    animation: slideInLeft 1.2s ease-out;
}

.slide-in-right {
    animation: slideInRight 1.2s ease-out;
}

.zoom-in {
    animation: zoomIn 1.2s ease-out;
}

.bounce-in {
    animation: bounceIn 1.5s ease-out;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    margin: 20px auto;
    max-width: 1200px;
    width: calc(100% - 40px);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    margin: 10px auto;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.navbar-nav {
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 0 !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    transform: translateX(-50%);
}

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

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

.btn-contact-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: var(--transition) !important;
}

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

/* Hamburger menu */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Dropdown menu multi-niveaux */
.mega-dropdown {
    position: relative;
}

.mega-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin-top: 0.5rem;
    min-width: 250px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item {
    position: relative;
    padding-right: 40px;
}

.dropdown-submenu > .dropdown-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dropdown-submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0.5rem;
    display: none;
    min-width: 220px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.dropdown-submenu:hover > .submenu {
    display: block;
}

.dropdown-item {
    color: var(--text-dark) !important;
    padding: 8px 20px;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.dropdown-header {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(240, 147, 251, 0.3);
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 100px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 70px;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

/* Contrôles du carousel améliorés */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: auto 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    opacity: 1;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z'/%3e%3c/svg%3e");
}

/* Section À propos */
.about-section {
    background: #ffffff;
    position: relative;
    padding: 100px 0;
}

.section-wave-top,
.section-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-wave-top {
    top: 0;
}

.section-wave-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.section-wave-top svg,
.section-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 70px;
}

.section-wave-top .shape-fill {
    fill: #808080;
}

.section-wave-bottom .shape-fill {
    fill: #808080;
}

.about-image-container {
    position: relative;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.1;
}

.about-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

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

.commitment-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition);
}

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

.commitment-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.commitment-item span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Section Services */
.services-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 100px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.services-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

/* Couleurs spécifiques pour chaque service */
.service-card-web:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(102, 126, 234, 0.02));
}

.service-card-hosting:hover {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.05), rgba(240, 147, 251, 0.02));
}

.service-card-mobile:hover {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.05), rgba(118, 75, 162, 0.02));
}

.service-card-dev:hover {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05), rgba(72, 187, 120, 0.02));
}

.service-card-maintenance:hover {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.05), rgba(108, 117, 125, 0.02));
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card-web .service-icon {
    background: linear-gradient(135deg, var(--web-color), rgba(102, 126, 234, 0.8));
}

.service-card-hosting .service-icon {
    background: linear-gradient(135deg, var(--hosting-color), rgba(240, 147, 251, 0.8));
}

.service-card-mobile .service-icon {
    background: linear-gradient(135deg, var(--mobile-color), rgba(118, 75, 162, 0.8));
}

.service-card-dev .service-icon {
    background: linear-gradient(135deg, var(--dev-color), rgba(72, 187, 120, 0.8));
}

.service-card-maintenance .service-icon {
    background: linear-gradient(135deg, #6c757d, rgba(108, 117, 125, 0.8));
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Partenaires */
.partners-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.partners-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-scroll {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    flex-shrink: 0;
    padding: 8px;
    overflow: hidden;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

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

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

/* Section Devis */
.quote-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
}

.quote-section .section-title {
    color: white;
}

.quote-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.3);
}

.quote-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.quote-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-floating > .form-control {
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-floating > label {
    color: var(--text-muted);
    font-weight: 500;
}

.form-select {
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--border-radius);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.btn-outline-success {
    border: 2px solid #25d366;
    color: #25d366;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-success:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 70px;
}

.footer-wave .shape-fill {
    fill: #667eea;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 20px;
    color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.newsletter {
    margin-top: 1rem;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.newsletter .input-group .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px 0 0 50px;
}

.newsletter .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter .btn {
    border-radius: 0 50px 50px 0;
    border: 1px solid var(--primary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

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

.footer-credits {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

/* Page styles génériques */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 140px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
}

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

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-content {
    padding: 80px 0;
    background: white;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .navbar {
        max-width: 95%;
        width: 95%;
    }
}

@media (max-width: 991px) {
    .navbar {
        margin: 15px auto;
        width: calc(100% - 30px);
    }
    
    .navbar-nav {
        gap: 1rem;
    }
    
    .hero-content {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-section,
    .services-section,
    .quote-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Dropdown mobile */
    .mega-dropdown .mega-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }

    .dropdown-submenu .submenu {
        position: static;
        float: none;
        width: auto;
        margin-left: 1rem;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar {
        margin: 10px auto;
        width: 95%;
        max-width: 95%;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
        background: rgba(255,255,255,0.98) !important;
    }
    .navbar-collapse {
        display: none;
    }
    .navbar-collapse.show {
        display: flex !important;
        position: static;
        background: rgba(255,255,255,0.98);
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
        margin-top: 1rem;
        padding: 2rem 1rem;
        width: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
    }
    .btn-contact-nav {
        margin-top: 1.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-section,
    .services-section,
    .quote-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .commitments-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-card {
        padding: 2rem;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: auto 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .quote-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 280px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: auto 0.5rem;
    }
}

/* Améliorations d'accessibilité */
.btn:focus,
.nav-link:focus,
.social-link:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animations avec intersection observer */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero-wave,
    .section-wave-top,
    .section-wave-bottom,
    .footer-wave {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .hero-section,
    .quote-section {
        background: white !important;
        color: black !important;
    }
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  margin: 0 0.3em;
  text-decoration: none;
}