/* ===================================================
   ADB CENTER LOGISPLAN — MASTER STYLESHEET
   Premium Consulting Firm — Agadir, Morocco
   =================================================== */

/* --- CUSTOM PROPERTIES --- */
:root {
    --navy: #113b44;
    --navy-deep: #0a2a2f;
    --blue: #1a5560;
    --blue-light: #2a7080;
    --gold: #3eb5b0;
    --gold-light: #5eccc8;
    --gold-dark: #2a9490;
    --gray-light: #f4f8f8;
    --gray-mid: #e4eeee;
    --gray-text: #8d979f;
    --white: #ffffff;
    --text-dark: #113b44;
    --text-body: #3d5a60;
    --shadow-sm: 0 2px 8px rgba(14,46,46,0.08);
    --shadow-md: 0 8px 32px rgba(14,46,46,0.12);
    --shadow-lg: 0 20px 60px rgba(14,46,46,0.18);
    --shadow-xl: 0 30px 80px rgba(14,46,46,0.25);
    --shadow-gold: 0 8px 32px rgba(62,181,176,0.25);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-max: 1240px;
    --container-pad: clamp(1.25rem, 5vw, 3rem);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

p { line-height: 1.75; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }

img, svg { display: block; }

/* --- LAYOUT --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(62, 181, 176, 0.1);
    border: 1px solid rgba(62, 181, 176, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-tag.light {
    background: rgba(62, 181, 176, 0.15);
    border-color: rgba(62, 181, 176, 0.4);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-title.light {
    color: var(--white);
}

.title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-text);
    max-width: 580px;
    margin: 1.2rem auto 0;
}

.gold-text { color: var(--gold); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg { transform: translateX(4px); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy-deep);
    box-shadow: 0 4px 20px rgba(62, 181, 176, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(62, 181, 176, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* --- GLASS MORPHISM CARDS --- */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
}

/* ===================================================
   FLOATING WHATSAPP BUTTON
   =================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: var(--transition);
    animation: waPulse 2.5s infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65);
    animation: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.75rem 0 0.8rem;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 38, 38, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0 0.6rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(62, 181, 176, 0.15);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    max-width: 238px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px rgba(62, 181, 176, 0.5));
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(62, 181, 176, 0.4));
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.03em;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 0.9rem;
    right: 0.9rem;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deep) !important;
    padding: 0.55rem 1.3rem;
    box-shadow: 0 3px 12px rgba(62, 181, 176, 0.4);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 181, 176, 0.55) !important;
    color: var(--navy-deep) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 12px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--blue) 100%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.55;
    filter: brightness(0.7) saturate(1.05);
    pointer-events: none;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

/* Animated particles */
.hero-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(62, 181, 176, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(37, 96, 96, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(14, 46, 46, 0.3) 0%, transparent 70%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 26, 48, 0.1) 60%,
        rgba(15, 26, 48, 0.6) 100%
    );
    pointer-events: none;
}

.hero-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.geo-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--container-pad);
    max-width: 900px;
    padding-top: 180px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid rgba(62, 181, 176, 0.35);
    background: rgba(62, 181, 176, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 1.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .gold-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.desktop-break { display: inline; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--gold);
    display: inline;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    animation: scrollBounce 2s infinite;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.9; }
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(40px);
    transition-delay: var(--delay, 0s);
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ===================================================
   EXPERTISE INTRO SECTION
   =================================================== */
.expertise-intro {
    padding: 6rem 0;
    background: var(--gray-light);
    position: relative;
}

.expertise-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-mid);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transition-delay: var(--delay, 0s);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(62, 181, 176, 0.2);
}

.expertise-card:hover::before { transform: scaleX(1); }

.card-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.card-icon-wrap.featured {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 8px 24px rgba(14, 46, 46, 0.3);
}

.card-icon-wrap.featured .card-icon { color: var(--white); }

.expertise-card:hover .card-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 8px 24px rgba(14, 46, 46, 0.25);
}

.expertise-card:hover .card-icon { color: var(--white); }

.card-icon {
    width: 36px;
    height: 36px;
    color: var(--blue);
}

.expertise-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.expertise-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.65;
}

.card-accent-line {
    width: 30px;
    height: 2px;
    background: var(--gray-mid);
    border-radius: 1px;
    margin: 1.2rem auto 0;
    transition: var(--transition);
}

.card-accent-line.featured {
    background: var(--gold);
}

.expertise-card:hover .card-accent-line {
    background: var(--gold);
    width: 50px;
}

