/* ==========================================
   1. CHARTE GRAPHIQUE & STYLES DE BASE
   (Mis à jour avec les couleurs exactes du logo)
   ========================================== */
:root {
    /* Palette issue exactement du logo */
    --primary-blue: #3B7BBF;       /* Bleu ROI du mot Harmattan */
    --dark-blue: #1C3D5A;          /* Bleu marine de l'anneau orbital */
    --deep-purple: #162C40;        /* Bleu nuit très foncé pour bannières */
    --accent-gold: #F47B20;        /* Orange vif de Global Solutions */
    --accent-orange: #E0670D;      /* Orange légèrement plus foncé au survol */
    --accent-dark-gold: #F47B20;   /* Rappel orange */

    /* Neutres */
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #F4F7FA;
    --white: #FFFFFF;

    /* Ombres & Transitions */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Share Tech', 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 90px 0;
}

/* Décalage pour les pages sans bannière hero (le header étant fixé) */
.page-top-offset {
    padding-top: 120px;
}

/* En-têtes de sections */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header .subtitle {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 15px auto 0;
    font-size: 1.1rem;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ==========================================
   2. BARRE DE NAVIGATION (HEADER)
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14);
}

.header.scrolled .navbar {
    height: 68px;
}

.header.scrolled .logo img {
    height: 42px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    gap: 40px;
    transition: height 0.3s ease;
}

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

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-fallback .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-text .brand-sub {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* ==========================================
   3. BANNIÈRE HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(140deg, rgba(28, 61, 90, 0.92) 0%, rgba(59, 123, 191, 0.88) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 85px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   BANNIÈRE DÉFILANTE DES APPLICATIONS (ACCUEIL)
   ========================================== */
.apps-marquee-section {
    padding: 80px 0 90px;
    background: var(--bg-light);
}

.marquee-viewport {
    display: block;
    position: relative;
    overflow: hidden;
}

.marquee-viewport::before,
.marquee-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-light), transparent);
}

.marquee-viewport::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-light), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-viewport:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
}

.marquee-logo,
.marquee-text-chip {
    flex-shrink: 0;
    height: 90px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.marquee-logo {
    width: 160px;
    padding: 14px 18px;
}

.marquee-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.marquee-text-chip {
    padding: 0 30px;
    font-family: 'Share Tech', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-blue);
    white-space: nowrap;
}

.marquee-logo:hover,
.marquee-text-chip:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ==========================================
   GRILLE STATIQUE DES APPLICATIONS (SOLUTIONS)
   ========================================== */
.apps-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.apps-static-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex: 0 1 150px;
    background: var(--white);
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: var(--transition);
}

.apps-static-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.apps-static-logo {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-static-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.apps-static-logo-text {
    font-family: 'Share Tech', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.apps-static-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-blue);
    text-align: center;
}

/* ==========================================
   SECTION COLLABORATEURS (QUI SOMMES-NOUS)
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.team-photo {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(59, 123, 191, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--dark-blue);
    margin-bottom: 6px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-role {
    display: block;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   4. SECTION QUI SOMMES-NOUS ?
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-blue);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.about-card.accent {
    border-top-color: var(--accent-gold);
}

.about-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(59, 123, 191, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.about-card.accent .about-icon {
    background-color: rgba(244, 123, 32, 0.15);
    color: var(--accent-gold);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.about-card p + p {
    margin-top: 12px;
}

/* Banner Présentation Équipe */
.team-intro {
    background: linear-gradient(135deg, var(--dark-blue), var(--deep-purple));
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
    margin-top: 50px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.team-intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.team-intro-photo {
    height: 100%;
    min-height: 260px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.team-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-intro-title h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    line-height: 1.3;
}

.team-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.team-intro-text p + p {
    margin-top: 15px;
}

/* ==========================================
   5. SECTION POURQUOI HARMATTAN ?
   ========================================== */
.why-us {
    background-color: var(--bg-light);
}

.why-hero-banner {
    position: relative;
    min-height: 420px;
    padding-top: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(140deg, rgba(28, 61, 90, 0.82) 0%, rgba(22, 44, 64, 0.88) 100%), url('pourquoi-1.jpg') center/cover no-repeat;
}

@media (min-width: 993px) {
    .why-hero-banner {
        background-attachment: fixed;
    }
}

.why-hero-banner .subtitle {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
    animation: whyBannerIn 0.6s ease both;
}

.why-hero-banner h2 {
    font-size: 2.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: whyBannerIn 0.7s ease both 0.1s;
}

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

.why-content {
    padding-top: 60px;
    padding-bottom: 90px;
}

.why-tabs {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}

.why-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 110px;
}

