/* ============================================
   CSS PRINCIPAL - BS PROFILS
   Thème inspiré de Ciri (LA-Studio)
   Couleurs: Bleu foncé (#0a2b3c), Gris (#f5f7fa), Blanc (#ffffff)
   Police: 'Inter', sans-serif pour le texte, 'SEMAkin' pour les titres
   ============================================ */

/* ----- IMPORT POLICES ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ----- POLICE SEMAkin POUR LES TITRES ----- */
@font-face {
    font-family: 'SEMAkin';
    src: url('/fonts/SEMAkin.otf') format('opentype'),
         url('/fonts/SEMAkin.ttf') format('truetype'),
         url('/fonts/SEMAkin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SEMAkin';
    src: url('/fonts/SEMAkin-Bold.otf') format('opentype'),
         url('/fonts/SEMAkin-Bold.ttf') format('truetype'),
         url('/fonts/SEMAkin-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ----- VARIABLES ----- */
:root {
    --primary-dark: #0a2b3c;
    --primary-blue: #1e4a6d;
    --accent-blue: #2979a8;
    --light-bg: #f5f7fa;
    --pure-white: #ffffff;
    --dark-text: #1e2a33;
    --gray-text: #5a6a7a;
    --border-light: #e0e7ed;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 30px rgba(10,43,60,0.1);
    --transition: all 0.3s ease;
}

/* ----- RESET & BASE ----- */
/* ----- STYLES DES TITRES AVEC SEMAkin ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'SEMAkin', 'Inter', sans-serif !important;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Forcer sur toutes les classes de titres */
[class*="title"] h1,
[class*="title"] h2,
[class*="title"] h3,
[class*="header"] h1,
[class*="header"] h2,
[class*="Header"] h1,
h1:not(.btn),
h2:not(.btn),
h3:not(.btn) {
    font-family: 'SEMAkin', 'Inter', sans-serif !important;
}

/* Classes spécifiques */
.section-header h2,
.page-header h1,
.hero h1,
.hero-content h1,
.about-content h2,
.service-card h3,
.project-overlay h3,
.contact-info h3,
.contact-form h3,
.footer-col h4,
.slide-content h3,
.section-title h2 {
    font-family: 'SEMAkin', 'Inter', sans-serif !important;
}
.section-title h2 {
    font-family: 'SEMAkin', 'Inter', sans-serif !important;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Tailles spécifiques avec SEMAkin */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

/* Titres sur fond sombre */
.hero h1,
.hero-content h1,
.page-header h1,
.contact-info h3 {
    color: var(--pure-white);
}

/* Titres dans les overlays */
.project-overlay h3,
.slide-content h3 {
    color: var(--pure-white);
}

p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
}

/* ----- BOUTONS ----- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--pure-white);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--pure-white);
}

.btn-light {
    background-color: var(--pure-white);
    color: var(--primary-dark);
    border: 2px solid var(--pure-white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--pure-white);
}

/* ----- HEADER & NAVIGATION ----- */
header {
    background-color: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'SEMAkin', 'Inter', sans-serif;
}

.logo span {
    color: var(--primary-blue);
    font-weight: 300;
    font-family: 'SEMAkin', 'Inter', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

/* ----- MENU MOBILE TOGGLE ----- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 3px 0;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ----- HERO SECTION ----- */
.hero {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,43,60,0.9) 0%, rgba(10,43,60,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.hero .btn {
    margin: 0 0.5rem;
}

/* ----- SERVICES CARDS (inspiré Ciri) ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-blue);
    transition: height 0.3s ease;
}

.service-card:hover:before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ----- ABOUT SECTION ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    height: 450px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-image:after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-blue);
    border-radius: 8px;
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'SEMAkin', 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

/* ----- PROJECTS GALLERY ----- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,43,60,0.95), rgba(10,43,60,0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.project-overlay p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-tag {
    background: var(--accent-blue);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* ----- CONTACT PAGE ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 0rem;
}

.contact-info {
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.2rem;
    font-family: 'Inter', sans-serif;
}

.contact-text span {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* ----- FORMULAIRE ----- */
.contact-form {
    padding: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(41,121,168,0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    font-family: 'Inter', sans-serif;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* ----- FOOTER ----- */
footer {
    background: var(--primary-dark);
    color: var(--pure-white);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

/* ----- ANIMATIONS ----- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- PAGE HEADER (pour pages internes) ----- */
.page-header {
    background-size: cover;
    background-position: center;
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,43,60,0.95) 0%, rgba(10,43,60,0.8) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* ----- SWIPER PREMIUM SECTION - NOS SOLUTIONS ----- */
.swiper-section {
    padding: 6rem 0;
    background-color: var(--pure-white);
    overflow: hidden;
}

.swiper-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-blue);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: var(--pure-white);
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    flex-direction: row;
    min-height: 500px;
    background: var(--pure-white);
    border-radius: 24px;
    overflow: hidden;
}

.slide-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.swiper-slide-active .slide-image img {
    transform: scale(1.05);
}

.slide-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,43,60,0.1) 0%, rgba(10,43,60,0) 100%);
    pointer-events: none;
}

.slide-content {
    flex: 0 0 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--pure-white);
}

.slide-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.slide-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--light-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.feature-tag:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
    border: 1px solid var(--primary-dark);
    font-family: 'Inter', sans-serif;
}

.slide-btn i {
    transition: transform 0.3s ease;
}

.slide-btn:hover {
    background: transparent;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10,43,60,0.15);
}

.slide-btn:hover i {
    transform: translateX(5px);
}

.swiper-pagination {
    position: relative;
    margin-top: 2rem;
    bottom: auto !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-light);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary-blue);
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--pure-white);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    color: var(--primary-dark);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.swiper-button-next {
    right: -25px;
}

.swiper-button-prev {
    left: -25px;
}

.swiper-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.swiper-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FORCER SEMAkin SUR TOUS LES TITRES ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'SEMAkin', 'Inter', sans-serif !important;
}

/* Forcer sur tous les éléments qui doivent utiliser SEMAkin */
.hero h1,
.page-header h1,
.section-header h2,
.about-content h2,
.service-card h3,
.project-overlay h3,
.contact-info h3,
.contact-form h3,
.footer-col h4,
.slide-content h3,
.section-title h2,
.stat-number,
.logo,
.logo span {
    font-family: 'SEMAkin', 'Inter', sans-serif !important;
}
/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--pure-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero {
        height: 60vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .swiper-slide {
        flex-direction: column;
        min-height: auto;
    }
    
    .slide-image {
        flex: 0 0 250px;
        width: 100%;
    }
    
    .slide-content {
        flex: 1;
        padding: 2rem;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
    }
    
    .slide-features {
        gap: 0.5rem;
    }
    
    .feature-tag {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .swiper-pagination {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-btn {
        padding: 0.8rem 2rem;
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .about-image {
        height: 350px;
        order: -1; /* L'image passe au-dessus sur mobile */
    }
}