/* ===================================================
   CABINET SECTION
   =================================================== */
.cabinet {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.cabinet-bg-pattern {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.cabinet-bg-pattern svg {
    width: 100%;
    height: 100%;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.cabinet-content .section-tag { margin-bottom: 0.75rem; }
.cabinet-content .section-title { text-align: left; margin-bottom: 0.75rem; }
.cabinet-content .title-line { margin: 0 0 1.75rem; }

.cabinet-intro {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cabinet-values { display: flex; flex-direction: column; gap: 1.25rem; }

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    background: var(--gray-light);
    border: 1px solid var(--gray-mid);
    transition: var(--transition);
}

.value-item:hover {
    background: var(--white);
    border-color: rgba(62, 181, 176, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.value-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--gold);
    background: rgba(62, 181, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.value-icon svg { width: 100%; height: 100%; }

.value-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.value-text p {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.6;
}

/* Cabinet Visual */
.cabinet-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabinet-card-main {
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(62, 181, 176, 0.15);
}

.cabinet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(62, 181, 176, 0.1);
    border: 1px solid rgba(62, 181, 176, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.cabinet-badge svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.cabinet-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cabinet-stat {
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.cabinet-stat:hover { transform: scale(1.03); }

.cs-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.cs-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cabinet-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(62, 181, 176, 0.05);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--gold);
}

.tagline-line {
    width: 3px;
    height: 40px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
    display: none;
}

.cabinet-tagline span {
    font-style: italic;
    font-size: 0.87rem;
    color: var(--text-body);
    line-height: 1.6;
}

.cabinet-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--gray-text);
    font-family: var(--font-heading);
    font-weight: 500;
}

.cabinet-location svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

/* Decorative Elements */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-1 {
    width: auto;
    max-width: 360px;
    height: 200px;
    border: 2px solid rgba(62, 181, 176, 0.12);
    top: -50px;
    right: -40px;
    animation: rotateSlow 20s linear infinite;
}

.deco-2 {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(62, 181, 176, 0.08);
    bottom: -30px;
    left: -20px;
    animation: rotateSlow 15s linear infinite reverse;
}

.deco-line {
    position: absolute;
    pointer-events: none;
}

.deco-l1 {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================================
   SERVICES SECTION
   =================================================== */
.services {
    padding: 6rem 0;
    background: var(--gray-light);
    position: relative;
}

.services-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 5% 50%, rgba(37, 96, 96, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 95% 20%, rgba(62, 181, 176, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-mid);
    transition: var(--transition);
    cursor: pointer;
    transition-delay: var(--delay, 0s);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before { opacity: 1; }

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number,
.service-card:hover .service-link { color: var(--white); }

.service-card:hover .service-list li { color: rgba(255, 255, 255, 0.85); }
.service-card:hover .service-list svg { fill: var(--gold); }
.service-card:hover .service-icon { color: var(--gold); }

.featured-service {
    border-color: rgba(62, 181, 176, 0.3);
    box-shadow: var(--shadow-md);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-deep);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    z-index: 1;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-mid);
    line-height: 1;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-number { color: rgba(255, 255, 255, 0.15); }

.service-icon {
    width: 48px;
    height: 90px;
    color: var(--blue);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-body);
    transition: var(--transition);
}

.service-list svg {
    width: 8px;
    height: 8px;
    color: var(--gold);
    fill: var(--gold);
    flex-shrink: 0;
    transition: var(--transition);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-link:hover svg { transform: translateX(4px); }
.service-card:hover .service-link { color: var(--gold); }

.service-glow {
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: auto;
    max-width: 360px;
    height: 200px;
    background: radial-gradient(circle, rgba(62, 181, 176, 0.12) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition);
    transform: scale(0);
}

.service-card:hover .service-glow { transform: scale(1); }

/* ===================================================
   SECTEURS SECTION
   =================================================== */
.secteurs {
    padding: 6rem 0;
    background: var(--white);
}

.secteurs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.secteur-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: var(--transition);
}

.secteur-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.secteur-card.tourisme {
    background:
        linear-gradient(160deg, rgba(26,58,92,0.5) 0%, rgba(13,45,74,0.7) 100%),
        url('https://images.unsplash.com/photo-1489749798305-4fea3ae63d43?auto=format&fit=crop&w=1400&q=70') center/cover no-repeat;
    background-color: #0d2d4a;
}

.secteur-card.industrie {
    background:
        linear-gradient(160deg, rgba(26,26,58,0.55) 0%, rgba(13,13,42,0.8) 100%),
        url('https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?auto=format&fit=crop&w=1400&q=70') center/cover no-repeat;
}

.secteur-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%
    );
    z-index: 1;
    transition: var(--transition);
}

.secteur-card:hover .secteur-bg-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.35) 60%,
        transparent 100%
    );
}