.why-tab {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 16px 20px;
    border-radius: 12px;
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.why-tab i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(59, 123, 191, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.why-tab span {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.35;
    transition: var(--transition);
}

.why-tab:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.why-tab:hover i {
    transform: scale(1.15) rotate(-8deg);
}

.why-tab.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    box-shadow: var(--shadow-md);
}

.why-tab.active i {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
    animation: whyIconPulse 2s ease-in-out infinite;
}

.why-tab.active span {
    color: var(--white);
}

@keyframes whyIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

.why-tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent-gold);
}

.why-tab.active .why-tab-progress {
    animation-name: whyTabProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes whyTabProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.why-tabs-content {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
    min-height: 340px;
}

.why-tab-panel {
    display: none;
    animation: whyTabIn 0.45s cubic-bezier(0.25, 0.8, 0.4, 1);
}

.why-tab-panel.active {
    display: block;
}

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

.why-tab-panel-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(59, 123, 191, 0.25);
    animation: whyIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes whyIconPop {
    from {
        transform: scale(0.4);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.why-tab-panel h3 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 18px;
}

.why-tab-panel p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ==========================================
   6. SECTION SOLUTIONS & SERVICES
   ========================================== */
.identity-banner {
    background: linear-gradient(135deg, var(--dark-blue), var(--deep-purple));
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 35px;
    align-items: center;
}

.identity-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 35px;
    align-items: center;
}

.identity-photo {
    height: 100%;
    min-height: 220px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.identity-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.identity-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
}

.identity-text h3 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.identity-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.mv-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
}

.intro-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.intro-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 16.66%;
    right: 16.66%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold), var(--dark-blue));
    z-index: 0;
}

.intro-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-step-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Share Tech', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.intro-step-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.intro-step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.intro-step-card i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: block;
}

.intro-step-card h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.intro-step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   7. SECTION DOMAINES D'EXPERTISE
   ========================================== */
.domains-panel {
    background: linear-gradient(140deg, var(--dark-blue) 0%, var(--deep-purple) 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
    margin-top: 50px;
    box-shadow: var(--shadow-md);
}

.domains-panel .section-header h2 {
    color: var(--white);
}

.domains-panel .section-header p {
    color: rgba(255,255,255,0.8);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.domain-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.domain-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.domain-item i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.domain-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================
   8. SECTION NOS CIBLES
   ========================================== */
.targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.target-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: 15px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.target-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.target-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(59, 123, 191, 0.2);
}

.target-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.target-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   9. SECTION CONTACT
   ========================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-top: 4px;
}

.info-item div h5 {
    font-size: 1rem;
    font-weight: 700;
}

.info-item div p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    padding: 50px 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 123, 191, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   10. PIED DE PAGE (FOOTER)
   ========================================== */
