/* =====================================================
   SEO MONKEY STYLE - NEXWEB ADAPTATION
   ===================================================== */

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

:root {
    /* SEO Monkey Color Palette */
    --gradient-start: #6ED4DC;
    --gradient-end: #B6CC4D;
    --noir: #2F2F2F;
    --gris-fonce: #3a3a3a;
    --gris: #6B7280;
    --vert-fonce: #5E6D58;
    --beige: #E9F5F3;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    
    /* Gradient */
    --gradient-main: linear-gradient(90deg, #6ED4DC -2.66%, #B6CC4D 102.3%);
    
    /* Typography */
    --font-primary: 'DM Sans', sans-serif;
    
    /* Shadows */
    --box-shadow: 0px 0px 9px 0px rgba(44, 91, 44, 0.09);
    
    /* Spacing */
    --wide-size: 1340px;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--noir);
    background-color: #E9F5F3;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(110, 212, 220, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(182, 204, 77, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(110, 212, 220, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

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

ul {
    list-style: none;
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-inline {
    background: linear-gradient(90deg, #6ED4DC 27.34%, #B6CC4D 102.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.has-gris-color {
    color: var(--noir);
}

/* ===== CONTAINER ===== */
.container-wide {
    max-width: var(--wide-size);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(233, 245, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(110, 212, 220, 0.1);
}

.header-inner {
    max-width: var(--wide-size);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}

.navbar-brand .logo-text {
    font-size: clamp(16px, 1.5vw, 24px);
    color: var(--gris-fonce);
}

.navbar-brand .logo-text strong {
    font-weight: 800;
}

.navbar-brand .logo-text mark {
    background: transparent;
    color: var(--gris);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.menu-item {
    position: relative;
}

.menu-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--noir);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.menu-link:hover {
    color: var(--gradient-start);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn-member {
    font-size: 13px;
    font-weight: 600;
    color: var(--noir);
    padding: 8px 16px;
    border: none;
}

.header-btn-member:hover {
    color: var(--gradient-start);
}

.header-btn-contact {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
    background: var(--gradient-main);
    position: relative;
    transition: all 0.2s ease-in-out;
}

.header-btn-contact:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--noir);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    padding: 100px 0 40px;
    position: relative;
}

.hero-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-title {
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    color: var(--noir);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
}

.hero-tags li {
    background: var(--white);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: clamp(14px, 1.1vw, 18px);
    font-weight: 700;
    box-shadow: var(--box-shadow);
    color: var(--noir);
}

.hero-description {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-mission {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.hero-image {
    flex: 0 0 auto;
}

.hero-image .mascotte {
    max-width: 480px;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* ===== BUTTONS ===== */
.btn-fill {
    display: inline-block;
    background: var(--gradient-main);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.btn-fill::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 9px;
    border: 2px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

.btn-fill:hover {
    background: transparent;
    color: var(--noir);
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9px;
    font-weight: 400;
    font-size: 15px;
    color: var(--noir);
    position: relative;
    transition: all 0.2s ease-in-out;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 9px;
    border: 2px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

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

.btn-fill-light {
    display: inline-block;
    background: var(--white);
    color: var(--noir);
    padding: 16px 40px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-fill-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

/* ===== DÉCOUVRIR ===== */
.decouvrir-row {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.bannernext {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--vert-fonce);
    font-size: 14px;
    padding: 10px;
    transition: all 0.3s ease;
}

.bannernext:hover {
    transform: translateY(3px);
}

/* =====================================================
   CLIENTS LOGOS
   ===================================================== */
.section-clients {
    padding: 40px 0 50px;
    text-align: center;
}

.clients-title {
    font-size: 15px;
    color: var(--gris);
    margin-bottom: 30px;
}

.clients-title strong {
    color: var(--noir);
}

.clients-logos-bar {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 25px 40px;
    box-shadow: var(--box-shadow);
}

.clients-logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.client-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-dot {
    color: var(--gris);
    font-size: 20px;
    opacity: 0.4;
}

/* =====================================================
   STICKY NAV
   ===================================================== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--box-shadow);
    border-radius: 12px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 30px;
}

.sticky-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.sticky-nav-logo .logo-text {
    font-size: 18px;
    color: var(--gris-fonce);
    white-space: nowrap;
}

.sticky-nav-logo .logo-text strong {
    font-weight: 800;
}

.sticky-nav-logo .logo-text mark {
    background: transparent;
    color: var(--gris);
}

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

.sticky-nav-menu li a {
    font-size: 13px;
    font-weight: 500;
    color: var(--noir);
    padding: 8px 12px;
    transition: color 0.2s;
}

.sticky-nav-menu li a:hover {
    color: var(--gradient-start);
}

.sticky-sep {
    color: var(--border-color);
    font-size: 13px;
    user-select: none;
}

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

.sticky-member {
    font-size: 13px;
    color: var(--noir);
    padding: 6px 14px;
    white-space: nowrap;
}

.sticky-contact {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
    background: var(--gradient-main);
    white-space: nowrap;
    transition: all 0.2s;
}

.sticky-contact:hover {
    opacity: 0.9;
}

/* =====================================================
   ARCHITECTES SECTION
   ===================================================== */
.section-architectes {
    padding: 80px 0 60px;
}

.architectes-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.architectes-content {
    flex: 1;
    max-width: 550px;
}

.surtitre {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    margin-bottom: 16px;
}

.surtitre-center {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.architectes-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--noir);
    margin-bottom: 24px;
}

.architectes-desc {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.7;
}

.architectes-visual {
    flex: 0 0 auto;
}

.team-circle {
    position: relative;
    width: 350px;
    height: 350px;
}

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 212, 220, 0.15) 0%, rgba(182, 204, 77, 0.1) 50%, transparent 70%);
    border: 2px solid rgba(110, 212, 220, 0.2);
}

.circle-avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #f0f0f0;
}

.circle-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av1 { top: 10px; left: 50%; transform: translateX(-50%); }
.av2 { top: 50%; right: 10px; transform: translateY(-50%); }
.av3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.av4 { top: 50%; left: 10px; transform: translateY(-50%); width: 90px; height: 90px; background: transparent; border: none; box-shadow: none; }

/* =====================================================
   TECHNOLOGIES SECTION
   ===================================================== */
.section-technologies {
    padding: 40px 0 60px;
    text-align: center;
}

.tech-subtitle {
    font-size: 15px;
    color: var(--gris);
    margin-bottom: 30px;
}

.tech-logos-bar {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 25px 40px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.tech-logo:hover {
    opacity: 1;
}

.tech-logo span {
    font-size: 11px;
    color: var(--gris);
    font-weight: 500;
}

.js-logo {
    width: 40px;
    height: 40px;
    background: #1B1F23;
    color: #F7DF1E;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* =====================================================
   EXPERTISES SECTION
   ===================================================== */
.section-expertises {
    padding: 80px 0;
}

.section-title-center {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 35px 22px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(110, 212, 220, 0.15);
}

.expertise-icon-image {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.expertise-icon-image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.expertise-card:hover .expertise-icon-image {
    transform: scale(1.15);
}

.expertise-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 14px;
    color: var(--gris);
    line-height: 1.6;
}

/* =====================================================
   CTA DARK SECTION
   ===================================================== */
.section-cta-dark {
    padding: 100px 0;
    background: #01383B;
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    max-width: 1340px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
}

.section-cta-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(110, 212, 220, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(182, 204, 77, 0.08) 0%, transparent 50%);
}

.section-cta-dark > * {
    position: relative;
    z-index: 1;
}

.surtitre-light {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-center-light {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    text-align: center;
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #01383B;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
    max-width: var(--wide-size);
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

.footer-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-title mark {
    background: transparent;
    color: var(--gris);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

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

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

.social-link:hover {
    background: var(--gradient-start);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-contact i {
    color: var(--gradient-start);
    margin-top: 3px;
}

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

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: var(--wide-size);
    margin: 0 auto;
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

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

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
    .hero-container { gap: 40px; }
    .hero-image .mascotte { max-width: 380px; }
    .sticky-nav { margin: 10px 20px; }
    .architectes-grid { gap: 50px; }
}

@media (max-width: 1024px) {
    .expertises-grid { grid-template-columns: repeat(2, 1fr); }
    .sticky-nav-menu { display: none; }
    .sticky-nav-inner { justify-content: space-between; }
    .navbar-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .architectes-grid { flex-direction: column; text-align: center; }
    .architectes-content { max-width: 100%; }
    .team-circle { margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-section { padding: 80px 0 30px; }
    .hero-container { 
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }
    .hero-content { max-width: 100%; }
    .hero-tags { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-image .mascotte { max-width: 280px; }
    .hero-title { font-size: 32px; }
    
    .expertises-grid { grid-template-columns: 1fr; }
    
    .clients-logos-bar { padding: 20px; }
    .clients-logos-track { gap: 15px; }
    .client-logo { height: 25px; }
    
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    
    .tech-logos-bar { gap: 25px; padding: 20px; }
    
    .section-cta-dark { border-radius: 0; margin: 0; }
    
    .sticky-nav { 
        border-radius: 0; 
        margin: 0;
        padding: 0 16px;
    }
    
    .team-circle { width: 280px; height: 280px; }
    .circle-bg { width: 220px; height: 220px; }
    .circle-avatar { width: 60px; height: 60px; }
    .av4 { width: 70px; height: 70px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-fill, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
    .hero-tags { flex-direction: column; gap: 8px; }
    .hero-tags li { text-align: center; }
}

/* =====================================================
   MEGA MENU (SEO Monkey style)
   ===================================================== */
.has-megamenu {
    position: static;
}

.has-megamenu > .menu-link::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 1.5px solid var(--gris);
    border-bottom: 1.5px solid var(--gris);
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 2px;
    transition: transform 0.2s;
}

.has-megamenu.megamenu-open > .menu-link::after {
    transform: rotate(-135deg);
}

.megamenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(1, 56, 59, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: megamenuFadeIn 0.2s ease;
}

@keyframes megamenuFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Only show via JS class, NOT on hover */
.has-megamenu.megamenu-open > .megamenu {
    display: block !important;
}

.megamenu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(249px, 1fr));
    gap: 12px;
    padding: 28px 40px 12px;
    max-width: var(--wide-size);
    margin: 0 auto;
}

.megamenu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 10px 14px;
    transition: background 0.2s;
    text-decoration: none;
    color: white;
}

.megamenu-item:hover {
    background: linear-gradient(90deg, rgba(110, 213, 220, 0.2) -2.66%, rgba(183, 204, 77, 0.18) 102.3%);
}

.megamenu-icone {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/assets/images/Subtract3.svg') no-repeat center center;
    background-size: cover;
    transform: scale(1.1);
}

.megamenu-icone img {
    width: 30px;
    height: 33px;
    object-fit: contain;
}

.megamenu-content {
    flex: 1;
}

.megamenu-nom {
    font-weight: 700;
    font-size: 15px;
    color: white;
    margin-bottom: 2px;
}

.megamenu-extrait {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

.decouvrir-megamenu {
    padding: 14px 40px 20px;
    max-width: var(--wide-size);
    margin: 0 auto;
}

.decouvrir-megamenu a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.decouvrir-megamenu a::after {
    content: '→';
}

.decouvrir-megamenu a:hover {
    color: white;
}

/* Split mega menu (with sidebar) */
.megamenu-split {
    display: flex;
    max-width: var(--wide-size);
    margin: 0 auto;
}

.megamenu-col-left {
    flex: 2;
}

.megamenu-col-right {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-left: 1px solid rgba(255,255,255,0.08);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.megamenu-sidebar-surtitre {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.megamenu-sidebar-title {
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.megamenu-sidebar-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin-bottom: 16px;
}

.megamenu-sidebar-label {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.megamenu-sidebar-form input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 7px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 14px;
    font-family: var(--font-primary);
    box-shadow: var(--box-shadow);
    transition: background 0.2s;
}

.megamenu-sidebar-form input[type="text"]::placeholder {
    color: rgba(255,255,255,0.3);
}

.megamenu-sidebar-form input[type="text"]:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

/* Responsive mega menu */
@media (max-width: 1024px) {
    .megamenu, .has-megamenu.megamenu-open > .megamenu {
        display: none !important;
    }
    /* Mobile submenu */
    .has-megamenu.mobile-submenu-open > .megamenu {
        display: block !important;
        position: relative;
        top: 0;
        border-radius: 10px;
        margin: 8px 0;
        box-shadow: none;
        animation: none;
    }
    .megamenu-split {
        flex-direction: column;
    }
    .megamenu-col-right {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .megamenu-items {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 8px;
    }
}

/* =====================================================
   MOBILE MENU
   ===================================================== */
@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(1, 56, 59, 0.98);
        backdrop-filter: blur(20px);
        z-index: 9999;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 40px;
        overflow-y: auto;
        gap: 0;
    }

    .navbar-menu.mobile-open {
        display: flex;
    }

    .navbar-menu .menu-item {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .navbar-menu .menu-link {
        color: white;
        font-size: 16px;
        font-weight: 600;
        padding: 16px 0;
        justify-content: space-between;
    }

    .navbar-menu .menu-link::after {
        border-color: rgba(255,255,255,0.5) !important;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10001;
        position: relative;
    }

    .mobile-menu-toggle.active span {
        background: var(--gradient-start);
    }

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

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .navbar-actions {
        display: none;
    }

    /* Show actions inside mobile menu */
    .navbar-menu.mobile-open ~ .navbar-actions {
        display: none;
    }
}

/* Hamburger always visible on tablet/mobile */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* =====================================================
   SUB-PAGES STYLES
   ===================================================== */

/* Page Hero */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #E9F5F3 0%, rgba(233,245,243,0.4) 100%);
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(110,212,220,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 60%, rgba(182,204,77,0.06) 0%, transparent 50%);
}
.page-hero > * { position: relative; z-index: 1; }
.breadcrumb {
    font-size: 13px;
    color: var(--gris);
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--gris); }
.breadcrumb a:hover { color: var(--noir); }
.bc-sep { margin: 0 6px; opacity: 0.5; }
.bc-current { color: var(--noir); font-weight: 500; }
.page-hero-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.page-hero-subtitle {
    font-size: 17px;
    color: var(--gris);
    line-height: 1.7;
    max-width: 700px;
}

/* Content sections */
.page-section {
    padding: 80px 0;
}
.page-section.alt {
    background: rgba(255,255,255,0.5);
}
.page-section-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.page-section-desc {
    font-size: 16px;
    color: var(--gris);
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Service cards grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.svc-card {
    background: rgba(255,255,255,0.7);
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(110,212,220,0.12); }
.svc-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6ED4DC, #B6CC4D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.svc-icon i { color: white; font-size: 22px; }
.svc-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--noir);
}
.svc-card p {
    font-size: 14px;
    color: var(--gris);
    line-height: 1.6;
}

/* Steps / Process */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
}
.step-block {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.step-num {
    width: 52px; height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: white;
}
.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.step-content p {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.6;
}

/* Two columns layout */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-cols.reverse { direction: rtl; }
.two-cols.reverse > * { direction: ltr; }
.two-cols-text h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.two-cols-text p {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 12px;
}
.two-cols-visual {
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    box-shadow: var(--box-shadow);
}
.visual-placeholder {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110,212,220,0.2) 0%, rgba(182,204,77,0.15) 50%, transparent 70%);
    border: 2px solid rgba(110,212,220,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.visual-placeholder i {
    font-size: 60px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features list */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--noir);
}
.feature-item i {
    color: var(--gradient-start);
    margin-top: 3px;
    min-width: 18px;
}

/* Pricing / Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.plan-card {
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
    position: relative;
}
.plan-card.popular {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-main);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.plan-card.popular::after {
    content: 'Populaire';
    position: absolute;
    top: -12px; right: 20px;
    background: var(--gradient-main);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.plan-price {
    font-size: 36px; font-weight: 800; margin-bottom: 4px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-price span { font-size: 14px; font-weight: 400; }
.plan-desc { font-size: 14px; color: var(--gris); margin-bottom: 24px; }
.plan-features { list-style: none; padding: 0; margin-bottom: 28px; }
.plan-features li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.plan-features li::before {
    content: '✓';
    color: var(--gradient-start);
    font-weight: 700;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}
.faq-question:hover { background: rgba(110,212,220,0.05); }
.faq-question i { transition: transform 0.3s; color: var(--gris); font-size: 12px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--gris);
    line-height: 1.7;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-member {
    text-align: center;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
}
.team-member:hover { transform: translateY(-6px); }
.team-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #6ED4DC, #B6CC4D);
}
.team-member h4 { font-size: 16px; margin-bottom: 4px; }
.team-member p { font-size: 13px; color: var(--gris); }

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.portfolio-card {
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
}
.portfolio-card:hover { transform: translateY(-6px); }
.portfolio-thumb {
    height: 200px;
    background: linear-gradient(135deg, rgba(110,212,220,0.15), rgba(182,204,77,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-thumb i {
    font-size: 48px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.portfolio-info { padding: 20px; }
.portfolio-info .tag-pill {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.portfolio-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.portfolio-info p { font-size: 13px; color: var(--gris); line-height: 1.5; }

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-thumb {
    height: 180px;
    background: linear-gradient(135deg, rgba(110,212,220,0.12), rgba(182,204,77,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-thumb i {
    font-size: 36px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-info { padding: 20px; }
.blog-info .date { font-size: 12px; color: var(--gris); margin-bottom: 6px; }
.blog-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-info p { font-size: 13px; color: var(--gris); line-height: 1.5; }

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.7);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}
.stat-num {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.stat-label { font-size: 14px; color: var(--gris); }

/* Responsive sub-pages */
@media (max-width: 1024px) {
    .svc-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .two-cols { grid-template-columns: 1fr; gap: 30px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 120px 0 40px; }
    .svc-grid, .plans-grid, .team-grid { grid-template-columns: 1fr; }
    .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .step-block { flex-direction: column; align-items: center; text-align: center; }
}