.secteur-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.secteur-pattern svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.secteur-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.secteur-icon {
    width: 52px;
    height: 90px;
    background: rgba(62, 181, 176, 0.15);
    border: 1px solid rgba(62, 181, 176, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding: 10px;
    transition: var(--transition);
    position: absolute;
    top: 2.5rem;
}

.secteur-icon svg { width: 100%; height: 100%; }

.secteur-card:hover .secteur-icon {
    background: var(--gold);
    color: var(--navy-deep);
    box-shadow: var(--shadow-gold);
}

.secteur-tag {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    margin-top: 80px;
}

.secteur-content h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.secteur-content p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.secteur-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.secteur-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.secteur-item svg {
    width: 10px;
    height: 10px;
    color: var(--gold);
}

.secteur-item:hover {
    background: rgba(62, 181, 176, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

/* ===================================================
   EXPERTISE / PROFIL SECTION
   =================================================== */
.expertise {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.profile-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.profile-card {
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid rgba(62, 181, 176, 0.15);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-mid);
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(62, 181, 176, 0.4);
    animation: rotateSlow 12s linear infinite;
}

.profile-name {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.profile-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.profile-location svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.profile-quote {
    background: rgba(62, 181, 176, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.quote-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 2px;
}

.profile-quote p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.75;
    margin: 0;
}

.profile-skills { margin-bottom: 2rem; }

.skills-title {
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.skill-bar-group { display: flex; flex-direction: column; gap: 1rem; }

.skill-bar-item {}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.skill-bar-header span {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-body);
}

.skill-pct {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

.skill-bar-track {
    height: 6px;
    background: var(--gray-mid);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy), var(--blue), var(--gold));
    border-radius: 3px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
    background: rgba(37, 96, 96, 0.08);
    border: 1px solid rgba(37, 96, 96, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.03em;
    transition: var(--transition-fast);
    cursor: default;
}

.tag:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ===================================================
   PROJETS SECTION
   =================================================== */
.projets {
    padding: 6rem 0;
    background: var(--gray-light);
}

.projets-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-text);
    background: var(--white);
    border: 2px solid var(--gray-mid);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.projet-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 340px;
    cursor: pointer;
    transition: var(--transition);
    transition-delay: var(--delay, 0s);
    box-shadow: var(--shadow-sm);
}

.projet-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.projet-visual {
    position: absolute;
    inset: 0;
}

.projet-bg {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

.projet-card:hover .projet-bg { transform: scale(1.06); }

.projet-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.projet-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.projet-cat {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(62, 181, 176, 0.15);
    border: 1px solid rgba(62, 181, 176, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.projet-cat.industrie {
    color: #7dd3fc;
    background: rgba(125, 211, 252, 0.15);
    border-color: rgba(125, 211, 252, 0.3);
}

.projet-overlay h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.projet-overlay p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projet-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.projet-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.projet-meta svg {
    width: 12px;
    height: 12px;
}

.projet-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.projet-tags span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

/* Hide filter targets */
.projet-card.hidden {
    display: none;
}

/* ===================================================
   MÉTHODOLOGIE SECTION
   =================================================== */
.methodologie {
    padding: 6rem 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gray-mid) 10%, var(--gray-mid) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
    animation: timelineProgress 3s ease-in-out infinite;
}

@keyframes timelineProgress {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 3rem);
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 3rem);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0.75rem;
    z-index: 2;
}

.marker-number {
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold);
    box-shadow: 0 4px 16px rgba(14, 46, 46, 0.3);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover .marker-number {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(62, 181, 176, 0.4);
}

.marker-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(62, 181, 176, 0.2);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--gray-mid);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 360px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(62, 181, 176, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 1rem;
    background: rgba(62, 181, 176, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 8px;
}

.timeline-icon svg { width: 100%; height: 100%; }

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.timeline-tags span {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--blue);
    background: rgba(37, 96, 96, 0.08);
    border: 1px solid rgba(37, 96, 96, 0.12);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--blue) 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-bg svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.contact .section-header { position: relative; z-index: 1; }
.contact .title-line { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info-header h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-info-header p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.contact-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(62, 181, 176, 0.2);
}

.cd-icon {
    width: 38px;
    height: 38px;
    background: rgba(62, 181, 176, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    padding: 8px;
}

.cd-icon svg { width: 100%; height: 100%; }

.cd-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.cd-text span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.whatsapp-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    width: fit-content;
}

.whatsapp-contact-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.whatsapp-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.map-container {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.map-container iframe { display: block; filter: grayscale(20%) brightness(0.95); }

.map-full {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(62,181,176,0.15);
    border-bottom: 1px solid rgba(62,181,176,0.15);
    box-shadow: 0 12px 40px rgba(14,46,46,0.18);
}

.map-full iframe {
    width: 100%;
    height: 420px;
    display: block;
    filter: grayscale(20%) brightness(0.95);
}

@media (max-width: 768px) {
    .map-full iframe { height: 300px; }
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--gray-light);
    border: 2px solid var(--gray-mid);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231a2744' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 18px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 96, 96, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0b5b5;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(14, 46, 46, 0.3);
    letter-spacing: 0.03em;
    width: 100%;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    box-shadow: 0 8px 32px rgba(14, 46, 46, 0.45);
}

.btn-submit:hover svg { transform: translateX(3px) rotate(-15deg); }

.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #065f46;
}