.footer {
    background-color: #0d1e2d;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 25px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

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

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* ==========================================
   11. PAGE NOS SOLUTIONS
   ========================================== */
.page-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-subheader {
    text-align: center;
    margin-bottom: 35px;
}

.section-subheader-spaced {
    margin-top: 70px;
}

.section-subheader h3 {
    display: inline-block;
    font-size: 1.6rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.section-subheader h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subheader p {
    color: var(--text-light);
    margin-top: 10px;
    font-size: 1rem;
}

.solutions-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.solution-category {
    background: linear-gradient(160deg, var(--white) 0%, var(--bg-light) 100%);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-blue);
}

.solution-category:nth-child(3n+2) {
    border-top-color: var(--accent-gold);
}

.solution-category:nth-child(3n+3) {
    border-top-color: var(--dark-blue);
}

.solution-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.solution-category-header i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(59, 123, 191, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.solution-category:hover .solution-category-header i {
    transform: scale(1.15) rotate(8deg);
    background: var(--primary-blue);
    color: var(--white);
}

.solution-category-header h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.solution-item {
    background: rgba(255, 255, 255, 0.6);
    border-left: 3px solid var(--accent-gold);
    border-radius: 10px;
    padding: 18px 22px;
    transition: var(--transition);
}

.solution-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.solution-item h4 {
    font-size: 1.05rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.solution-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.solutions-approach {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-blue), var(--deep-purple));
    color: var(--white);
    border-radius: 20px;
    padding: 45px 50px;
    margin-top: 50px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.solutions-approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: approachShimmer 5s ease-in-out infinite;
}

@keyframes approachShimmer {
    0% {
        left: -60%;
    }
    60%, 100% {
        left: 130%;
    }
}

.solutions-approach h3 {
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.solutions-approach p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto;
}

/* ==========================================
   12. PAGE NOS SERVICES
   ========================================== */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

.service-detail {
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-detail:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.service-detail-header {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 35px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
}

.service-detail-header i:not(.service-detail-chevron) {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(59, 123, 191, 0.2);
    flex-shrink: 0;
}

.service-detail-header h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
}

.service-detail-chevron {
    font-size: 1.1rem !important;
    color: var(--text-light) !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-detail.active .service-detail-chevron {
    transform: rotate(180deg);
    color: var(--accent-gold) !important;
}

.service-detail-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.service-detail.active .service-detail-body {
    grid-template-rows: 1fr;
}

.service-detail-body-inner {
    overflow: hidden;
    padding: 0 40px;
}

.service-detail.active .service-detail-body-inner {
    padding: 0 40px 40px;
}

.service-detail-intro {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-detail h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.service-detail-list {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px 25px;
}

.service-detail-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-detail-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.service-detail-approach {
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-left: 3px solid var(--accent-gold);
}

/* ==========================================
   14. PAGE DÉTAIL APPLICATION
   ========================================== */
.app-page-hero {
    padding: 130px 0 60px;
    background: linear-gradient(135deg, var(--dark-blue), var(--deep-purple));
    color: var(--white);
}

.app-page-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.app-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition);
}

.app-back-link:hover {
    color: var(--accent-gold);
}

.app-page-logo {
    display: inline-flex;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 55px;
    box-shadow: var(--shadow-md);
}

.app-page-logo img {
    height: 160px;
    max-width: 100%;
    display: block;
}

.app-page-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.app-page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    margin-bottom: 8px;
}

.app-page-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.app-page-hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.app-page-hero-image {
    display: flex;
    justify-content: center;
}

.app-page-hero-image img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.app-alt-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.app-alt-block.reverse .app-alt-block-image {
    order: 2;
}

.app-alt-block.reverse .app-alt-block-text {
    order: 1;
}

.app-alt-block-image {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-alt-block-image img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
}

.app-alt-block-text h3 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.app-alt-block-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
}

.app-alt-block-text p:last-child {
    margin-bottom: 0;
}

.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-feature-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.app-feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.app-feature-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(59, 123, 191, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.app-feature-card h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.app-feature-card ul {
    display: grid;
    gap: 9px;
}

.app-feature-card ul li {
    position: relative;
    padding-left: 22px;
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.92rem;
}

.app-feature-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;
}

.app-conclusion {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.app-conclusion p {
    max-width: 750px;
    margin: 0 auto 30px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.app-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.app-cta-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   13. RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .why-hero-banner {
        min-height: 320px;
    }

    .why-tabs {
        grid-template-columns: 1fr;
    }

    .why-tabs-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .why-tab {
        flex-shrink: 0;
        width: 220px;
    }

    .team-intro {
        grid-template-columns: 1fr;
    }

    .team-intro-photo {
        min-height: 220px;
        order: -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-page-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-page-hero-image {
        order: -1;
    }

    .app-alt-block {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }

    .app-alt-block.reverse .app-alt-block-image,
    .app-alt-block.reverse .app-alt-block-text {
        order: 0;
    }
}

@media (max-width: 768px) {
    .team-intro-content {
        grid-template-columns: 1fr;
    }

    .marquee-logo,
    .marquee-text-chip {
        height: 70px;
    }

    .marquee-logo {
        width: 120px;
    }

    .marquee-viewport::before,
    .marquee-viewport::after {
        width: 40px;
    }

    .app-page-hero h1 {
        font-size: 2rem;
    }

    .app-conclusion {
        padding: 35px 25px;
    }

    .why-hero-banner {
        min-height: 260px;
        padding-top: 100px;
    }

    .why-hero-banner h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .page-top-offset {
        padding-top: 100px;
    }

    .why-tabs-content {
        padding: 35px 25px;
    }

    .why-tab span {
        font-size: 0.85rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .identity-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 35px;
    }

    .identity-content {
        grid-template-columns: 1fr;
    }

    .identity-photo {
        min-height: 200px;
        order: -1;
    }

    .identity-icon {
        margin: 0 auto;
    }

    .intro-steps {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .intro-steps::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
