/* ========== IMPORTS & FONTS ========== */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(webfonts/raleway.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Parisienne';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(webfonts/parisienne.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========== VARIABLES CSS ========== */
:root {
    --primary: #011b3c;
    --secondary: #97d3e6;
    --accent: #3a7fc8;
    --dark: #2f3542;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Raleway", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 30px var(--shadow);
}

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

.logo {
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* ========== BURGER MENU ========== */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.burger span {
    width: 35px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
    margin: 2px;
}

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

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

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

/* ========== MOBILE SIDEBAR ========== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #eaeaea 0%, #ddd 100%);
    z-index: 2000;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.close-btn {
    background: none;
    border: none;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    font-weight: 700;
    font-size: 3.5em;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav {
    padding: 2rem 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav a {
    display: block;
    padding: 1.5rem 2rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 2.5rem;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #28a745;
    transition: height 0.3s ease;
}

.sidebar-nav a:hover::before {
    height: 60%;
}

.mobile-sidebar-animation {
    position: absolute;
    top: 0;
    right: -14em;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.mobile-sidebar-animation img {
    width: 184px;
    height: auto;
    z-index: 5;
    opacity: 0.9;
    animation: droneGentleHover 10s ease-in-out infinite;
    position: relative;
    top: 54px;
    left: -42px;
    rotate: -22deg;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: calc(75vh - 120px);
    overflow: hidden;
    margin-top: 120px;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: slideUp 1s ease-out;
    color: black;
    font-size: 1.5em;
}

.slide-content h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(0,0,0,1);
    color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding-bottom: 5px;
    display: none;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ========== SLIDE PROMO ELEMENTS ========== */
.slide-box {
    margin-top: 15%;
    background: rgba(70, 130, 180, 0.5);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.promo-titre {
    position: absolute;
    left: 15%;
    top: 10%;
    background: rgba(70, 130, 180, 0.5);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.promo-title {
    font-size: 4rem;
    font-weight: bold;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.promo-subtitle {
    font-size: 5rem;
    font-weight: bold;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    opacity: 0.9;
}

.price-badge {
    position: absolute;
    top: 10%;
    right: 10%;
    background: #FF4757;
    color: white;
    padding: 20px 25px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
    animation: pulse 2s ease-in-out infinite;
    transform: rotate(-15deg);
    z-index: 3;
}

.price-badge::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: #FF4757;
    border-radius: inherit;
    z-index: -1;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.price-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.price-amount {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.price-detail {
    position: absolute;
    bottom: 20%;
    right: 15%;
    background: rgba(70, 130, 180, 0.5);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideInRight 1s ease-out 0.5s both;
}

.cta-promo {
    display: inline-block;
    background: linear-gradient(45deg, #FF4757, #FF6B7A);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 25%;
    z-index: 3;
}

.cta-promo:hover {
    box-shadow: 0 12px 35px rgba(255, 71, 87, 0.4);
    background: linear-gradient(45deg, #FF6B7A, #FF4757);
}

/* ========== HERO LEGACY ========== */
.hero.cleaning-active .cleaning-shine {
    animation: shineEffect 4s ease-in-out 3s forwards;
}

.hero .cleaning-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%
    );
    animation: shineEffect 8s ease-in-out infinite;
    animation-delay: 6s;
    z-index: 2;
}

.hero-content {
    padding-top: 5rem;
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    animation: heroFadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 300;
    color: black;
}

.cta-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(254, 202, 87, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(254, 202, 87, 0.4);
}

/* ========== SECTIONS COMMUNES ========== */
section {
    padding: 5rem 0;
}

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

.section-header h1 {
    font-style: italic;
    margin-bottom: 1em;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== À PROPOS ========== */
.about {
    position: relative;
    background: var(--light);
    padding-bottom: 0 !important;
}

.about p {
    font-family: Parisienne;
    font-size: 1.9em;
    line-height: 1.4em;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* ========== SERVICES ========== */
.services {
    background: var(--light);
    padding: 5rem 0;
    position: relative;
}

.services .section-subtitle {
    margin-bottom: 4em;
}

.services h4 {
    width: 100%;
    display: inline-block;
    margin-bottom: 1em;
    font-size: 1.3em;
    font-style: italic;
}

.service-card-large {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 8px 25px var(--shadow);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-card-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card-large:hover {
    box-shadow: 0 20px 50px var(--shadow);
    transform: translateY(-5px);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.service-header h3 {
    font-size: 2.2rem;
    color: var(--dark);
    font-weight: 600;
}

.service-content {
    line-height: 1.8;
}

.service-image {
    width: 480px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.service-image-right .service-image {
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.service-image-left .service-image {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.service-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.service-text {
    text-align: justify;
}

.service-text p {
    margin-bottom: 1.1rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.5em;
}

.service-benefits {
    list-style: none;
    margin-top: 2rem;
    clear: both;
}

.service-benefits li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: var(--light);
    border-left: 4px solid var(--accent);
    border-radius: 5px;
    font-size: 1rem;
}

.service-benefits i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.service-card-large:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1) rotate(5deg);
}

.service-action {
    margin-top: 2rem;
    text-align: center;
    clear: both;
}

.btn-service-contact {
    background: linear-gradient(45deg, #ffe039, #ffcb00);
    color: black;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.btn-service-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

.btn-service-contact:active {
    transform: translateY(-1px);
}

.btn-service-contact i {
    margin-right: 0.5rem;
}

/* ========== SERVICES - MOBILE COLLAPSE ========== */
.service-preview-container {
    position: relative;
}

.service-preview {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    max-height: calc(1.4em * 8);
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
    text-align: justify;
}

.service-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.4em;
    background: linear-gradient(transparent, var(--white));
    pointer-events: none;
}

.service-toggle {
	display: block;
	background: white;
	color: #7d7d7d;
	border: 1px solid #c6c6c6;
	padding: 0.8rem 1.5rem;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	margin: 1rem auto;
	transition: all 0.3s ease;
	width: 100%;
	max-width: 200px;
	text-align: center;
}

/* ========== ZONE D'INTERVENTION ========== */
.zone {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.zone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.zone-map {
    background: url("images/carte_idf.jpg") no-repeat;
    background-size: cover;
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

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

/* ========== CONTACT ========== */
.contact {
    background: var(--light);
    overflow: hidden;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.3em;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1rem;
    width: 30px;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input.valid {
    border-color: var(--secondary);
}

.form-group input.invalid {
    border-color: #ff6b6b;
}

.btn-submit {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

/* ========== ANIMATIONS CONTACT ========== */
.contact-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.sliding-image {
    position: absolute;
    left: -100%;
    opacity: 0.3;
    transition: left 1.5s ease-in-out, opacity 0.8s ease-out;
}

.sliding-image.slide-in {
    left: 0;
    top: 140px;
    opacity: 0.9;
    animation: droneRealistic 10s ease-in-out infinite;
    animation-delay: 0.1s;
    rotate: 10deg;
}

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

.contact .container {
    z-index: 3;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* ========== SCROLL PROGRESS ========== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ========== PRICE HIGHLIGHT ========== */
.price-highlight {
    box-shadow: 0 10px 30px rgba(254, 202, 87, 0.3);
    transform: translateY(-5px);
    border: 2px solid rgba(254, 202, 87, 0.5);
}

/* ========== CURSOR EFFECTS ========== */
.cursor-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.cursor-bubble {
    position: absolute;
    background: rgba(148,200,255,0.7);
    border-radius: 50%;
    pointer-events: none;
    animation: cursorBubbleFloat 2s ease-out forwards;
}

.cursor-bubble.small {
    width: 8px;
    height: 8px;
}

.cursor-bubble.medium {
    width: 15px;
    height: 15px;
}

.cursor-bubble.large {
    width: 30px;
    height: 30px;
    background: rgba(148,200,255,0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ========== OVERLAYS ========== */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-overlay.active {
    display: block;
}

/* ========== FADE IN ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ========== PARALLAX EFFECTS ========== */
.hero.parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* ========== NAV MENU IMPROVEMENTS ========== */
.nav-menu a {
    display: block;
    padding: 0.5rem 0;
}

.service-icon {
    transition: all 0.3s ease;
}

/* ========== KEYFRAMES ANIMATIONS ========== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    50% { transform: rotate(-15deg) scale(1.2); }
}

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

@keyframes cursorBubbleFloat {
    0% {
        transform: scale(0) translate(0, 0);
        opacity: 1;
    }
    50% {
        transform: scale(1) translate(var(--random-x, 0), -10px);
        opacity: 0.5;
    }
    100% {
        transform: scale(0) translate(var(--random-x, 0), -50px);
        opacity: 0;
    }
}

@keyframes droneRealistic {
    0% {
        transform: translateY(-50%) translateX(0) rotate(0deg) rotateY(0deg);
    }
    8% {
        transform: translateY(-52%) translateX(6px) rotate(3deg) rotateY(2deg);
    }
    16% {
        transform: translateY(-48%) translateX(-4px) rotate(-2deg) rotateY(-1deg);
    }
    24% {
        transform: translateY(-51%) translateX(9px) rotate(4deg) rotateY(3deg);
    }
    32% {
        transform: translateY(-49%) translateX(-7px) rotate(-0.8deg) rotateY(-2deg);
    }
    40% {
        transform: translateY(-52%) translateX(5px) rotate(0.4deg) rotateY(1deg);
    }
    48% {
        transform: translateY(-48%) translateX(-3px) rotate(-0.3deg) rotateY(-1.5deg);
    }
    56% {
        transform: translateY(-50%) translateX(8px) rotate(0.9deg) rotateY(2.5deg);
    }
    64% {
        transform: translateY(-49%) translateX(-6px) rotate(-0.6deg) rotateY(-1deg);
    }
    72% {
        transform: translateY(-51%) translateX(4px) rotate(0.3deg) rotateY(1.5deg);
    }
    80% {
        transform: translateY(-48%) translateX(-2px) rotate(-0.2deg) rotateY(-0.5deg);
    }
    88% {
        transform: translateY(-50%) translateX(7px) rotate(0.8deg) rotateY(2deg);
    }
    96% {
        transform: translateY(-49%) translateX(-1px) rotate(-0.1deg) rotateY(-0.3deg);
    }
    100% {
        transform: translateY(-50%) translateX(0) rotate(0deg) rotateY(0deg);
    }
}

@keyframes droneGentleHover {
    0% { transform: translate(0, 0) rotate(0deg); }
    16% { transform: translate(15px, -8px) rotate(0.5deg); }
    33% { transform: translate(-10px, 12px) rotate(-0.3deg); }
    50% { transform: translate(20px, -5px) rotate(0.7deg); }
    66% { transform: translate(-8px, 15px) rotate(-0.4deg); }
    83% { transform: translate(12px, -10px) rotate(0.2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* ========== TABLET - 768px ========== */
@media (max-width: 768px) {
    /* Navigation */
    .burger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        z-index: 999;
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .nav-container {
        padding: 0.5rem 0;
    }
    
    .mobile-sidebar {
        width: 280px;
    }
    
    .sidebar-nav a {
        font-size: 2rem;
        padding: 1rem 1rem;
        color: black;
    }
    
    .sidebar-nav a:hover {
        padding-left: 2rem;
    }

    /* Hero & Slider */
    .hero-slider {
        margin-top: 85px;height:calc(100vw * 1.5);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .slide-mob {
	 display:none;
    }
    .slide-desk {
	 display:initial;
    }

 
    .slider-nav {
        padding: 0 0.2rem;
    }
    
    .slide-content h2 {
        line-height: 1.2em;
        font-size: 1em;
    }
    
    .slide-content p {
        line-height: 1.2em;
        font-size: 0.7em;
    }
    
    .slide-box {
        width: 75%;
        margin: 2em auto 0 auto;
        padding: 10px;
    }
    
    .slide-box p {
        margin-top: 2em;
    }

    /* Promo Elements */
    .promo-titre {
        left: 5%;
        top: 3%;
        padding: 15px 25px;
    }
    
    .promo-title {
        font-size: 2.3rem;
    }
    
    .promo-subtitle {
        font-size: 3rem;
        line-height: 0.9em;
    }
    
    .price-badge {
        top: 5%;
        right: 5%;
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .price-detail {
        bottom: 6%;
        right: 1%;
        font-size: 0.9rem;
    }
    
    .cta-promo {
        left: 50%;
        bottom: 25%;
        width: 70%;
        font-size: 1rem;
    }

    /* Sections */
    .section-header h1 {
        font-style: italic;
        margin-bottom: 2em;
        font-size: 1.5em;
        line-height: 1.1em;
    }
    
    .section-title {
        font-size: 2.6rem;
        font-weight: bold;
        line-height: 1em;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }

    /* About */
    .about {
        padding-top: 2em;
    }
    
    .about-content,
    .zone-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services */
    .service-card-large {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .service-header {
        flex-direction: row;
        text-align: left;
        align-items: center;
        margin-bottom: 1rem;
    }

    .service-icon {
        margin-right: 1rem;
        margin-bottom: 0;
        font-size: 2.5rem;
    }

    .service-header h3 {
        font-size: 1.8rem;
        margin: 0;
        line-height: 1em;
    }    

    .service-image {
        float: none !important;
        width: 100%;
        height: 250px;
        margin: 0 0 1.5rem 0;
        display: block;
    }
    
    .service-text {
        text-align: left;
    }
    
    .service-text p {
        margin-bottom: 1.1rem;
        font-size: 1rem;
        color: #333;
        line-height: 1.3em;
    }
    
    .services h4 {
	font-size: 1.1em;
	line-height: 1.1em;
    }

    .btn-service-contact {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

/* Services Mobile Collapse */
.service-toggle {
    display: block;
}

.service-preview-container {
    margin-bottom: 0;
}

.service-preview::after {
    background: linear-gradient(transparent, var(--white));
}

.service-content-collapsible {
    max-height: 0;
    opacity: 0;
}

.service-content-collapsible.expanded {
    max-height:initial;
    opacity: 1;
    transition: max-height 0.5s ease-out, opacity 0.4s ease;
}
    /* Zone */
    .zone-map {
        background: url("images/carte_idf.jpg") no-repeat center center;
        background-size: cover;
    }

    /* Contact */
    .sliding-image.slide-in {
        left: 0;
        top: 55px;
        width: 130px;
    }
    
    .contact-item {
        font-size: 1.2em;
    }
    
    .contact-item i {
        font-size: 2rem;
    }
    
    .contact-form {
        font-size: 1.3em;
    }
    
    .btn-submit {
        font-size: 1.3rem;
    }
    
    .contact .section-title {
        margin-top: 1em;
    }
}

/* ========== MOBILE - 480px ========== */
@media (max-width: 480px) {
    /* Navigation */
    .logo img {
        transition: height 0.3s ease, transform 0.3s ease;
        height: 60px;
    }
    
    .navbar.scrolled .logo img {
        height: 40px;
    }
    
    .mobile-sidebar {
        width: 100%;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Services */
    .service-card-large {
        padding: 1.5rem;
    }
    
    .service-header h3 {
        font-size: 2rem;
    }
    
    .service-image {
        height: 200px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Contact */
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    .slide-mob {display:initial;}
    .slide-desk {display:none;}
}

/* ========== LARGE SCREENS - 1200px+ ========== */
@media (min-width: 1200px) {
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }
}

/* Reviews */
.reviews h2 {text-align:center;}
.reviews-container{max-width:1200px;margin:0 auto}
.average-rating{text-align:center;margin-bottom:25px}
.average-rating h2{margin:0;font-size:1.6em;color:#222}
.average-rating .stars{font-size:1.8em;color:#f5a623}
.average-rating .score{font-size:1em;color:#555}
.slider{position:relative;}
.slider-overflow {overflow:hidden;}
.reviews-track{display:flex;transition:transform .4s ease-in-out}
.review{flex:0 0 20%;box-sizing:border-box;padding:10px}
.review-inner{border:1px solid #ddd;border-radius:8px;padding:15px;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,0.05);height:100%;display:flex;flex-direction:column;justify-content:space-between}
.review-header{display:flex;align-items:center;margin-bottom:8px}
.review-header .avatar{width:40px;height:40px;border-radius:50%;margin-right:10px}
.review-meta{display:flex;flex-direction:column}
.review-meta .author{font-weight:bold;color:#333;text-decoration:none}
.review-meta .author:hover{text-decoration:underline}
.review-meta .date{font-size:.85em;color:#666}
.stars{color:#f5a623;font-size:1.2em;margin:5px 0}
.review-text{font-size:.9em;color:#444;line-height:1.4;flex-grow:1}
.arrow{position:absolute;top:55%;transform:translateY(-50%);background:rgba(255,255,255,0.9);border:1px solid #ccc;border-radius:50%;width:35px;height:35px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;box-shadow:0 2px 4px rgba(0,0,0,0.2)}
.arrow.left{left:-40px}
.arrow.right{right:40px}
@media(max-width:768px){
	.arrow {top:120%}
	.review{flex:0 0 100%}
	.arrow.left {left:0;}
	.arrow.right {right:-10px;}
}