.form-success svg {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
}

.form-success strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.form-success p {
    font-size: 0.88rem;
    margin: 0;
    opacity: 0.8;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    background: var(--navy-deep);
}

.footer-top {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand .footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    max-width: 196px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
    transform: translateY(-3px);
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-col a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links-col a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links-col a:hover::before { opacity: 1; }

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ===================================================
   RESPONSIVE — TABLET (max 1024px)
   =================================================== */
@media (max-width: 1024px) {
    .cabinet-grid { grid-template-columns: 1fr; gap: 3rem; }
    .cabinet-visual { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .secteurs-grid { grid-template-columns: 1fr; }
    .secteur-card { min-height: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .map-container { display: none; }
}

/* ===================================================
   RESPONSIVE — MOBILE (max 768px)
   =================================================== */
@media (max-width: 768px) {
    html { scroll-padding-top: 70px; }

    /* Nav Mobile */
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 32, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 3rem;
        gap: 0.25rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(62, 181, 176, 0.15);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        font-size: 1rem;
        padding: 0.85rem 1.25rem;
        width: 100%;
        border-radius: var(--border-radius-sm);
    }

    .nav-link::after { display: none; }

    .nav-link:hover, .nav-link.active {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }

    /* Hero */
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    .desktop-break { display: none; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }

    /* Expertise cards */
    .expertise-cards { grid-template-columns: 1fr; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Projets */
    .projets-grid { grid-template-columns: 1fr; }
    .projet-card { height: 300px; }

    /* Timeline */
    .timeline-line { left: 24px; }
    .timeline-item,
    .timeline-item.right {
        padding: 0 0 2.5rem 4.5rem;
        justify-content: flex-start;
    }
    .timeline-marker { left: 0; }
    .timeline-content { max-width: 100%; }

    /* Contact form */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 2rem 1.5rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }

    /* WhatsApp float */
    .whatsapp-float { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 90px; }
    .whatsapp-float svg { width: 24px; height: 24px; }

    /* Section padding */
    .expertise-intro,
    .cabinet,
    .services,
    .secteurs,
    .expertise,
    .projets,
    .methodologie,
    .contact { padding: 4rem 0; }

    .section-header { margin-bottom: 2.5rem; }
}

/* ===================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   =================================================== */
@media (max-width: 480px) {
    .hero-content { padding-top: 80px; }
    .hero-badge { font-size: 0.62rem; }
    .hero-title { font-size: 1.7rem; }
    .hero-stats { padding: 1.25rem; }
    .stat-number { font-size: 1.6rem; }
    .expertise-intro, .cabinet, .services, .secteurs,
    .expertise, .projets, .methodologie, .contact { padding: 3rem 0; }
    .profile-card { padding: 1.75rem; }
    .profile-header { flex-direction: column; text-align: center; gap: 1rem; }
    .secteur-content h3 { font-size: 1.5rem; }
}

/* ===================================================
   PRINT STYLES
   =================================================== */
@media print {
    .navbar, .whatsapp-float, .scroll-indicator { display: none; }
    body { color: #000; background: #fff; }
    .hero { min-height: auto; background: var(--navy) !important; }
}
